Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 2.63 KB

nf-wtsapi32-wtsunregistersessionnotification.md

File metadata and controls

81 lines (65 loc) · 2.63 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name req.apiset
NF:wtsapi32.WTSUnRegisterSessionNotification
WTSUnRegisterSessionNotification function (wtsapi32.h)
Unregisters the specified window so that it receives no further session change notifications. (WTSUnRegisterSessionNotification)
WTSUnRegisterSessionNotification
WTSUnRegisterSessionNotification function [Remote Desktop Services]
_win32_wtsunregistersessionnotification
termserv.wtsunregistersessionnotification
wtsapi32/WTSUnRegisterSessionNotification
termserv\wtsunregistersessionnotification.htm
TermServ
654e585a-f0b2-45a1-a58d-fe3505b34b61
12/05/2018
WTSUnRegisterSessionNotification, WTSUnRegisterSessionNotification function [Remote Desktop Services], _win32_wtsunregistersessionnotification, termserv.wtsunregistersessionnotification, wtsapi32/WTSUnRegisterSessionNotification
wtsapi32.h
Windows
Windows Vista
Windows Server 2008
Wtsapi32.lib
Wtsapi32.dll
Windows
19H1
WTSUnRegisterSessionNotification
wtsapi32/WTSUnRegisterSessionNotification
c++
APIRef
kbSyntax
DllExport
Wtsapi32.dll
Ext-MS-Win-Session-WtsApi32-l1-1-0.dll
WTSUnRegisterSessionNotification
ext-ms-win-session-wtsapi32-l1-1-0 (introduced in Windows 8)

WTSUnRegisterSessionNotification function

-description

Unregisters the specified window so that it receives no further session change notifications.

-parameters

-param hWnd [in]

Handle of the window to be unregistered from receiving session notifications.

-returns

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.

-see-also

WTSRegisterSessionNotification

WTSUnRegisterSessionNotificationEx