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
1.1 KiB

  1. /*++
  2. Microsoft Windows
  3. Copyright (C) Microsoft Corporation, 1981 - 1998
  4. Module Name:
  5. security.hxx
  6. Abstract:
  7. see description of security.hxx
  8. Author:
  9. Rahul Thombre (RahulTh) 9/28/1998
  10. Revision History:
  11. 9/28/1998 RahulTh Created this module.
  12. --*/
  13. #ifndef __SECURITY_HXX__
  14. #define __SECURITY_HXX__
  15. NTSTATUS LoadSidAuthFromString (const WCHAR* pString,
  16. PSID_IDENTIFIER_AUTHORITY pSidAuth);
  17. NTSTATUS AllocateAndInitSidFromString (const WCHAR* pSidStr, PSID pSid);
  18. NTSTATUS GetFriendlyNameFromStringSid (const WCHAR* pString,
  19. CString& szDir,
  20. CString& szAcct
  21. );
  22. NTSTATUS GetFriendlyNameFromSid (PSID pSid,
  23. CString& szDir,
  24. CString& szAcct,
  25. SID_NAME_USE* peUse);
  26. NTSTATUS GetStringFromSid (PSID pSid, CString& szStringSid);
  27. #endif //__SECURITY_HXX__