Export (0) Print
Expand All
Expand Minimize

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

Minimum supported server

Windows Server 2003

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

See also

WTSRegisterSessionNotification
WTSUnRegisterSessionNotificationEx

 

 

Show:
© 2014 Microsoft