2 * Shell AutoComplete list
4 * Copyright 2015 Thomas Faber
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 CACListISF::CACListISF() :
28 CACListISF::~CACListISF()
32 // *** IEnumString methods ***
33 HRESULT STDMETHODCALLTYPE
CACListISF::Next(ULONG celt
, LPOLESTR
*rgelt
, ULONG
*pceltFetched
)
35 TRACE("(%p, %d, %p, %p)\n", this, celt
, rgelt
, pceltFetched
);
39 HRESULT STDMETHODCALLTYPE
CACListISF::Reset()
41 TRACE("(%p)\n", this);
45 HRESULT STDMETHODCALLTYPE
CACListISF::Skip(ULONG celt
)
47 TRACE("(%p, %d)\n", this, celt
);
51 HRESULT STDMETHODCALLTYPE
CACListISF::Clone(IEnumString
**ppOut
)
53 TRACE("(%p, %p)\n", this, ppOut
);
58 // *** IACList methods ***
59 HRESULT STDMETHODCALLTYPE
CACListISF::Expand(LPCOLESTR pszExpand
)
61 TRACE("(%p, %ls)\n", this, pszExpand
);
65 // *** IACList2 methods ***
66 HRESULT STDMETHODCALLTYPE
CACListISF::SetOptions(DWORD dwFlag
)
68 TRACE("(%p, %lu)\n", this, dwFlag
);
73 HRESULT STDMETHODCALLTYPE
CACListISF::GetOptions(DWORD
* pdwFlag
)
75 TRACE("(%p, %p)\n", this, pdwFlag
);
76 *pdwFlag
= m_dwOptions
;
80 // *** IShellService methods ***
81 HRESULT STDMETHODCALLTYPE
CACListISF::SetOwner(IUnknown
*punkOwner
)
83 TRACE("(%p, %p)\n", this, punkOwner
);
87 // *** IPersist methods ***
88 HRESULT STDMETHODCALLTYPE
CACListISF::GetClassID(CLSID
*pClassID
)
90 TRACE("(%p, %p)\n", this, pClassID
);
93 *pClassID
= CLSID_ACListISF
;
97 // *** IPersistFolder methods ***
98 HRESULT STDMETHODCALLTYPE
CACListISF::Initialize(LPCITEMIDLIST pidl
)
100 TRACE("(%p, %p)\n", this, pidl
);