[PROPSYS] Sync with Wine Staging 4.0. CORE-15682

This commit is contained in:
Amine Khaldi 2019-02-02 13:28:11 +01:00
parent 59e9abd907
commit ab64b47497
3 changed files with 15 additions and 2 deletions

View file

@ -30,7 +30,7 @@
@ stdcall -private DllUnregisterServer()
@ stub InitPropVariantFromBooleanVector
@ stdcall InitPropVariantFromBuffer(ptr long ptr)
@ stub InitPropVariantFromCLSID
@ stdcall InitPropVariantFromCLSID(ptr ptr)
@ stub InitPropVariantFromDoubleVector
@ stub InitPropVariantFromFileTime
@ stub InitPropVariantFromFileTimeVector

View file

@ -570,6 +570,19 @@ HRESULT WINAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *p
return S_OK;
}
HRESULT WINAPI InitPropVariantFromCLSID(REFCLSID clsid, PROPVARIANT *ppropvar)
{
TRACE("(%s %p)\n", debugstr_guid(clsid), ppropvar);
ppropvar->u.puuid = CoTaskMemAlloc(sizeof(*ppropvar->u.puuid));
if(!ppropvar->u.puuid)
return E_OUTOFMEMORY;
ppropvar->vt = VT_CLSID;
memcpy(ppropvar->u.puuid, clsid, sizeof(*ppropvar->u.puuid));
return S_OK;
}
HRESULT WINAPI InitVariantFromBuffer(const VOID *pv, UINT cb, VARIANT *pvar)
{
SAFEARRAY *arr;

View file

@ -151,7 +151,7 @@ reactos/dll/win32/pdh # Synced to WineStaging-4.0
reactos/dll/win32/pidgen # Synced to WineStaging-4.0
reactos/dll/win32/powrprof # Forked at Wine-1.0rc5
reactos/dll/win32/printui # Synced to WineStaging-3.3
reactos/dll/win32/propsys # Synced to WineStaging-3.9
reactos/dll/win32/propsys # Synced to WineStaging-4.0
reactos/dll/win32/pstorec # Synced to WineStaging-3.3
reactos/dll/win32/qmgr # Synced to WineStaging-3.3
reactos/dll/win32/qmgrprxy # Synced to WineStaging-2.9