ReactOS 0.4.15-dev-7712-gbbbcd8e
CPrinterFolder Class Reference

#include <CPrinterFolder.h>

Inheritance diagram for CPrinterFolder:
Collaboration diagram for CPrinterFolder:

Public Member Functions

 CPrinterFolder ()
 
 ~CPrinterFolder ()
 
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)
 
- 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 Attributes

CLSIDpclsid
 
LPITEMIDLIST pidlRoot
 
int dwAttributes
 

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 27 of file CPrinterFolder.h.

Constructor & Destructor Documentation

◆ CPrinterFolder()

CPrinterFolder::CPrinterFolder ( )

Definition at line 192 of file CPrinterFolder.cpp.

193{
194 pidlRoot = NULL;
195 dwAttributes = 0;
196 pclsid = NULL;
197}
LPITEMIDLIST pidlRoot
#define NULL
Definition: types.h:112
DWORD dwAttributes
Definition: vdmdbg.h:34

◆ ~CPrinterFolder()

CPrinterFolder::~CPrinterFolder ( )

Definition at line 199 of file CPrinterFolder.cpp.

200{
201 TRACE("-- destroying IShellFolder(%p)\n", this);
202 if (pidlRoot)
204}
void WINAPI SHFree(LPVOID pv)
Definition: shellole.c:326
#define TRACE(s)
Definition: solgame.cpp:4

Member Function Documentation

◆ BindToObject()

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

Definition at line 246 of file CPrinterFolder.cpp.

247{
248 return E_NOTIMPL;
249}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ BindToStorage()

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

Definition at line 254 of file CPrinterFolder.cpp.

255{
256 FIXME ("(%p)->(pidl=%p,%p,%s,%p) stub\n",
257 this, pidl, pbcReserved, shdebugstr_guid (&riid), ppvOut);
258
259 *ppvOut = NULL;
260 return E_NOTIMPL;
261}
#define FIXME(fmt,...)
Definition: debug.h:111
const char * shdebugstr_guid(const struct _GUID *id)
Definition: debughlp.cpp:428
REFIID riid
Definition: atlbase.h:39

◆ CompareIDs()

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

Implements IShellFolder.

Definition at line 266 of file CPrinterFolder.cpp.

267{
268 return SHELL32_CompareDetails(this, lParam, pidl1, pidl2);
269}
LPARAM lParam
Definition: combotst.c:139
HRESULT SHELL32_CompareDetails(IShellFolder2 *isf, LPARAM lParam, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
Definition: shlfolder.cpp:238

◆ CreateViewObject()

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

Definition at line 274 of file CPrinterFolder.cpp.

275{
276 CComPtr<IShellView> pShellView;
278
279 TRACE("(%p)->(hwnd=%p,%s,%p)\n", this,
280 hwndOwner, shdebugstr_guid (&riid), ppvOut);
281
282 if (!ppvOut)
283 return hr;
284
285 *ppvOut = NULL;
286
287 if (IsEqualIID(riid, IID_IDropTarget))
288 {
289 WARN("IDropTarget not implemented\n");
290 hr = E_NOTIMPL;
291 }
292 else if(IsEqualIID(riid, IID_IContextMenu))
293 {
294 WARN("IContextMenu not implemented\n");
295 hr = E_NOTIMPL;
296 }
297 else if(IsEqualIID(riid, IID_IShellView))
298 {
299 SFV_CREATE sfvparams = {sizeof(SFV_CREATE), this};
300 hr = SHCreateShellFolderView(&sfvparams, (IShellView**)ppvOut);
301 }
302 TRACE ("-- (%p)->(interface=%p)\n", this, ppvOut);
303 return hr;
304}
HRESULT WINAPI SHCreateShellFolderView(const SFV_CREATE *pcsfv, IShellView **ppsv)
Definition: CDefView.cpp:3844
#define WARN(fmt,...)
Definition: debug.h:112
#define E_INVALIDARG
Definition: ddrawi.h:101
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
HRESULT hr
Definition: shlfolder.c:183
struct _SFV_CREATE SFV_CREATE

◆ EnumObjects()

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

Definition at line 238 of file CPrinterFolder.cpp.

239{
240 return ShellObjectCreatorInit<CPrintersEnum>(hwndOwner, dwFlags, IID_PPV_ARG(IEnumIDList, ppEnumIDList));
241}
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define IID_PPV_ARG(Itype, ppType)

◆ EnumSearches()

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

Implements IShellFolder2.

Definition at line 419 of file CPrinterFolder.cpp.

420{
421 FIXME("(%p)\n", this);
422 return E_NOTIMPL;
423}

◆ GetAttributesOf()

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

Definition at line 309 of file CPrinterFolder.cpp.

310{
311 static const DWORD dwPrintersAttributes =
312 SFGAO_HASPROPSHEET | SFGAO_STORAGEANCESTOR | SFGAO_FILESYSANCESTOR | SFGAO_FOLDER | SFGAO_CANRENAME | SFGAO_CANDELETE;
313 HRESULT hr = S_OK;
314
315 FIXME ("(%p)->(cidl=%d apidl=%p mask=0x%08lx): stub\n",
316 this, cidl, apidl, *rgfInOut);
317
318 *rgfInOut &= dwPrintersAttributes;
319
320 *rgfInOut &= ~SFGAO_VALIDATE;
321
322 TRACE ("-- result=0x%08x\n", *rgfInOut);
323 return hr;
324}
unsigned long DWORD
Definition: ntddk_ex.h:95
#define S_OK
Definition: intsafe.h:52

◆ GetClassID()

HRESULT WINAPI CPrinterFolder::GetClassID ( CLSID lpClassId)
virtual

Implements IPersist.

Definition at line 481 of file CPrinterFolder.cpp.

482{
483 TRACE ("(%p)\n", this);
484
485 *lpClassId = CLSID_Printers;
486
487 return S_OK;
488}

◆ GetCurFolder()

HRESULT WINAPI CPrinterFolder::GetCurFolder ( PIDLIST_ABSOLUTE pidl)
virtual

Implements IPersistFolder2.

Definition at line 505 of file CPrinterFolder.cpp.

506{
507 TRACE ("(%p)->(%p)\n", this, pidl);
508
509 *pidl = ILClone (pidlRoot);
510 return S_OK;
511}
LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST pidl)
Definition: pidl.c:228

◆ GetDefaultColumn()

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

Implements IShellFolder2.

Definition at line 425 of file CPrinterFolder.cpp.

426{
427 if (pSort)
428 *pSort = 0;
429 if (pDisplay)
430 *pDisplay = 0;
431
432 return S_OK;
433}

◆ GetDefaultColumnState()

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

Implements IShellFolder2.

Definition at line 435 of file CPrinterFolder.cpp.

436{
437 if (!pcsFlags || iColumn >= PrinterSHELLVIEWCOLUMNS)
438 return E_INVALIDARG;
439 *pcsFlags = PrinterSFHeader[iColumn].pcsFlags;
440 return S_OK;
441
442}
#define PrinterSHELLVIEWCOLUMNS
static shvheader PrinterSFHeader[]

◆ GetDefaultSearchGUID()

HRESULT WINAPI CPrinterFolder::GetDefaultSearchGUID ( GUID pguid)
virtual

Implements IShellFolder2.

Definition at line 413 of file CPrinterFolder.cpp.

414{
415 FIXME("(%p)\n", this);
416 return E_NOTIMPL;
417}

◆ GetDetailsEx()

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

Implements IShellFolder2.

Definition at line 444 of file CPrinterFolder.cpp.

445{
446 FIXME("(%p): stub\n", this);
447
448 return E_NOTIMPL;
449}

◆ GetDetailsOf()

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

Implements IShellFolder2.

Definition at line 451 of file CPrinterFolder.cpp.

452{
453 TRACE("(%p)->(%p %i %p): stub\n", this, pidl, iColumn, psd);
454
455 if (iColumn >= PrinterSHELLVIEWCOLUMNS)
456 return E_FAIL;
457
458 psd->fmt = PrinterSFHeader[iColumn].fmt;
459 psd->cxChar = PrinterSFHeader[iColumn].cxChar;
460 if (pidl == NULL)
461 return SHSetStrRet(&psd->str, PrinterSFHeader[iColumn].colnameid);
462
463 if (iColumn == COLUMN_NAME)
464 return GetDisplayNameOf(pidl, SHGDN_NORMAL, &psd->str);
465
466 psd->str.uType = STRRET_CSTR;
467 psd->str.cStr[0] = '\0';
468
469 return E_NOTIMPL;
470}
virtual HRESULT WINAPI GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFlags, LPSTRRET strRet)
#define E_FAIL
Definition: ddrawi.h:102
#define COLUMN_NAME
@ STRRET_CSTR
Definition: shtypes.idl:87
STRRET str
Definition: shtypes.idl:108
char cStr[MAX_PATH]
Definition: shtypes.idl:98
UINT uType
Definition: shtypes.idl:93

◆ GetDisplayNameOf()

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

Definition at line 369 of file CPrinterFolder.cpp.

370{
371 PIDLPrinterStruct * p;
372
373 TRACE ("(%p)->(pidl=%p,0x%08lx,%p)\n", this, pidl, dwFlags, strRet);
374 pdump (pidl);
375
376 if (!strRet)
377 {
378 WARN("no strRet\n");
379 return E_INVALIDARG;
380 }
381
382 p = _ILGetPrinterStruct(pidl);
383 if (!p)
384 {
385 ERR("no printer struct\n");
386 return E_INVALIDARG;
387 }
388
389 return SHSetStrRet(strRet, p->szName);
390}
static PIDLPrinterStruct * _ILGetPrinterStruct(LPCITEMIDLIST pidl)
#define ERR(fmt,...)
Definition: debug.h:110
void pdump(LPCITEMIDLIST pidl)
Definition: debughlp.cpp:311
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by GetDetailsOf().

◆ GetUIObjectOf()

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

Definition at line 338 of file CPrinterFolder.cpp.

340{
341 LPVOID pObj = NULL;
343
344 TRACE ("(%p)->(%p,%u,apidl=%p,%s,%p,%p)\n",
345 this, hwndOwner, cidl, apidl, shdebugstr_guid (&riid), prgfInOut, ppvOut);
346
347 if (!ppvOut)
348 return hr;
349
350 *ppvOut = NULL;
351
352 if ((IsEqualIID (riid, IID_IExtractIconA) || IsEqualIID(riid, IID_IExtractIconW)) && cidl == 1)
353 hr = CPrintersExtractIconW_CreateInstane(apidl[0], riid, &pObj);
354 else
356
357 if (SUCCEEDED(hr) && !pObj)
359
360 *ppvOut = pObj;
361 TRACE ("(%p)->hr=0x%08lx\n", this, hr);
362 return hr;
363}
HRESULT WINAPI CPrintersExtractIconW_CreateInstane(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv)
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define SUCCEEDED(hr)
Definition: intsafe.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ Initialize()

HRESULT WINAPI CPrinterFolder::Initialize ( PCIDLIST_ABSOLUTE  pidl)
virtual

Implements IPersistFolder.

Definition at line 493 of file CPrinterFolder.cpp.

494{
495 if (pidlRoot)
497
498 pidlRoot = ILClone(pidl);
499 return S_OK;
500}

◆ MapColumnToSCID()

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

Implements IShellFolder2.

Definition at line 472 of file CPrinterFolder.cpp.

473{
474 FIXME ("(%p): stub\n", this);
475 return E_NOTIMPL;
476}

◆ ParseDisplayName()

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

Definition at line 211 of file CPrinterFolder.cpp.

213{
214 TRACE("(%p)->(HWND=%p,%p,%p=%s,%p,pidl=%p,%p)\n",
215 this, hwndOwner, pbc, lpszDisplayName, debugstr_w(lpszDisplayName),
216 pchEaten, ppidl, pdwAttributes);
217
218 *ppidl = 0;
219 if (pchEaten)
220 *pchEaten = 0;
221
222 return E_NOTIMPL;
223}
#define debugstr_w
Definition: kernel32.h:32

◆ SetNameOf()

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

Implements IShellFolder.

Definition at line 404 of file CPrinterFolder.cpp.

406{
407 FIXME("(%p)->(%p,pidl=%p,%s,%lu,%p)\n", this, hwndOwner, pidl,
408 debugstr_w (lpName), dwFlags, pPidlOut);
409
410 return E_FAIL;
411}
_In_ LPCSTR lpName
Definition: winbase.h:2789

Member Data Documentation

◆ dwAttributes

int CPrinterFolder::dwAttributes
private

Definition at line 38 of file CPrinterFolder.h.

◆ pclsid

CLSID* CPrinterFolder::pclsid
private

Definition at line 34 of file CPrinterFolder.h.

Referenced by CPrinterFolder().

◆ pidlRoot

LPITEMIDLIST CPrinterFolder::pidlRoot
private

Definition at line 36 of file CPrinterFolder.h.

Referenced by CPrinterFolder(), GetCurFolder(), Initialize(), and ~CPrinterFolder().


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