coml2: Move StgCreatePropSetStg from ole32.
This commit is contained in:
parent
e5df1b2e51
commit
8e48d7fdbd
3 changed files with 13 additions and 14 deletions
|
@ -19,7 +19,7 @@
|
|||
@ stdcall ReadClassStm(ptr ptr)
|
||||
@ stub StgCreateDocfile
|
||||
@ stub StgCreateDocfileOnILockBytes
|
||||
@ stub StgCreatePropSetStg
|
||||
@ stdcall StgCreatePropSetStg(ptr long ptr)
|
||||
@ stub StgCreatePropStg
|
||||
@ stub StgCreateStorageEx
|
||||
@ stdcall StgIsStorageFile(wstr)
|
||||
|
|
|
@ -226,3 +226,15 @@ HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn)
|
|||
TRACE(" -> Invalid header.\n");
|
||||
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);
|
||||
}
|
||||
|
|
|
@ -8649,19 +8649,6 @@ HRESULT WINAPI StgCreateStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD st
|
|||
return STG_E_INVALIDPARAMETER;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* 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.@]
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue