Source code of Windows XP (NT5)
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

  1. #ifndef _STGUTIL_H_
  2. #define _STGUTIL_H_
  3. #define STGSTR_STGTOBIND TEXT("StgToBind")
  4. HRESULT _NextSegment(LPCWSTR *ppszIn, LPTSTR pszSegment, UINT cchSegment, BOOL bValidate);
  5. STDAPI_(BOOL) StgExists(IStorage * pStorageParent, LPCTSTR pszPath);
  6. STDAPI StgCopyFileToStream(LPCTSTR pszSrc, IStream *pStream);
  7. STDAPI StgDeleteUsingDataObject(HWND hwnd, UINT uFlags, IDataObject *pdtobj);
  8. STDAPI StgBindToObject(LPCITEMIDLIST pidl, DWORD grfMode, REFIID riid, void **ppv);
  9. STDAPI StgGetStorageFromFile(LPCWSTR wzPath, DWORD grfMode, IStorage **ppstg);
  10. STDAPI StgOpenStorageOnFolder(LPCTSTR pszFolder, DWORD grfFlags, REFIID riid, void **ppv);
  11. STDAPI CShortcutStorage_CreateInstance(IStorage *pstg, REFIID riid, void **ppv);
  12. #endif // _STGUTIL_H_