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.
 
 
 
 
 
 

45 lines
1.0 KiB

/*++
Microsoft Windows
Copyright (C) Microsoft Corporation, 1981 - 1998
Module Name:
security.hxx
Abstract:
see description of security.hxx
Author:
Rahul Thombre (RahulTh) 9/28/1998
Revision History:
9/28/1998 RahulTh Created this module.
--*/
#ifndef __SECURITY_HXX__
#define __SECURITY_HXX__
NTSTATUS LoadSidAuthFromString (const WCHAR* pString,
PSID_IDENTIFIER_AUTHORITY pSidAuth);
NTSTATUS AllocateAndInitSidFromString (const WCHAR* pSidStr, PSID pSid);
NTSTATUS GetFriendlyNameFromStringSid (const WCHAR* pString,
CString& szDir,
CString& szAcct
);
NTSTATUS GetFriendlyNameFromSid (PSID pSid,
CString& szDir,
CString& szAcct,
SID_NAME_USE* peUse);
NTSTATUS GetStringFromSid (PSID pSid, CString& szStringSid);
#endif //__SECURITY_HXX__