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.
46 lines
824 B
46 lines
824 B
|
|
#ifndef _ACLPAGE_H
|
|
#define _ACLPAGE_H
|
|
|
|
|
|
//
|
|
// aclpage.h : header file
|
|
// This was originally appropriated from the dnsmgr snap in.
|
|
//
|
|
|
|
class CISecurityInformationWrapper;
|
|
|
|
class CAclEditorPage
|
|
{
|
|
public:
|
|
|
|
~CAclEditorPage();
|
|
|
|
static
|
|
HRESULT CreateInstance( CAclEditorPage ** ppAclPage, LPCTSTR lpszLDAPPath,
|
|
LPCTSTR lpszObjectClass );
|
|
|
|
HPROPSHEETPAGE CreatePage();
|
|
|
|
private:
|
|
|
|
CAclEditorPage();
|
|
|
|
HRESULT Initialize( LPCTSTR lpszLDAPPath, LPCTSTR lpszObjectClass );
|
|
|
|
static BOOL IsReadOnly( LPCTSTR lpszLDAPPath );
|
|
|
|
//
|
|
// data
|
|
//
|
|
|
|
CISecurityInformationWrapper* m_pISecInfoWrap;
|
|
|
|
friend class CISecurityInformationWrapper;
|
|
};
|
|
|
|
|
|
typedef HPROPSHEETPAGE (WINAPI *ACLUICREATESECURITYPAGEPROC) (LPSECURITYINFO);
|
|
|
|
|
|
#endif //_ACLPAGE_H
|