mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 18:59:35 +00:00
ole32: Set the storage's class ID in OleCreate.
This commit is contained in:
parent
a6e545a27c
commit
aaa26b2702
|
@ -2304,7 +2304,12 @@ HRESULT WINAPI OleCreate(
|
|||
|
||||
FIXME("\n\t%s\n\t%s semi-stub!\n", debugstr_guid(rclsid), debugstr_guid(riid));
|
||||
|
||||
if (SUCCEEDED((hres = CoCreateInstance(rclsid, 0, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER|CLSCTX_LOCAL_SERVER , riid, (LPVOID*)&pUnk))))
|
||||
hres = CoCreateInstance(rclsid, 0, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER|CLSCTX_LOCAL_SERVER , riid, (LPVOID*)&pUnk);
|
||||
|
||||
if (SUCCEEDED(hres))
|
||||
hres = IStorage_SetClass(pStg, rclsid);
|
||||
|
||||
if (SUCCEEDED(hres))
|
||||
{
|
||||
if (pClientSite)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue