xref: /reactos/dll/win32/browseui/aclhistory.cpp (revision 1de09c47)
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 
10 CACLHistory::CACLHistory()
11 {
12     TRACE("CACLHistory::CACLHistory(%p)\n", this);
13 }
14 
15 CACLHistory::~CACLHistory()
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 
33 STDMETHODIMP CACLHistory::Reset()
34 {
35     FIXME("CACLHistory::Reset(%p): stub\n", this);
36     return S_OK;
37 }
38 
39 STDMETHODIMP CACLHistory::Skip(ULONG celt)
40 {
41     TRACE("CACLHistory::Clone(%p, %lu)\n", this, celt);
42     return E_NOTIMPL;
43 }
44 
45 STDMETHODIMP CACLHistory::Clone(IEnumString **ppenum)
46 {
47     FIXME("CACLHistory::Clone(%p, %p): stub\n", this, ppenum);
48     if (ppenum)
49         *ppenum = NULL;
50     return E_NOTIMPL;
51 }
52