ReactOS  0.4.15-dev-3175-g222acf5
aclhistory.cpp
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 #include "precomp.h"
9 
11 {
12  TRACE("CACLHistory::CACLHistory(%p)\n", this);
13 }
14 
16 {
17  TRACE("CACLHistory::~CACLHistory(%p)\n", this);
18 }
19 
20 STDMETHODIMP CACLHistory::Next(ULONG celt, LPOLESTR *rgelt, ULONG *pceltFetched)
21 {
22  FIXME("CACLHistory::Next(%p, %lu, %p, %p): stub\n", this, celt, rgelt, pceltFetched);
23  if (pceltFetched)
24  *pceltFetched = 0;
25  if (rgelt)
26  *rgelt = NULL;
27  if (celt != 1)
28  return E_NOTIMPL;
29  // FIXME: *rgelt, *pceltFetched, return value
30  return S_FALSE;
31 }
32 
34 {
35  FIXME("CACLHistory::Reset(%p): stub\n", this);
36  return S_OK;
37 }
38 
40 {
41  TRACE("CACLHistory::Clone(%p, %lu)\n", this, celt);
42  return E_NOTIMPL;
43 }
44 
46 {
47  FIXME("CACLHistory::Clone(%p, %p): stub\n", this, ppenum);
48  if (ppenum)
49  *ppenum = NULL;
50  return E_NOTIMPL;
51 }
STDMETHODIMP Skip(ULONG celt) override
Definition: aclhistory.cpp:39
static LPOLESTR
Definition: stg_prop.c:27
STDMETHODIMP Clone(IEnumString **ppenum) override
Definition: aclhistory.cpp:45
#define FIXME(fmt,...)
Definition: debug.h:111
#define STDMETHODIMP
Definition: basetyps.h:43
#define S_FALSE
Definition: winerror.h:2357
#define TRACE(s)
Definition: solgame.cpp:4
virtual ~CACLHistory()
Definition: aclhistory.cpp:15
#define S_OK
Definition: intsafe.h:52
#define E_NOTIMPL
Definition: ddrawi.h:99
#define NULL
Definition: types.h:112
unsigned int ULONG
Definition: retypes.h:1
STDMETHODIMP Next(ULONG celt, LPOLESTR *rgelt, ULONG *pceltFetched) override
Definition: aclhistory.cpp:20
STDMETHODIMP Reset() override
Definition: aclhistory.cpp:33