ole32: Set the storage's class ID in OleCreate.

This commit is contained in:
Robert Shearman 2006-08-31 17:13:45 +01:00 committed by Alexandre Julliard
parent a6e545a27c
commit aaa26b2702
1 changed files with 6 additions and 1 deletions

View File

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