ReactOS
0.4.16-dev-61-ge128cbc
aclhistory.h
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Shell
3
* LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
4
* PURPOSE: Implement CLSID_ACLHistory for auto-completion
5
* COPYRIGHT: Copyright 2021 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6
*/
7
8
#pragma once
9
10
class
CACLHistory
11
:
public
CComCoClass<CACLHistory, &CLSID_ACLHistory>
12
,
public
CComObjectRootEx<CComMultiThreadModelNoCS>
13
,
public
IEnumString
14
{
15
public
:
16
CACLHistory
();
17
virtual
~CACLHistory
();
18
19
// *** IEnumString methods ***
20
STDMETHODIMP
Next
(
ULONG
celt,
LPOLESTR
*rgelt,
ULONG
*pceltFetched)
override
;
21
STDMETHODIMP
Skip
(
ULONG
celt)
override
;
22
STDMETHODIMP
Reset
()
override
;
23
STDMETHODIMP
Clone
(
IEnumString
**ppenum)
override
;
24
25
public
:
26
DECLARE_REGISTRY_RESOURCEID
(
IDR_ACLHISTORY
)
27
DECLARE_NOT_AGGREGATABLE
(
CACLHistory
)
28
29
DECLARE_PROTECT_FINAL_CONSTRUCT
()
30
31
BEGIN_COM_MAP
(
CACLHistory
)
32
COM_INTERFACE_ENTRY_IID
(
IID_IEnumString
,
IEnumString
)
33
END_COM_MAP
()
34
};
STDMETHODIMP
#define STDMETHODIMP
Definition:
basetyps.h:43
CACLHistory
Definition:
aclhistory.h:14
CACLHistory::Clone
STDMETHODIMP Clone(IEnumString **ppenum) override
Definition:
aclhistory.cpp:45
CACLHistory::~CACLHistory
virtual ~CACLHistory()
Definition:
aclhistory.cpp:15
CACLHistory::Next
STDMETHODIMP Next(ULONG celt, LPOLESTR *rgelt, ULONG *pceltFetched) override
Definition:
aclhistory.cpp:20
CACLHistory::Reset
STDMETHODIMP Reset() override
Definition:
aclhistory.cpp:33
CACLHistory::Skip
STDMETHODIMP Skip(ULONG celt) override
Definition:
aclhistory.cpp:39
CACLHistory::CACLHistory
CACLHistory()
Definition:
aclhistory.cpp:10
IDR_ACLHISTORY
#define IDR_ACLHISTORY
Definition:
resource.h:112
IEnumString
Definition:
objidl.idl:677
BEGIN_COM_MAP
#define BEGIN_COM_MAP(x)
Definition:
atlcom.h:581
COM_INTERFACE_ENTRY_IID
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition:
atlcom.h:601
DECLARE_PROTECT_FINAL_CONSTRUCT
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition:
atlcom.h:679
DECLARE_NOT_AGGREGATABLE
#define DECLARE_NOT_AGGREGATABLE(x)
Definition:
atlcom.h:651
DECLARE_REGISTRY_RESOURCEID
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition:
atlcom.h:645
END_COM_MAP
#define END_COM_MAP()
Definition:
atlcom.h:592
LPOLESTR
static LPOLESTR
Definition:
stg_prop.c:27
IID_IEnumString
const GUID IID_IEnumString
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
dll
win32
browseui
aclhistory.h
Generated on Fri Sep 20 2024 06:03:32 for ReactOS by
1.9.6