1 //=============================================================================
2 //  profinfo.h     -     Header file for profile info structure.
3 //
4 //  Copyright (c) Microsoft Corporation 2000
5 //  All rights reserved
6 //
7 //=============================================================================
8
9 #ifndef _INC_PROFINFO
10 #define _INC_PROFINFO
11
12 #ifdef __midl
13 #define FAR
14 #define MIDL_STRING [string, unique]
15 #else
16 #define MIDL_STRING
17 #endif  // __midl
18
19 typedef struct _PROFILEINFOA {
20       DWORD           dwSize;                            // Set to sizeof(PROFILEINFO) before calling
21       DWORD           dwFlags;                          // See PI_ flags defined in userenv.h
22       MIDL_STRING LPSTR           lpUserName;                     // User name (required)
23       MIDL_STRING LPSTR           lpProfilePath;                // Roaming profile path (optional, can be NULL)
24       MIDL_STRING LPSTR           lpDefaultPath;                // Default user profile path (optional, can be NULL)
25       MIDL_STRING LPSTR           lpServerName;                  // Validating domain controller name in netbios format (optional, can be NULL but group NT4 style policy won't be applied)
26       MIDL_STRING LPSTR           lpPolicyPath;                  // Path to the NT4 style policy file (optional, can be NULL)
27 #ifdef __midl
28       ULONG_PTR     hProfile;                         // Filled in by the function.  Registry key handle open to the root.
29 #else
30       HANDLE          hProfile;                         // Filled in by the function.  Registry key handle open to the root.
Lines 31 ... 40 are skipped.
41 #ifdef __midl
42       ULONG_PTR     hProfile;                         // Filled in by the function.  Registry key handle open to the root.
43 #else
44       HANDLE          hProfile;                         // Filled in by the function.  Registry key handle open to the root.
45 #endif
46       } PROFILEINFOW, FAR * LPPROFILEINFOW;
47 #ifdef UNICODE
48 typedef PROFILEINFOW PROFILEINFO;
49 typedef LPPROFILEINFOW LPPROFILEINFO;
50 #else
51 typedef PROFILEINFOA PROFILEINFO;
52 typedef LPPROFILEINFOA LPPROFILEINFO;
53 #endif // UNICODE
54
55 #endif  // _INC_PROFINFO
56
57