mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
ole32: Call IOleObject_GetMiscStatus in OleCreate if a client site is passed in.
This commit is contained in:
parent
ccb634fdee
commit
6da80a8898
1 changed files with 7 additions and 0 deletions
|
@ -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