Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WTSUnRegisterSessionNotification

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 Vista

Minimum supported server

Windows Server 2003

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

See also

WTSRegisterSessionNotification
WTSUnRegisterSessionNotificationEx

 

 

Show:
© 2015 Microsoft