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.

45 lines
957 B

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. wspriv.h
  5. Abstract:
  6. This module contains the macros, user defined structures & function
  7. definitions needed by whoami.cpp, wsuser.cpp, wssid.cpp and
  8. wspriv.cppfiles.
  9. Authors:
  10. Christophe Robert
  11. Revision History:
  12. 02-July-2001 : Updated by Wipro Technologies.
  13. --*/
  14. #ifndef WSPRIV_H
  15. #define WSPRIV_H
  16. ;
  17. class WsPrivilege {
  18. protected:
  19. LUID Luid ;
  20. DWORD Attributes ;
  21. public:
  22. WsPrivilege ( IN LUID Luid,
  23. IN DWORD Attributes ) ;
  24. WsPrivilege ( IN LUID_AND_ATTRIBUTES *lpLuaa ) ;
  25. DWORD GetDisplayName ( OUT LPWSTR wszPrivName,
  26. OUT LPWSTR wszPrivDisplayName) ;
  27. DWORD GetName ( OUT LPWSTR wszPrivName ) ;
  28. BOOL IsEnabled ( VOID ) ;
  29. } ;
  30. #endif