Robert Shearman : ole32:
Call IOleObject_GetMiscStatus in OleCreate if a client site is passed
in.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Sep 7 05:07:13 CDT 2006
Module: wine
Branch: master
Commit: 6da80a8898dab86285a3478962139298e88f5bb7
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6da80a8898dab86285a3478962139298e88f5bb7
Author: Robert Shearman <rob at codeweavers.com>
Date: Thu Aug 31 17:15:15 2006 +0100
ole32: Call IOleObject_GetMiscStatus in OleCreate if a client site is passed in.
---
dlls/ole32/ole2.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 4ae9619..4d7c17b 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -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))
{
More information about the wine-cvs
mailing list