ReactOS 0.4.15-dev-7670-g69b08be
CMyDocsFolder Class Reference

#include <CMyDocsFolder.h>

Inheritance diagram for CMyDocsFolder:
Collaboration diagram for CMyDocsFolder:

Public Member Functions

 CMyDocsFolder ()
 
 ~CMyDocsFolder ()
 
HRESULT WINAPI FinalConstruct ()
 
virtual HRESULT WINAPI ParseDisplayName (HWND hwndOwner, LPBC pbc, LPOLESTR lpszDisplayName, DWORD *pchEaten, PIDLIST_RELATIVE *ppidl, DWORD *pdwAttributes)
 
virtual HRESULT WINAPI EnumObjects (HWND hwndOwner, DWORD dwFlags, LPENUMIDLIST *ppEnumIDList)
 
virtual HRESULT WINAPI BindToObject (PCUIDLIST_RELATIVE pidl, LPBC pbcReserved, REFIID riid, LPVOID *ppvOut)
 
virtual HRESULT WINAPI BindToStorage (PCUIDLIST_RELATIVE pidl, LPBC pbcReserved, REFIID riid, LPVOID *ppvOut)
 
virtual HRESULT WINAPI CompareIDs (LPARAM lParam, PCUIDLIST_RELATIVE pidl1, PCUIDLIST_RELATIVE pidl2)
 
virtual HRESULT WINAPI CreateViewObject (HWND hwndOwner, REFIID riid, LPVOID *ppvOut)
 
virtual HRESULT WINAPI GetAttributesOf (UINT cidl, PCUITEMID_CHILD_ARRAY apidl, DWORD *rgfInOut)
 
virtual HRESULT WINAPI GetUIObjectOf (HWND hwndOwner, UINT cidl, PCUITEMID_CHILD_ARRAY apidl, REFIID riid, UINT *prgfInOut, LPVOID *ppvOut)
 
virtual HRESULT WINAPI GetDisplayNameOf (PCUITEMID_CHILD pidl, DWORD dwFlags, LPSTRRET strRet)
 
virtual HRESULT WINAPI SetNameOf (HWND hwndOwner, PCUITEMID_CHILD pidl, LPCOLESTR lpName, DWORD dwFlags, PITEMID_CHILD *pPidlOut)
 
virtual HRESULT WINAPI GetDefaultSearchGUID (GUID *pguid)
 
virtual HRESULT WINAPI EnumSearches (IEnumExtraSearch **ppenum)
 
virtual HRESULT WINAPI GetDefaultColumn (DWORD dwRes, ULONG *pSort, ULONG *pDisplay)
 
virtual HRESULT WINAPI GetDefaultColumnState (UINT iColumn, DWORD *pcsFlags)
 
virtual HRESULT WINAPI GetDetailsEx (PCUITEMID_CHILD pidl, const SHCOLUMNID *pscid, VARIANT *pv)
 
virtual HRESULT WINAPI GetDetailsOf (PCUITEMID_CHILD pidl, UINT iColumn, SHELLDETAILS *psd)
 
virtual HRESULT WINAPI MapColumnToSCID (UINT column, SHCOLUMNID *pscid)
 
virtual HRESULT WINAPI GetClassID (CLSID *lpClassId)
 
virtual HRESULT WINAPI Initialize (PCIDLIST_ABSOLUTE pidl)
 
virtual HRESULT WINAPI GetCurFolder (PIDLIST_ABSOLUTE *pidl)
 
STDMETHODIMP GetMaxLength (LPCWSTR pszName, int *piMaxNameLen)
 
STDMETHODIMP GetValidCharacters (LPWSTR *ppwszValidChars, LPWSTR *ppwszInvalidChars)
 
- Public Member Functions inherited from ATL::CComObjectRootEx< CComMultiThreadModelNoCS >
 ~CComObjectRootEx ()
 
ULONG InternalAddRef ()
 
ULONG InternalRelease ()
 
void Lock ()
 
void Unlock ()
 
HRESULT _AtlInitialConstruct ()
 
- Public Member Functions inherited from ATL::CComObjectRootBase
 CComObjectRootBase ()
 
 ~CComObjectRootBase ()
 
void SetVoid (void *)
 
HRESULT _AtlFinalConstruct ()
 
HRESULT FinalConstruct ()
 
void InternalFinalConstructAddRef ()
 
void InternalFinalConstructRelease ()
 
void FinalRelease ()
 
HRESULT GetDefaultSearchGUID ([out] GUID *lpguid)
 
HRESULT EnumSearches ([out] IEnumExtraSearch **ppenum)
 
HRESULT GetDefaultColumn ([in] DWORD dwReserved, [out] ULONG *pSort, [out] ULONG *pDisplay)
 
HRESULT GetDefaultColumnState ([in] UINT iColumn, [out] SHCOLSTATEF *pcsFlags)
 
HRESULT GetDetailsEx ([in] PCUITEMID_CHILD pidl, [in] const SHCOLUMNID *pscid, [out] VARIANT *pv)
 
HRESULT GetDetailsOf ([in] PCUITEMID_CHILD pidl, [in] UINT iColumn, [out] SHELLDETAILS *psd)
 
HRESULT MapColumnToSCID ([in] UINT iColumn, [in] SHCOLUMNID *pscid)
 
- Public Member Functions inherited from IShellFolder
HRESULT ParseDisplayName ([in] HWND hwndOwner, [in] LPBC pbcReserved, [in, string] LPOLESTR lpszDisplayName, [out] ULONG *pchEaten, [out] PIDLIST_RELATIVE *ppidl, [in, out, unique] ULONG *pdwAttributes)
 
HRESULT EnumObjects ([in] HWND hwndOwner, [in] SHCONTF grfFlags, [out] IEnumIDList **ppenumIDList)
 
HRESULT BindToObject ([in] PCUIDLIST_RELATIVE pidl, [in] LPBC pbcReserved, [in] REFIID riid, [out, iid_is(riid)] void **ppvOut)
 
HRESULT BindToStorage ([in] PCUIDLIST_RELATIVE pidl, [in] LPBC pbcReserved, [in] REFIID riid, [out, iid_is(riid)] void **ppvObj)
 
HRESULT CompareIDs ([in] LPARAM lParam, [in] PCUIDLIST_RELATIVE pidl1, [in] PCUIDLIST_RELATIVE pidl2)
 
HRESULT CreateViewObject ([in] HWND hwndOwner, [in] REFIID riid, [out, iid_is(riid)] void **ppvOut)
 
HRESULT GetAttributesOf ([in] UINT cidl, [in, size_is(cidl)] PCUITEMID_CHILD_ARRAY apidl, [in, out] SFGAOF *rgfInOut)
 
HRESULT GetUIObjectOf ([in] HWND hwndOwner, [in] UINT cidl, [in, size_is(cidl)] PCUITEMID_CHILD_ARRAY apidl, [in] REFIID riid, [in, out, unique] UINT *prgfInOut, [out, iid_is(riid)] void **ppvOut)
 
HRESULT GetDisplayNameOf ([in] PCUITEMID_CHILD pidl, [in] SHGDNF uFlags, [out] STRRET *lpName)
 
HRESULT SetNameOf ([in] HWND hwnd, [in] PCUITEMID_CHILD pidl, [in, string] LPCOLESTR lpszName, [in] SHGDNF uFlags, [out] PITEMID_CHILD *ppidlOut)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 
HRESULT GetCurFolder ([out] PIDLIST_ABSOLUTE *ppidl)
 
HRESULT Initialize ([in] PCIDLIST_ABSOLUTE pidl)
 
HRESULT GetClassID ([out] CLSID *pClassID)
 

Private Member Functions

HRESULT EnsureFolder ()
 

Private Attributes

CComPtr< IShellFolder2m_pisfInner
 
LPITEMIDLIST m_pidlInner
 

Additional Inherited Members

- Public Types inherited from IShellFolder2
typedef struct IShellFolder2::SHCOLUMNIDLPSHCOLUMNID
 
typedef const SHCOLUMNIDLPCSHCOLUMNID
 
- Public Types inherited from IShellFolder
enum  tagSHGDN {
  SHGDN_NORMAL = 0 , SHGDN_INFOLDER = 1 , SHGDN_FOREDITING = 0x1000 , SHGDN_INCLUDE_NONFILESYS = 0x2000 ,
  SHGDN_FORADDRESSBAR = 0x4000 , SHGDN_FORPARSING = 0x8000
}
 
enum  tagSHCONTF {
  SHCONTF_FOLDERS = 32 , SHCONTF_NONFOLDERS = 64 , SHCONTF_INCLUDEHIDDEN = 128 , SHCONTF_INIT_ON_FIRST_NEXT = 256 ,
  SHCONTF_NETPRINTERSRCH = 512 , SHCONTF_SHAREABLE = 1024 , SHCONTF_STORAGE = 2048 , SHCONTF_NAVIGATION_ENUM = 0x01000 ,
  SHCONTF_FASTITEMS = 0x02000 , SHCONTF_FLATLIST = 0x04000 , SHCONTF_ENABLE_ASYNC = 0x08000 , SHCONTF_INCLUDESUPERHIDDEN = 0x10000
}
 
typedef IShellFolderLPSHELLFOLDER
 
typedef enum IShellFolder::tagSHGDN SHGNO
 
typedef DWORD SHGDNF
 
typedef DWORD SHCONTF
 
typedef ULONG SFGAOF
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Types inherited from IPersistFolder2
typedef IPersistFolder2LPPERSISTFOLDER2
 
- Public Types inherited from IPersistFolder
typedef IPersistFolderLPPERSISTFOLDER
 
- Public Types inherited from IPersist
typedef IPersistLPPERSIST
 
- Static Public Member Functions inherited from ATL::CComObjectRootBase
static void WINAPI ObjectMain (bool)
 
static const struct _ATL_CATMAP_ENTRYGetCategoryMap ()
 
static HRESULT WINAPI InternalQueryInterface (void *pThis, const _ATL_INTMAP_ENTRY *pEntries, REFIID iid, void **ppvObject)
 
- Public Attributes inherited from ATL::CComObjectRootBase
LONG m_dwRef
 

Detailed Description

Definition at line 25 of file CMyDocsFolder.h.

Constructor & Destructor Documentation

◆ CMyDocsFolder()

CMyDocsFolder::CMyDocsFolder ( )

Definition at line 26 of file CMyDocsFolder.cpp.

27{
29}
LPITEMIDLIST m_pidlInner
Definition: CMyDocsFolder.h:34
#define NULL
Definition: types.h:112

◆ ~CMyDocsFolder()

CMyDocsFolder::~CMyDocsFolder ( )

Definition at line 31 of file CMyDocsFolder.cpp.

32{
33 if(m_pidlInner)
35}
void WINAPI SHFree(LPVOID pv)
Definition: shellole.c:326

Member Function Documentation

◆ BindToObject()

HRESULT WINAPI CMyDocsFolder::BindToObject ( PCUIDLIST_RELATIVE  pidl,
LPBC  pbcReserved,
REFIID  riid,
LPVOID ppvOut 
)
virtual

Definition at line 85 of file CMyDocsFolder.cpp.

86{
88 if (FAILED(hr))
89 return hr;
90
91 return m_pisfInner->BindToObject(pidl, pbcReserved, riid, ppvOut);
92}
HRESULT EnsureFolder()
CComPtr< IShellFolder2 > m_pisfInner
Definition: CMyDocsFolder.h:33
REFIID riid
Definition: atlbase.h:39
#define FAILED(hr)
Definition: intsafe.h:51
HRESULT hr
Definition: shlfolder.c:183

◆ BindToStorage()

HRESULT WINAPI CMyDocsFolder::BindToStorage ( PCUIDLIST_RELATIVE  pidl,
LPBC  pbcReserved,
REFIID  riid,
LPVOID ppvOut 
)
virtual

Definition at line 94 of file CMyDocsFolder.cpp.

95{
97 if (FAILED(hr))
98 return hr;
99
100 return m_pisfInner->BindToStorage(pidl, pbcReserved, riid, ppvOut);
101}

◆ CompareIDs()

HRESULT WINAPI CMyDocsFolder::CompareIDs ( LPARAM  lParam,
PCUIDLIST_RELATIVE  pidl1,
PCUIDLIST_RELATIVE  pidl2 
)
virtual

Implements IShellFolder.

Definition at line 103 of file CMyDocsFolder.cpp.

104{
106 if (FAILED(hr))
107 return hr;
108
109 return m_pisfInner->CompareIDs(lParam, pidl1, pidl2);
110}
LPARAM lParam
Definition: combotst.c:139

◆ CreateViewObject()

HRESULT WINAPI CMyDocsFolder::CreateViewObject ( HWND  hwndOwner,
REFIID  riid,
LPVOID ppvOut 
)
virtual

Definition at line 112 of file CMyDocsFolder.cpp.

113{
115 if (FAILED(hr))
116 return hr;
117
118 return m_pisfInner->CreateViewObject(hwndOwner, riid, ppvOut);
119}

◆ EnsureFolder()

HRESULT CMyDocsFolder::EnsureFolder ( )
private

Definition at line 47 of file CMyDocsFolder.cpp.

48{
50
51 if (m_pisfInner)
52 return S_OK;
53
54
56 &CLSID_ShellFSFolder,
59
61 return hr;
62
63 return S_OK;
64}
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
static HRESULT SHELL32_CoCreateInitSF(LPCITEMIDLIST pidlRoot, PERSIST_FOLDER_TARGET_INFO *ppfti, LPCITEMIDLIST pidlChild, const GUID *clsid, REFIID riid, LPVOID *ppvOut)
Definition: CFindFolder.cpp:13
#define FAILED_UNEXPECTEDLY(hr)
Definition: precomp.h:121
#define S_OK
Definition: intsafe.h:52
#define CSIDL_PERSONAL
Definition: shlobj.h:2096
#define IID_PPV_ARG(Itype, ppType)

Referenced by BindToObject(), BindToStorage(), CompareIDs(), CreateViewObject(), EnumObjects(), EnumSearches(), GetAttributesOf(), GetDefaultColumn(), GetDefaultColumnState(), GetDefaultSearchGUID(), GetDetailsEx(), GetDetailsOf(), GetDisplayNameOf(), GetUIObjectOf(), Initialize(), MapColumnToSCID(), ParseDisplayName(), and SetNameOf().

◆ EnumObjects()

HRESULT WINAPI CMyDocsFolder::EnumObjects ( HWND  hwndOwner,
DWORD  dwFlags,
LPENUMIDLIST *  ppEnumIDList 
)
virtual

Definition at line 76 of file CMyDocsFolder.cpp.

77{
79 if (FAILED(hr))
80 return hr;
81
82 return m_pisfInner->EnumObjects(hwndOwner, dwFlags, ppEnumIDList);
83}
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176

◆ EnumSearches()

HRESULT WINAPI CMyDocsFolder::EnumSearches ( IEnumExtraSearch **  ppenum)
virtual

Implements IShellFolder2.

Definition at line 204 of file CMyDocsFolder.cpp.

205{
207 if (FAILED(hr))
208 return hr;
209
210 return m_pisfInner->EnumSearches(ppenum);
211}

◆ FinalConstruct()

HRESULT WINAPI CMyDocsFolder::FinalConstruct ( )

Definition at line 37 of file CMyDocsFolder.cpp.

38{
40
41 if (!m_pidlInner)
42 return E_OUTOFMEMORY;
43
44 return S_OK;
45}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
LPITEMIDLIST _ILCreateMyDocuments(void)
Definition: pidl.c:1634

◆ GetAttributesOf()

HRESULT WINAPI CMyDocsFolder::GetAttributesOf ( UINT  cidl,
PCUITEMID_CHILD_ARRAY  apidl,
DWORD rgfInOut 
)
virtual

Definition at line 121 of file CMyDocsFolder.cpp.

122{
123 static const DWORD dwMyDocumentsAttributes =
124 SFGAO_STORAGE | SFGAO_HASPROPSHEET | SFGAO_STORAGEANCESTOR | SFGAO_CANCOPY |
125 SFGAO_FILESYSANCESTOR | SFGAO_FOLDER | SFGAO_FILESYSTEM | SFGAO_HASSUBFOLDER | SFGAO_CANRENAME | SFGAO_CANDELETE;
126
128 if (FAILED(hr))
129 return hr;
130
131 if(cidl)
132 return m_pisfInner->GetAttributesOf(cidl, apidl, rgfInOut);
133
134 if (!rgfInOut)
135 return E_INVALIDARG;
136
137 if (*rgfInOut == 0)
138 *rgfInOut = ~0;
139
140 *rgfInOut &= dwMyDocumentsAttributes;
141
142 /* make sure SFGAO_VALIDATE is cleared, some apps depend on that */
143 *rgfInOut &= ~SFGAO_VALIDATE;
144
145 return S_OK;
146}
#define E_INVALIDARG
Definition: ddrawi.h:101
unsigned long DWORD
Definition: ntddk_ex.h:95

◆ GetClassID()

HRESULT WINAPI CMyDocsFolder::GetClassID ( CLSID lpClassId)
virtual

Implements IPersist.

Definition at line 258 of file CMyDocsFolder.cpp.

259{
260 if (!lpClassId)
261 return E_POINTER;
262
263 memcpy(lpClassId, &CLSID_MyDocuments, sizeof(GUID));
264
265 return S_OK;
266}
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define E_POINTER
Definition: winerror.h:2365

◆ GetCurFolder()

HRESULT WINAPI CMyDocsFolder::GetCurFolder ( PIDLIST_ABSOLUTE pidl)
virtual

Implements IPersistFolder2.

Definition at line 284 of file CMyDocsFolder.cpp.

285{
286 if (!pidl)
287 return E_POINTER;
288 *pidl = ILClone(m_pidlInner);
289 return S_OK;
290}
LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST pidl)
Definition: pidl.c:228

◆ GetDefaultColumn()

HRESULT WINAPI CMyDocsFolder::GetDefaultColumn ( DWORD  dwRes,
ULONG pSort,
ULONG pDisplay 
)
virtual

Implements IShellFolder2.

Definition at line 213 of file CMyDocsFolder.cpp.

214{
216 if (FAILED(hr))
217 return hr;
218
219 return m_pisfInner->GetDefaultColumn(dwRes, pSort, pDisplay);
220}

◆ GetDefaultColumnState()

HRESULT WINAPI CMyDocsFolder::GetDefaultColumnState ( UINT  iColumn,
DWORD pcsFlags 
)
virtual

Implements IShellFolder2.

Definition at line 222 of file CMyDocsFolder.cpp.

223{
225 if (FAILED(hr))
226 return hr;
227
228 return m_pisfInner->GetDefaultColumnState(iColumn, pcsFlags);
229}

◆ GetDefaultSearchGUID()

HRESULT WINAPI CMyDocsFolder::GetDefaultSearchGUID ( GUID pguid)
virtual

Implements IShellFolder2.

Definition at line 195 of file CMyDocsFolder.cpp.

196{
198 if (FAILED(hr))
199 return hr;
200
201 return m_pisfInner->GetDefaultSearchGUID(pguid);
202}

◆ GetDetailsEx()

HRESULT WINAPI CMyDocsFolder::GetDetailsEx ( PCUITEMID_CHILD  pidl,
const SHCOLUMNID pscid,
VARIANT pv 
)
virtual

Implements IShellFolder2.

Definition at line 231 of file CMyDocsFolder.cpp.

232{
234 if (FAILED(hr))
235 return hr;
236
237 return m_pisfInner->GetDetailsEx(pidl, pscid, pv);
238}

◆ GetDetailsOf()

HRESULT WINAPI CMyDocsFolder::GetDetailsOf ( PCUITEMID_CHILD  pidl,
UINT  iColumn,
SHELLDETAILS psd 
)
virtual

Implements IShellFolder2.

Definition at line 240 of file CMyDocsFolder.cpp.

241{
243 if (FAILED(hr))
244 return hr;
245
246 return m_pisfInner->GetDetailsOf(pidl, iColumn, psd);
247}

◆ GetDisplayNameOf()

HRESULT WINAPI CMyDocsFolder::GetDisplayNameOf ( PCUITEMID_CHILD  pidl,
DWORD  dwFlags,
LPSTRRET  strRet 
)
virtual

Definition at line 158 of file CMyDocsFolder.cpp.

159{
160 if (!strRet || !pidl)
161 return E_INVALIDARG;
162
164 if (FAILED(hr))
165 return hr;
166
167 /* If we got an fs item just forward to the fs folder */
168 if (!_ILIsSpecialFolder(pidl))
169 return m_pisfInner->GetDisplayNameOf(pidl, dwFlags, strRet);
170
171 /* The caller wants our path. Let fs folder handle it */
174 {
175 /* Give an empty pidl to the fs folder to make it tell us its path */
176 if (pidl->mkid.cb)
177 pidl = ILGetNext(pidl);
178 return m_pisfInner->GetDisplayNameOf(pidl, dwFlags, strRet);
179 }
180
181 ERR("Got empty pidl without SHGDN_FORPARSING\n");
182 return E_INVALIDARG;
183}
#define ERR(fmt,...)
Definition: debug.h:110
#define GET_SHGDN_RELATION(dwFlags)
Definition: precomp.h:53
#define GET_SHGDN_FOR(dwFlags)
Definition: precomp.h:52
static BOOL _ILIsSpecialFolder(LPCITEMIDLIST pidl)
LPITEMIDLIST WINAPI ILGetNext(LPCITEMIDLIST pidl)
Definition: pidl.c:855

◆ GetMaxLength()

STDMETHODIMP CMyDocsFolder::GetMaxLength ( LPCWSTR  pszName,
int piMaxNameLen 
)
inline

Definition at line 77 of file CMyDocsFolder.h.

78 {
79 return E_NOTIMPL;
80 }
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ GetUIObjectOf()

HRESULT WINAPI CMyDocsFolder::GetUIObjectOf ( HWND  hwndOwner,
UINT  cidl,
PCUITEMID_CHILD_ARRAY  apidl,
REFIID  riid,
UINT prgfInOut,
LPVOID ppvOut 
)
virtual

Definition at line 148 of file CMyDocsFolder.cpp.

150{
152 if (FAILED(hr))
153 return hr;
154
155 return m_pisfInner->GetUIObjectOf(hwndOwner, cidl, apidl, riid, prgfInOut, ppvOut);
156}

◆ GetValidCharacters()

STDMETHODIMP CMyDocsFolder::GetValidCharacters ( LPWSTR ppwszValidChars,
LPWSTR ppwszInvalidChars 
)
inline

Definition at line 83 of file CMyDocsFolder.h.

84 {
85 if (ppwszValidChars)
86 {
87 *ppwszValidChars = NULL;
88 }
89 if (ppwszInvalidChars)
90 {
91 SHStrDupW(INVALID_FILETITLE_CHARACTERSW, ppwszInvalidChars);
92 }
93 return S_OK;
94 }
HRESULT WINAPI SHStrDupW(LPCWSTR src, LPWSTR *dest)
Definition: string.c:2004
#define INVALID_FILETITLE_CHARACTERSW
Definition: undocshell.h:838

◆ Initialize()

HRESULT WINAPI CMyDocsFolder::Initialize ( PCIDLIST_ABSOLUTE  pidl)
virtual

Implements IPersistFolder.

Definition at line 268 of file CMyDocsFolder.cpp.

269{
270 if (m_pisfInner)
271 return E_INVALIDARG;
272
273 if (m_pidlInner)
275
276 m_pidlInner = ILClone(pidl);
277
278 if (!m_pidlInner)
279 return E_OUTOFMEMORY;
280
281 return EnsureFolder();
282}

◆ MapColumnToSCID()

HRESULT WINAPI CMyDocsFolder::MapColumnToSCID ( UINT  column,
SHCOLUMNID pscid 
)
virtual

Implements IShellFolder2.

Definition at line 249 of file CMyDocsFolder.cpp.

250{
252 if (FAILED(hr))
253 return hr;
254
255 return m_pisfInner->MapColumnToSCID(column, pscid);
256}

◆ ParseDisplayName()

HRESULT WINAPI CMyDocsFolder::ParseDisplayName ( HWND  hwndOwner,
LPBC  pbc,
LPOLESTR  lpszDisplayName,
DWORD pchEaten,
PIDLIST_RELATIVE ppidl,
DWORD pdwAttributes 
)
virtual

Definition at line 66 of file CMyDocsFolder.cpp.

68{
70 if (FAILED(hr))
71 return hr;
72
73 return m_pisfInner->ParseDisplayName(hwndOwner, pbc, lpszDisplayName, pchEaten, ppidl, pdwAttributes);
74}

◆ SetNameOf()

HRESULT WINAPI CMyDocsFolder::SetNameOf ( HWND  hwndOwner,
PCUITEMID_CHILD  pidl,
LPCOLESTR  lpName,
DWORD  dwFlags,
PITEMID_CHILD pPidlOut 
)
virtual

Implements IShellFolder.

Definition at line 185 of file CMyDocsFolder.cpp.

187{
189 if (FAILED(hr))
190 return hr;
191
192 return m_pisfInner->SetNameOf(hwndOwner, pidl, lpName, dwFlags, pPidlOut);
193}
_In_ LPCSTR lpName
Definition: winbase.h:2789

Member Data Documentation

◆ m_pidlInner

LPITEMIDLIST CMyDocsFolder::m_pidlInner
private

◆ m_pisfInner


The documentation for this class was generated from the following files: