ReactOS  0.4.15-dev-3291-gea4c1a0
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 
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:
28 
30 
33  END_COM_MAP()
34 };
STDMETHODIMP Skip(ULONG celt) override
Definition: aclhistory.cpp:39
const GUID IID_IEnumString
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:612
static LPOLESTR
Definition: stg_prop.c:27
STDMETHODIMP Clone(IEnumString **ppenum) override
Definition: aclhistory.cpp:45
#define IDR_ACLHISTORY
Definition: resource.h:112
#define STDMETHODIMP
Definition: basetyps.h:43
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:542
virtual ~CACLHistory()
Definition: aclhistory.cpp:15
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition: atlcom.h:606
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:562
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:640
unsigned int ULONG
Definition: retypes.h:1
#define END_COM_MAP()
Definition: atlcom.h:553
STDMETHODIMP Next(ULONG celt, LPOLESTR *rgelt, ULONG *pceltFetched) override
Definition: aclhistory.cpp:20
STDMETHODIMP Reset() override
Definition: aclhistory.cpp:33