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.

38 lines
764 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1997.
  5. //
  6. // File: sec2var.hxx
  7. //
  8. // Contents: Security routines
  9. //
  10. // Functions:
  11. //
  12. // History: 25-Apr-97 KrishnaG Created.
  13. //
  14. //----------------------------------------------------------------------------
  15. HRESULT
  16. ConvertSecDescriptorToVariant(
  17. PSECURITY_DESCRIPTOR pSecurityDescriptor,
  18. VARIANT * pVarSec
  19. );
  20. HRESULT
  21. ConvertSidToFriendlyName(
  22. PSID pSid,
  23. LPWSTR * ppszAccountName
  24. );
  25. HRESULT
  26. ConvertACLToVariant(
  27. PACL pACL,
  28. PVARIANT pvarACL
  29. );
  30. HRESULT
  31. ConvertAceToVariant(
  32. PBYTE PBYTE,
  33. PVARIANT pvarAce
  34. );