NTSTATUS
SepReferenceLogonSession(
  IN  PLUID LogonId,
  OUT PSEP_LOGON_SESSION_REFERENCES *ReturnSession
  );

Routine Description:

    This routine increments the reference count of a logon session
    tracking record.



Arguments:

    LogonId - Pointer to the logon session ID whose logon track is
        to be incremented.

    ReturnSession - The found session is returned here on success.

Return Value:

    STATUS_SUCCESS - The reference count was successfully incremented.

    STATUS_NO_SUCH_LOGON_SESSION - The specified logon session doesn't
        exist in the reference monitor's database.