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.

43 lines
1.2 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*******************************************************************************
  3. *
  4. * security.h
  5. *
  6. * header file for WinStation ACL editing functions
  7. *
  8. * copyright notice: Copyright 1995, Citrix Systems Inc.
  9. *
  10. * $Author: butchd $ Butch Davis
  11. *
  12. * $Log: N:\NT\PRIVATE\UTILS\CITRIX\WINUTILS\WINCFG\VCS\SECURITY.H $
  13. *
  14. * Rev 1.4 19 Sep 1996 15:58:46 butchd
  15. * update
  16. *
  17. *******************************************************************************/
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. /*
  22. * Security helper public function prototypes
  23. */
  24. BOOL CallPermissionsDialog( HWND hwnd, BOOL bAdmin, PWINSTATIONNAME pWSName );
  25. DWORD GetWinStationSecurityA( PWINSTATIONNAMEA pWSName,
  26. PSECURITY_DESCRIPTOR *ppSecurityDescriptor );
  27. DWORD GetWinStationSecurityW( PWINSTATIONNAMEW pWSName,
  28. PSECURITY_DESCRIPTOR *ppSecurityDescriptor );
  29. #ifdef UNICODE
  30. #define GetWinStationSecurity GetWinStationSecurityW
  31. #else
  32. #define GetWinStationSecurity GetWinStationSecurityA
  33. #endif
  34. DWORD GetDefaultWinStationSecurity( PSECURITY_DESCRIPTOR *ppSecurityDescriptor );
  35. void FreeSecurityStrings();
  36. #ifdef __cplusplus
  37. }
  38. #endif