mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
745 B
17 lines
745 B
#ifndef _STGUTIL_H_
|
|
#define _STGUTIL_H_
|
|
|
|
#define STGSTR_STGTOBIND TEXT("StgToBind")
|
|
|
|
HRESULT _NextSegment(LPCWSTR *ppszIn, LPTSTR pszSegment, UINT cchSegment, BOOL bValidate);
|
|
|
|
STDAPI_(BOOL) StgExists(IStorage * pStorageParent, LPCTSTR pszPath);
|
|
STDAPI StgCopyFileToStream(LPCTSTR pszSrc, IStream *pStream);
|
|
STDAPI StgDeleteUsingDataObject(HWND hwnd, UINT uFlags, IDataObject *pdtobj);
|
|
STDAPI StgBindToObject(LPCITEMIDLIST pidl, DWORD grfMode, REFIID riid, void **ppv);
|
|
STDAPI StgGetStorageFromFile(LPCWSTR wzPath, DWORD grfMode, IStorage **ppstg);
|
|
STDAPI StgOpenStorageOnFolder(LPCTSTR pszFolder, DWORD grfFlags, REFIID riid, void **ppv);
|
|
|
|
STDAPI CShortcutStorage_CreateInstance(IStorage *pstg, REFIID riid, void **ppv);
|
|
|
|
#endif // _STGUTIL_H_
|