11 public CComCoClass<CFileSysBindData>,
12 public CComObjectRootEx<CComMultiThreadModelNoCS>,
41 CComPtr<IFileSystemBindData> spfsbc(
new CComObject<CFileSysBindData>());
44 spfsbc->SetFindData(&wfd);
54 CComPtr<IBindCtx> spbc;
59 hr = spbc->SetBindOptions(
pbo);
69 CComPtr<IBindCtx> spbc;
85 CComPtr<IBindCtx> spbc;
#define STDMETHODCALLTYPE
virtual HRESULT STDMETHODCALLTYPE SetFindData(const WIN32_FIND_DATAW *pfd)
virtual HRESULT STDMETHODCALLTYPE GetFindData(WIN32_FIND_DATAW *pfd)
#define FILE_ATTRIBUTE_NORMAL
#define COM_INTERFACE_ENTRY_IID(iid, x)
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
#define DECLARE_NOT_AGGREGATABLE(x)
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC *ppbc)
HRESULT WINAPI SHParseDisplayName(LPCWSTR pszName, IBindCtx *pbc, LPITEMIDLIST *ppidl, SFGAOF sfgaoIn, SFGAOF *psfgaoOut)
VOID PathToIDList(LPCWSTR pszPath, ITEMIDLIST **ppidl)
static HRESULT CreateFileSysBindCtx(_Outptr_ IBindCtx **ppbc)
static HRESULT CreateBindCtxWithOpts(_In_ BIND_OPTS *pbo, _Outptr_ IBindCtx **ppbc)
static HRESULT AddFileSysBindCtx(_In_ IBindCtx *pbc)
static PIXELFORMATDESCRIPTOR pfd
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL _In_opt_ BRUSHOBJ * pbo