Platform SDK: Logon Authentication |
The WlxActivateUserShell function must be implemented by a replacement GINA DLL. Winlogon calls this function following a successful logon to request that the GINA activate the user's shell program.
BOOL WlxActivateUserShell( PVOID pWlxContext, PWSTR pszDesktopName, PWSTR pszMprLogonScript, PVOID pEnvironment );
Before calling WlxActivateUserShell, Winlogon sets the desktop and workstation states as follows.
Sets the | So that |
---|---|
Desktop state | The current desktop is the Winlogon desktop. |
Workstation state | The desktop is locked. |
Always activate the user shell program in WlxActivateUserShell rather than WlxLoggedOutSAS. This gives Winlogon a chance to update its state, including setting workstation and desktop protections, before any logged-on user processes are allowed to run.
For an example of | See |
---|---|
WlxActivateUserShell | Implementing WlxActivateUserShell |
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Unsupported.
Version: Requires version 1.0.
Header: Declared in Winwlx.h.
Unicode: Implemented only as Unicode.