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.
 
 
 
 
 
 

50 lines
2.3 KiB

//+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1994 - 2000.
//
// File: rsopsec.h
//
// Contents: used in RSOP mode security pane
//
// Classes: CRSOPSecurityInfo
//
// Functions:
//
// History: 02-15-2000 stevebl Created
//
//---------------------------------------------------------------------------
class CRSOPSecurityInfo : public ISecurityInformation
{
private:
ULONG m_cRef;
CAppData * m_pData;
public:
CRSOPSecurityInfo(CAppData * pData) {m_pData = pData; m_cRef = 1;}
// *** IUnknown methods ***
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid,
LPVOID *ppvObj);
virtual ULONG STDMETHODCALLTYPE AddRef();
virtual ULONG STDMETHODCALLTYPE Release();
virtual HRESULT STDMETHODCALLTYPE MapGeneric(const GUID *pguidObjectType,
UCHAR *pAceFlags,
ACCESS_MASK *pMask);
// *** ISecurityInformation methods ***
virtual HRESULT STDMETHODCALLTYPE GetObjectInformation(PSI_OBJECT_INFO pObjectInfo);
virtual HRESULT STDMETHODCALLTYPE GetSecurity(SECURITY_INFORMATION RequestedInformation,
PSECURITY_DESCRIPTOR *ppSecurityDescriptor, BOOL fDefault);
virtual HRESULT STDMETHODCALLTYPE SetSecurity(SECURITY_INFORMATION SecurityInformation,
PSECURITY_DESCRIPTOR pSecurityDescriptor);
virtual HRESULT STDMETHODCALLTYPE GetAccessRights(const GUID *pguidObjectType,
DWORD dwFlags, PSI_ACCESS *ppAccess,
ULONG *pcAccesses,
ULONG *piDefaultAccess);
virtual HRESULT STDMETHODCALLTYPE GetInheritTypes(PSI_INHERIT_TYPE *ppInheritTypes,
ULONG *pcInheritTypes);
virtual HRESULT STDMETHODCALLTYPE PropertySheetPageCallback(HWND hwnd,
UINT uMsg,
SI_PAGE_TYPE uPage);
};