Leaked source code of windows server 2003
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.

54 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. usrprop.h
  5. Abstract:
  6. This is the public include file for some of the functions used by
  7. User Manager and Server Manager.
  8. Author:
  9. Congpa You 02-Dec-1993 Created.
  10. Revision History:
  11. --*/
  12. #ifndef _USRPROP_H_
  13. #define _USRPROP_H_
  14. #define USER_PROPERTY_SIGNATURE L'P'
  15. #define NO_LIMIT 0xffff
  16. #define USER_PROPERTY_TYPE_ITEM 1
  17. #define USER_PROPERTY_TYPE_SET 2
  18. NTSTATUS
  19. SetUserProperty(
  20. IN LPWSTR UserParms,
  21. IN LPWSTR Property,
  22. IN UNICODE_STRING PropertyValue,
  23. IN WCHAR PropertyFlag,
  24. IN BOOL fDefaultValue,
  25. OUT LPWSTR * pNewUserParms, // memory has to be freed after use.
  26. OUT BOOL * Update
  27. );
  28. NTSTATUS
  29. QueryUserProperty (
  30. IN LPWSTR UserParms,
  31. IN LPWSTR Property,
  32. OUT PWCHAR PropertyFlag,
  33. OUT PUNICODE_STRING PropertyValue
  34. );
  35. #endif // _USRPROP_H_