NTSTATUS
SeMarkLogonSessionForTerminationNotification(
  IN  PLUID LogonId
  );

Routine Description:

    File systems that have registered for logon-termination notification
    can mark logon sessions they are interested in for callback by calling
    this routine.

Arguments:

    LogonId - The logon id for which the file system should be notified
        when the logon session is terminated.

Returns:

    Nothing.