coml2: Move StgCreatePropSetStg from ole32.

This commit is contained in:
Fabian Maurer 2023-12-03 23:26:55 +01:00 committed by Alexandre Julliard
parent e5df1b2e51
commit 8e48d7fdbd
3 changed files with 13 additions and 14 deletions

View file

@ -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)

View file

@ -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);
}

View file

@ -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.@]
*/