mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 18:09:24 +00:00
ole32: Call IOleObject_GetMiscStatus in OleCreate if a client site is passed in.
This commit is contained in:
parent
ccb634fdee
commit
6da80a8898
|
@ -2311,7 +2311,14 @@ HRESULT WINAPI OleCreate(
|
|||
hres = IStorage_SetClass(pStg, rclsid);
|
||||
|
||||
if (pClientSite && SUCCEEDED(hres))
|
||||
{
|
||||
hres = IUnknown_QueryInterface(pUnk, &IID_IOleObject, (LPVOID*)&pOleObject);
|
||||
if (SUCCEEDED(hres))
|
||||
{
|
||||
DWORD dwStatus;
|
||||
hres = IOleObject_GetMiscStatus(pOleObject, DVASPECT_CONTENT, &dwStatus);
|
||||
}
|
||||
}
|
||||
|
||||
if (SUCCEEDED(hres))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue