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
842 B

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // textsid.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // This file declares functions for converting Security Indentifiers (SIDs)
  12. // to and from a textual representation.
  13. //
  14. // MODIFICATION HISTORY
  15. //
  16. // 01/18/1998 Original version.
  17. //
  18. ///////////////////////////////////////////////////////////////////////////////
  19. #ifndef _TEXTSID_H_
  20. #define _TEXTSID_H_
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. DWORD
  25. WINAPI
  26. IASSidToTextW(
  27. IN PSID pSid,
  28. OUT PWSTR szTextualSid,
  29. IN OUT PDWORD pdwBufferLen
  30. );
  31. DWORD
  32. WINAPI
  33. IASSidFromTextW(
  34. IN PCWSTR szTextualSid,
  35. OUT PSID *pSid
  36. );
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif // _TEXTSID_H_