PWLX_CLOSE_USER_DESKTOP funzione di callback (winwlx.h)

[La funzione WlxCloseUserDesktop non è più disponibile per l'uso a partire da Windows Server 2008 e Windows Vista.]

Chiamato da GINA per chiudere un desktop utente alternativo e pulire dopo la chiusura del desktop.

Nota Le DLL GINA vengono ignorate in Windows Vista.
 

Sintassi

PWLX_CLOSE_USER_DESKTOP PwlxCloseUserDesktop;

BOOL PwlxCloseUserDesktop(
  [in] HANDLE hWlx,
  [in] PWLX_DESKTOP pDesktop,
  [in] HANDLE hToken
)
{...}

Parametri

[in] hWlx

Specifica l'handle Winlogon passato a GINA nella chiamata a WlxInitialize .

[in] pDesktop

Specifica un puntatore a una struttura WLX_DESKTOP , ottenuta chiamando la funzione WlxCreateUserDesktop .

[in] hToken

Specifica l'handle per il token dell'utente il cui desktop deve essere chiuso.

Valore restituito

Se la funzione chiude correttamente il desktop, il valore restituito è TRUE.

Se la funzione ha esito negativo, restituisce FALSE.

Commenti

Oltre a chiudere il desktop, questa funzione modificherà l'accesso alla stazione finestra padre per rimuovere gli ACL aggiunti durante la creazione del desktop utente.

Requisiti

Requisito Valore
Client minimo supportato Windows XP [solo app desktop]
Server minimo supportato Windows Server 2003 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione winwlx.h

Vedi anche

WLX_DESKTOP

WlxCreateUserDesktop

WlxInitialize