ReactOS  0.4.14-dev-1007-g90d795b
SecurityDescriptor.h
Go to the documentation of this file.
1 //
2 // SecurityDescriptor.h: interface for the CSecurityDescriptor class.
3 //
5 
6 #if !defined(SECURITYDESCRIPTOR_H__71D0A7E6_8A00_11D3_9103_204C4F4F5020__INCLUDED_)
7 #define SECURITYDESCRIPTOR_H__71D0A7E6_8A00_11D3_9103_204C4F4F5020__INCLUDED_
8 
10  PSID pSid, // binary Sid
11  LPTSTR TextualSid, // buffer for Textual representation of Sid
12  LPDWORD lpdwBufferLen // required/provided TextualSid buffersize
13  );
14 
15 const TCHAR * GetSidTypeName(SID_NAME_USE Use);
16 
18 {
19 public:
20  void GetCurrentACE_Flags(BYTE& bFlags);
21  void GetCurrentACE_AccessMask(DWORD& dwMask);
24  {
29  };
31  ACEntryType GetSACLEntry(DWORD nIndex, BOOL& blnFailedAccess, BOOL& blnSeccessfulAccess);
35  BOOL HasNULLDACL();
37  BOOL HasNULLSACL();
42  void AssociateDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor);
44  virtual ~CSecurityDescriptor();
45 private:
54 };
55 
56 #endif // !defined(SECURITYDESCRIPTOR_H__71D0A7E6_8A00_11D3_9103_204C4F4F5020__INCLUDED_)
BOOL GetTextualSid(PSID pSid, LPTSTR TextualSid, LPDWORD lpdwBufferLen)
enum _SID_NAME_USE SID_NAME_USE
CHAR * LPTSTR
Definition: xmlstorage.h:192
unsigned int BOOL
Definition: ntddk_ex.h:94
ACEntryType GetSACLEntry(DWORD nIndex, BOOL &blnFailedAccess, BOOL &blnSeccessfulAccess)
ACEntryType GetDACLEntry(DWORD nIndex)
void AssociateDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor)
char TCHAR
Definition: xmlstorage.h:189
ACE_HEADER * m_pCurrentACEHeader
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned char BYTE
Definition: mem.h:68
const TCHAR * GetSidTypeName(SID_NAME_USE Use)
void GetCurrentACE_AccessMask(DWORD &dwMask)
static PSID pSid
Definition: security.c:74
PSECURITY_DESCRIPTOR m_pSecurityDescriptor
void GetCurrentACE_Flags(BYTE &bFlags)
uint32_t * LPDWORD
Definition: typedefs.h:58