Commit 8e48d7fd authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

coml2: Move StgCreatePropSetStg from ole32.

parent e5df1b2e
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
@ stdcall ReadClassStm(ptr ptr) @ stdcall ReadClassStm(ptr ptr)
@ stub StgCreateDocfile @ stub StgCreateDocfile
@ stub StgCreateDocfileOnILockBytes @ stub StgCreateDocfileOnILockBytes
@ stub StgCreatePropSetStg @ stdcall StgCreatePropSetStg(ptr long ptr)
@ stub StgCreatePropStg @ stub StgCreatePropStg
@ stub StgCreateStorageEx @ stub StgCreateStorageEx
@ stdcall StgIsStorageFile(wstr) @ stdcall StgIsStorageFile(wstr)
......
...@@ -226,3 +226,15 @@ HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn) ...@@ -226,3 +226,15 @@ HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn)
TRACE(" -> Invalid header.\n"); TRACE(" -> Invalid header.\n");
return S_FALSE; return S_FALSE;
} }
/******************************************************************************
* StgCreatePropSetStg [coml2.@]
*/
HRESULT WINAPI StgCreatePropSetStg(IStorage *pstg, DWORD reserved, IPropertySetStorage **propset)
{
TRACE("%p, %#lx, %p.\n", pstg, reserved, propset);
if (reserved)
return STG_E_INVALIDPARAMETER;
return IStorage_QueryInterface(pstg, &IID_IPropertySetStorage, (void**)propset);
}
...@@ -8650,19 +8650,6 @@ HRESULT WINAPI StgCreateStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD st ...@@ -8650,19 +8650,6 @@ HRESULT WINAPI StgCreateStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD st
} }
/****************************************************************************** /******************************************************************************
* StgCreatePropSetStg [OLE32.@]
*/
HRESULT WINAPI StgCreatePropSetStg(IStorage *pstg, DWORD reserved,
IPropertySetStorage **propset)
{
TRACE("%p, %#lx, %p.\n", pstg, reserved, propset);
if (reserved)
return STG_E_INVALIDPARAMETER;
return IStorage_QueryInterface(pstg, &IID_IPropertySetStorage, (void**)propset);
}
/******************************************************************************
* StgOpenStorageEx [OLE32.@] * StgOpenStorageEx [OLE32.@]
*/ */
HRESULT WINAPI StgOpenStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD stgfmt, DWORD grfAttrs, STGOPTIONS* pStgOptions, void* reserved, REFIID riid, void** ppObjectOpen) HRESULT WINAPI StgOpenStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD stgfmt, DWORD grfAttrs, STGOPTIONS* pStgOptions, void* reserved, REFIID riid, void** ppObjectOpen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment