diff --git a/sdk-api-src/content/winwlx/ns-winwlx-wlx_profile_v2_0.md b/sdk-api-src/content/winwlx/ns-winwlx-wlx_profile_v2_0.md index 7b92e46724aa..b032cffcdab5 100644 --- a/sdk-api-src/content/winwlx/ns-winwlx-wlx_profile_v2_0.md +++ b/sdk-api-src/content/winwlx/ns-winwlx-wlx_profile_v2_0.md @@ -69,60 +69,45 @@ Must be set to WLX_PROFILE_TYPE_V2_0. Pointer to the profile path (for example, "%SystemRoot%\system32\config\AprilM001", or a network path such as "\\server\share\profiles\floating\AprilM.usr"). - - - -The string pointed to by pszProfile must be separately allocated by your GINA DLL. It will be deallocated by Winlogon. +The string pointed to by pszProfile must be separately allocated by your GINA DLL, using LocalAlloc. It will be deallocated by Winlogon. ### -field pszPolicy Pointer to the policy file that will be applied to the user logging on. - - - -The string pointed to by pszPolicy must be separately allocated by your GINA DLL. It will be deallocated by Winlogon. +The string pointed to by pszPolicy must be separately allocated by your GINA DLL, using LocalAlloc. It will be deallocated by Winlogon. ### -field pszNetworkDefaultUserProfile If a new profile is to be created, a pointer to the path of the default profile to use. - - - -The string pointed to by pszNetworkDefaultUserProfile must be separately allocated by your GINA DLL. It will be deallocated by Winlogon. +The string pointed to by pszNetworkDefaultUserProfile must be separately allocated by your GINA DLL, using LocalAlloc. It will be deallocated by Winlogon. ### -field pszServerName Pointer to the name of the server that validated the logon. This name will be used to enumerate the global groups of which the user is a member. - - - -The string pointed to by pszServerName must be separately allocated by your GINA DLL. It will be deallocated by Winlogon. +The string pointed to by pszServerName must be separately allocated by your GINA DLL, using LocalAlloc. It will be deallocated by Winlogon. ### -field pszEnvironment Pointer to the default environment variables to include in the construction of the environment of the user. This member is a series of null-terminated strings using any of the following forms. - ```cpp Variable=Value variable=%other variable% variable=%othervariable%\additional text - ``` - For example: - ```cpp logonServer=\\pdc homepath=%logonServer%\share - ``` +This buffer must be separately allocated by your GINA DLL, using LocalAlloc. It will be deallocated by Winlogon. + ## -remarks This structure is returned to Winlogon by your GINA DLL. @@ -132,4 +117,4 @@ Your GINA DLL may use two structures to provide profile information: WLX_PROF ## -see-also -WLX_PROFILE_V1_0 \ No newline at end of file +WLX_PROFILE_V1_0