diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec index 0f8a9aa2068..801313fef28 100644 --- a/dlls/ole32/ole32.spec +++ b/dlls/ole32/ole32.spec @@ -233,6 +233,7 @@ @ stub SNB_UserUnmarshal @ stdcall StgCreateDocfile(wstr long long ptr) @ stdcall StgCreateDocfileOnILockBytes(ptr long long ptr) +@ stdcall StgCreatePropSetStg(ptr long ptr) @ stdcall StgCreateStorageEx(wstr long long long ptr ptr ptr ptr) @ stub StgGetIFillLockBytesOnFile @ stub StgGetIFillLockBytesOnILockBytes diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 0b82ca262db..0f860cd0e3c 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -5600,6 +5600,23 @@ HRESULT WINAPI StgCreateStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD st return STG_E_UNIMPLEMENTEDFUNCTION; } +/****************************************************************************** + * StgCreatePropSetStg [OLE32.@] + */ +HRESULT WINAPI StgCreatePropSetStg(IStorage *pstg, DWORD reserved, + IPropertySetStorage **ppPropSetStg) +{ + HRESULT hr; + + TRACE("(%p, 0x%lx, %p): stub\n", pstg, reserved, ppPropSetStg); + if (reserved) + hr = STG_E_INVALIDPARAMETER; + else + hr = StorageBaseImpl_QueryInterface(pstg, &IID_IPropertySetStorage, + (void**)ppPropSetStg); + return hr; +} + /****************************************************************************** * StgOpenStorage [OLE32.@] */