funzione di callback PWLX_CREATE_USER_DESKTOP (winwlx.h)

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

Chiamato da GINA per creare desktop applicazione alternativi per l'utente.

Nota Le DLL GINA vengono ignorate in Windows Vista.
 

Sintassi

PWLX_CREATE_USER_DESKTOP PwlxCreateUserDesktop;

BOOL PwlxCreateUserDesktop(
  [in]  HANDLE hWlx,
  [in]  HANDLE hToken,
  [in]  DWORD Flags,
  [in]  PWSTR pszDesktopName,
  [out] PWLX_DESKTOP *ppDesktop
)
{...}

Parametri

[in] hWlx

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

[in] hToken

Specifica l'handle per il token dell'utente per il quale viene creato il desktop.

[in] Flags

Specifica l'accesso al desktop. Specificare una delle opzioni seguenti.

Valore Significato
WLX_CREATE_INSTANCE_ONLY
Specifica che solo questa istanza dell'utente ha accesso.
WLX_CREATE_USER
Specifica che qualsiasi istanza di questo utente ha accesso.

[in] pszDesktopName

Specifica il nome del desktop da creare.

[out] ppDesktop

Se il desktop viene creato, restituisce un puntatore a una struttura WLX_DESKTOP per il nuovo desktop. Questo puntatore può essere usato in una chiamata a WlxSetReturnDesktop per rendere il desktop corrente dopo l'elaborazione di un evento sas .

Valore restituito

La funzione WlxCreateUserDesktop restituisce uno dei valori seguenti.

Codice restituito Descrizione
TRUE
Il desktop è stato creato.
FALSE
Il desktop non è stato creato.

Requisiti

   
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

WlxInitialize

WlxSetReturnDesktop