Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SeUnregisterLogonSessionTerminatedRoutine routine unregisters a callback routine that was registered by an earlier call to SeRegisterLogonSessionTerminatedRoutine.
Syntax
NTSTATUS SeUnregisterLogonSessionTerminatedRoutine(
[in] PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine
);
Parameters
[in] CallbackRoutine
Address of routine that was originally passed in to SeRegisterLogonSessionTerminatedRoutine.
Return value
SeUnregisterLogonSessionTerminatedRoutine can return one of the following:
| Return code | Description |
|---|---|
|
The callback routine was successfully removed. |
|
The value of CallbackRoutine is NULL. |
|
A list entry could not be found for the callback routine. |
Remarks
Each call to SeRegisterLogonSessionTerminatedRoutine must be matched by a subsequent call to SeUnregisterLogonSessionTerminatedRoutine.
For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Universal |
| Header | ntifs.h (include Ntifs.h) |
| Library | NtosKrnl.lib |
| DLL | NtosKrnl.exe |
| IRQL | PASSIVE_LEVEL |