WTSUnRegisterSessionNotification function
Unregisters the specified window so that it receives no further session change notifications.
Syntax
BOOL WTSUnRegisterSessionNotification( _In_ HWND hWnd );
Parameters
- hWnd [in]
-
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
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012