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.
Unregisters the specified window so that it receives no further session change notifications.
Syntax
BOOL WTSUnRegisterSessionNotification(
[in] HWND hWnd
);
Parameters
[in] hWnd
Handle of the window to be unregistered from receiving session notifications.
Return value
If the function succeeds, the return value is TRUE. Otherwise, it is FALSE. To get extended error information, call GetLastError.
Remarks
This function must be called once for every call to the WTSRegisterSessionNotification function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wtsapi32.h |
Library | Wtsapi32.lib |
DLL | Wtsapi32.dll |
API set | ext-ms-win-session-wtsapi32-l1-1-0 (introduced in Windows 8) |