Funzione WTSUnRegisterSessionNotification (wtsapi32.h)

Annulla la registrazione della finestra specificata in modo che non riceva ulteriori notifiche di modifica della sessione.

Sintassi

BOOL WTSUnRegisterSessionNotification(
  [in] HWND hWnd
);

Parametri

[in] hWnd

Handle della finestra da annullare la registrazione dalla ricezione delle notifiche della sessione.

Valore restituito

Se la funzione ha esito positivo, il valore restituito è TRUE. In caso contrario, è FALSE. Per informazioni dettagliate sull'errore, chiamare GetLastError.

Commenti

Questa funzione deve essere chiamata una sola volta per ogni chiamata alla funzione WTSRegisterSessionNotification .

Requisiti

Requisito Valore
Client minimo supportato Windows Vista
Server minimo supportato Windows Server 2008
Piattaforma di destinazione Windows
Intestazione wtsapi32.h
Libreria Wtsapi32.lib
DLL Wtsapi32.dll
Set di API ext-ms-win-session-wtsapi32-l1-1-0 (introdotta in Windows 8)

Vedi anche

WTSRegisterSessionNotification

WTSUnRegisterSessionNotificationEx