Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.5 KiB

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