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.

65 lines
1.1 KiB

  1. #ifdef __cplusplus
  2. extern "C" {
  3. #endif
  4. HRESULT
  5. ConvertSecDescriptorToVariant(
  6. LPWSTR pszServerName,
  7. CCredentials& Credentials,
  8. PSECURITY_DESCRIPTOR pSecurityDescriptor,
  9. VARIANT * pVarSec,
  10. BOOL fNTDS
  11. );
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. HRESULT
  16. ConvertSidToFriendlyName(
  17. LPWSTR pszServerName,
  18. CCredentials& Credentials,
  19. PSID pSid,
  20. LPWSTR * ppszAccountName,
  21. BOOL fNTDS
  22. );
  23. HRESULT
  24. ConvertSidToFriendlyName2(
  25. LPWSTR pszServerName,
  26. CCredentials& Credentials,
  27. PSID pSid,
  28. LPWSTR * ppszAccountName,
  29. BOOL fNTDS
  30. );
  31. HRESULT
  32. ConvertACLToVariant(
  33. LPWSTR pszServerName,
  34. CCredentials& Credentials,
  35. PACL pACL,
  36. PVARIANT pvarACL,
  37. BOOL fNTDS
  38. );
  39. HRESULT
  40. ConvertAceToVariant(
  41. LPWSTR pszServerName,
  42. LPWSTR pszTrusteeName,
  43. CCredentials& Credentials,
  44. PBYTE PBYTE,
  45. PVARIANT pvarAce,
  46. BOOL fNTDS
  47. );
  48. HRESULT
  49. ConvertSidToU2Trustee(
  50. LPWSTR pszServerName,
  51. CCredentials& Credentials,
  52. PSID pSid,
  53. LPWSTR szTrustee
  54. );
  55.