59static const WCHAR wine_atl_iocsW[] = {
'_',
'_',
'W',
'I',
'N',
'E',
'_',
'A',
'T',
'L',
'_',
'I',
'O',
'C',
'S',
'\0'};
93#if _ATL_VER <= _ATL_VER_30
94#define ATL_NAME_SUFFIX 0
95#elif _ATL_VER == _ATL_VER_80
96#define ATL_NAME_SUFFIX '8','0',0
97#elif _ATL_VER == _ATL_VER_90
98#define ATL_NAME_SUFFIX '9','0',0
99#elif _ATL_VER == _ATL_VER_100
100#define ATL_NAME_SUFFIX '1','0','0',0
101#elif _ATL_VER == _ATL_VER_110
102#define ATL_NAME_SUFFIX '1','1','0',0
104#error Unsupported version
114 wcex.
cbSize =
sizeof(wcex);
131 static const WCHAR AtlAxWinLicW[] = {
'A',
't',
'l',
'A',
'x',
'W',
'i',
'n',
'L',
'i',
'c',
ATL_NAME_SUFFIX};
164 IOleObject_Close(
control, OLECLOSE_NOSAVE );
186 *
ppv = &
This->IOleContainer_iface;
192 *
ppv = &
This->IOleInPlaceSiteWindowless_iface;
196 *
ppv = &
This->IOleInPlaceFrame_iface;
200 *
ppv = &
This->IOleControlSite_iface;
205 IOleClientSite_AddRef(iface);
248 FIXME(
"(%p, 0x%x, 0x%x, %p)\n",
This, dwAssign, dwWhichMoniker, ppmk );
269 FIXME(
"(%p, %s) - stub\n",
This, fShow ?
"TRUE" :
"FALSE" );
290 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
296 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
302 return IOleClientSite_Release(&
This->IOleClientSite_iface);
309 FIXME(
"(%p,%p,%s,%p,%p) - stub\n",
This, pbc,
debugstr_w(pszDisplayName), pchEaten, ppmkOut );
316 FIXME(
"(%p, %u, %p) - stub\n",
This, grfFlags, ppenum );
323 FIXME(
"(%p, %s) - stub\n",
This, fLock?
"TRUE":
"FALSE" );
337 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
343 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
349 return IOleClientSite_Release(&
This->IOleClientSite_iface);
364 FIXME(
"(%p,%d) - stub\n",
This, fEnterMode);
395 LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
399 TRACE(
"(%p,%p,%p,%p,%p,%p)\n",
This, frame, ppDoc, lprcPosRect, lprcClipRect, lpFrameInfo);
402 *lprcClipRect =
This->size;
404 *lprcPosRect =
This->size;
408 *frame = &
This->IOleInPlaceFrame_iface;
409 IOleInPlaceFrame_AddRef(*frame);
417 lpFrameInfo->fMDIApp =
FALSE;
418 lpFrameInfo->hwndFrame =
This->hWnd;
419 lpFrameInfo->haccel =
NULL;
420 lpFrameInfo->cAccelEntries = 0;
436 FIXME(
"(%p,%d) - stub\n",
This, fUndoable);
467 FIXME(
"(%p,%p) - stub\n",
This, lprcPosRect);
478 if (
dwFlags & ACTIVATE_WINDOWLESS )
568 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
574 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
580 return IOleClientSite_Release(&
This->IOleClientSite_iface);
597 FIXME(
"(%p,%d) - stub\n",
This, fEnterMode );
605 FIXME(
"(%p,%p) - stub\n",
This, lprectBorder );
613 FIXME(
"(%p,%p) - stub\n",
This, pborderwidths );
621 FIXME(
"(%p,%p) - stub\n",
This, pborderwidths );
637 FIXME(
"(%p,%p,%p) - stub\n",
This, hmenuShared, lpMenuWidths );
645 FIXME(
"(%p,%p,%p,%p) - stub\n",
This, hmenuShared, holemenu, hwndActiveObject );
653 FIXME(
"(%p, %p) - stub\n",
This, hmenuShared );
669 FIXME(
"(%p, %d) - stub\n",
This, fEnable );
677 FIXME(
"(%p, %p, %x) - stub\n",
This, lpmsg, wID );
691 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid,
ppv);
697 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
703 return IOleClientSite_Release(&
This->IOleClientSite_iface);
832 if ( !
This->control )
838 IOleObject_SetExtent(
This->control, DVASPECT_CONTENT, &inHi );
840 if (
This->fInPlace )
846 IOleInPlaceObject_SetObjectRects( wl,
rect,
rect );
847 IOleInPlaceObject_Release( wl );
854 if (!
This->control ||
This->fActive || !fShow )
864 if ( !
This->control || !
This->fWindowless )
875 IViewObject_Draw(
view, DVASPECT_CONTENT, ~0,
NULL,
NULL, 0,
dc, &
rect, &
rect,
NULL, 0 );
876 IViewObject_Release(
view );
918 IOleObject_SetClientSite(
This->control, &
This->IOleClientSite_iface );
928 static const WCHAR AXWIN[] = {
'A',
'X',
'W',
'I',
'N',0};
930 IOleObject_SetHostNames(
This->control, AXWIN, AXWIN );
1004 static const WCHAR mshtml_prefixW[] = {
'm',
's',
'h',
't',
'm',
'l',
':',0};
1021 *control_id = CLSID_WebBrowser;
1027 FIXME(
"mshtml prefix not implemented\n");
1028 *control_id = CLSID_WebBrowser;
1055 ppUnkContainer, ppUnkControl, iidSink, punkSink,
debugstr_w(lic));
1058 FIXME(
"semi stub\n");
1060 if (ppUnkContainer) *ppUnkContainer =
NULL;
1061 if (ppUnkControl) *ppUnkControl =
NULL;
1072 (
void**) &pControl );
1075 WARN(
"cannot create ActiveX control %s instance - error 0x%08x\n",
1084 IPersistStreamInit_InitNew( pPSInit );
1086 IPersistStreamInit_Load( pPSInit, pStream );
1087 IPersistStreamInit_Release( pPSInit );
1089 WARN(
"cannot get IID_IPersistStreamInit out of control\n");
1091 IOleObject_QueryInterface( pControl, &
IID_IUnknown, (
void**) &pUnkControl );
1092 IOleObject_Release( pControl );
1097 WARN(
"cannot attach control to window\n");
1101 IWebBrowser2 *browser;
1103 hRes = IOleObject_QueryInterface( pControl, &IID_IWebBrowser2, (
void**) &browser );
1105 WARN(
"Cannot query IWebBrowser2 interface: %08x\n", hRes );
1109 IWebBrowser2_put_Visible( browser, VARIANT_TRUE );
1116 WARN(
"IWebBrowser2::Navigate2 failed: %08x\n", hRes );
1119 IWebBrowser2_Release( browser );
1125 *ppUnkContainer = pContainer;
1127 IUnknown_AddRef( pContainer );
1131 *ppUnkControl = pUnkControl;
1133 IUnknown_AddRef( pUnkControl );
1137 IUnknown_Release( pUnkControl );
1139 IUnknown_Release( pContainer );
1165 if ( (*pfilled +
size) > *palloc )
1167 *palloc = ((*pfilled+
size) + 0xFF) & ~0xFF;
1182#define GET_WORD(x) (*(const WORD *)(x))
1183#define GET_DWORD(x) (*(const DWORD *)(x))
1184#define PUT_BLOCK(x,y) do {if (!advance_array(&output, &allocated, &filled, (x), (y))) return NULL;} while (0)
1185#define PUT_WORD(x) do {WORD w = (x);PUT_BLOCK(&w, 1);} while(0)
1188 DWORD allocated, filled;
1193 filled = 0; allocated = 256;
1250 filled = (filled + 1) & ~1;
1270 static const WCHAR AtlAxWin[] = {
'A',
't',
'l',
'A',
'x',
'W',
'i',
'n', 0};
1380 WARN(
"No container attached to %p\n",
hWnd );
1384 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface, &
IID_IUnknown, (
void**)
host);
1402 WARN(
"No control attached to %p\n",
hWnd );
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static const WCHAR nameW[]
void WINAPI AtlPixelToHiMetric(const SIZEL *lpPix, SIZEL *lpHiMetric)
static HRESULT WINAPI OleInPlaceSiteWindowless_SetCapture(IOleInPlaceSiteWindowless *iface, BOOL fCapture)
static HRESULT WINAPI OleControlSite_OnControlInfoChanged(IOleControlSite *This)
static HRESULT WINAPI OleInPlaceSiteWindowless_QueryInterface(IOleInPlaceSiteWindowless *iface, REFIID riid, void **ppv)
static ULONG WINAPI OleInPlaceFrame_AddRef(IOleInPlaceFrame *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_GetFocus(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleInPlaceFrame_InsertMenus(IOleInPlaceFrame *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
static HRESULT WINAPI OleClientSite_QueryInterface(IOleClientSite *iface, REFIID riid, void **ppv)
static BOOL advance_array(WORD **pptr, DWORD *palloc, DWORD *pfilled, const WORD *data, DWORD size)
static HRESULT WINAPI OleInPlaceSiteWindowless_OnDefWindowMessage(IOleInPlaceSiteWindowless *iface, UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd, IStream *pStream, IUnknown **ppUnkContainer, IUnknown **ppUnkControl, REFIID iidSink, IUnknown *punkSink, BSTR lic)
HRESULT WINAPI AtlAxCreateControlEx(const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, IUnknown **control, REFIID iidSink, IUnknown *punkSink)
static HRESULT WINAPI OleInPlaceFrame_GetWindow(IOleInPlaceFrame *iface, HWND *phWnd)
static HRESULT WINAPI OleInPlaceSiteWindowless_OnPosRectChange(IOleInPlaceSiteWindowless *iface, LPCRECT lprcPosRect)
static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
HRESULT WINAPI AtlAxCreateControlLic(const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, BSTR lic)
static ULONG WINAPI OleClientSite_Release(IOleClientSite *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_ContextSensitiveHelp(IOleInPlaceSiteWindowless *iface, BOOL fEnterMode)
static HRESULT WINAPI OleControlSite_GetExtendedControl(IOleControlSite *This, IDispatch **ppDisp)
static HRESULT WINAPI OleControlSite_TransformCoords(IOleControlSite *This, POINTL *pPtlHimetric, POINTF *pPtfContainer, DWORD dwFlags)
static void IOCS_OnSize(IOCS *This, LPCRECT rect)
static HRESULT WINAPI OleInPlaceSiteWindowless_GetWindowContext(IOleInPlaceSiteWindowless *iface, IOleInPlaceFrame **frame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
static HRESULT IOCS_Detach(IOCS *This)
static HRESULT WINAPI OleInPlaceSiteWindowless_CanWindowlessActivate(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_ScrollRect(IOleInPlaceSiteWindowless *iface, INT dx, INT dy, LPCRECT pRectScroll, LPCRECT pRectClip)
HRESULT WINAPI AtlAxAttachControl(IUnknown *control, HWND hWnd, IUnknown **container)
static HRESULT IOCS_Attach(IOCS *This, HWND hWnd, IUnknown *pUnkControl)
INT_PTR WINAPI AtlAxDialogBoxA(HINSTANCE hInst, LPCSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
static HRESULT WINAPI OleInPlaceSiteWindowless_GetCapture(IOleInPlaceSiteWindowless *iface)
static const IOleControlSiteVtbl OleControlSite_vtbl
static HRESULT IOCS_Create(HWND hWnd, IUnknown *pUnkControl, IUnknown **container)
static ULONG WINAPI OleContainer_Release(IOleContainer *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceDeactivateEx(IOleInPlaceSiteWindowless *iface, BOOL fNoRedraw)
static ULONG WINAPI OleClientSite_AddRef(IOleClientSite *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_RequestUIActivate(IOleInPlaceSiteWindowless *iface)
static ULONG WINAPI OleInPlaceFrame_Release(IOleInPlaceFrame *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_OnUIDeactivate(IOleInPlaceSiteWindowless *iface, BOOL fUndoable)
static HRESULT WINAPI OleInPlaceSiteWindowless_AdjustRect(IOleInPlaceSiteWindowless *iface, LPRECT prc)
static ULONG WINAPI OleInPlaceSiteWindowless_AddRef(IOleInPlaceSiteWindowless *iface)
static const IOleInPlaceSiteWindowlessVtbl OleInPlaceSiteWindowless_vtbl
static HRESULT WINAPI OleInPlaceFrame_GetBorder(IOleInPlaceFrame *iface, LPRECT lprectBorder)
static const IOleClientSiteVtbl OleClientSite_vtbl
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceActivateEx(IOleInPlaceSiteWindowless *iface, BOOL *pfNoRedraw, DWORD dwFlags)
static void IOCS_OnDraw(IOCS *This)
static HRESULT WINAPI OleControlSite_LockInPlaceActive(IOleControlSite *This, BOOL fLock)
static enum content get_content_type(LPCOLESTR name, CLSID *control_id)
static HRESULT WINAPI OleInPlaceFrame_SetMenu(IOleInPlaceFrame *iface, HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject)
static LRESULT IOCS_OnWndProc(IOCS *This, HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_InvalidateRect(IOleInPlaceSiteWindowless *iface, LPCRECT pRect, BOOL fErase)
static HRESULT WINAPI OleControlSite_QueryInterface(IOleControlSite *iface, REFIID riid, void **ppv)
static HRESULT WINAPI OleControlSite_ShowPropertyFrame(IOleControlSite *This)
static HRESULT WINAPI OleInPlaceFrame_TranslateAccelerator(IOleInPlaceFrame *iface, LPMSG lpmsg, WORD wID)
HWND WINAPI AtlAxCreateDialogA(HINSTANCE hInst, LPCSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
static HRESULT WINAPI OleInPlaceFrame_SetStatusText(IOleInPlaceFrame *iface, LPCOLESTR pszStatusText)
static HRESULT WINAPI OleControlSite_TranslateAccelerator(IOleControlSite *This, MSG *pMsg, DWORD grfModifiers)
static HRESULT WINAPI OleInPlaceSiteWindowless_InvalidateRgn(IOleInPlaceSiteWindowless *iface, HRGN hRGN, BOOL fErase)
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
static const WCHAR wine_atl_iocsW[]
static HRESULT WINAPI OleClientSite_ShowObject(IOleClientSite *iface)
static HRESULT WINAPI OleContainer_EnumObjects(IOleContainer *iface, DWORD grfFlags, IEnumUnknown **ppenum)
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceDeactivate(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleContainer_ParseDisplayName(IOleContainer *iface, IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
static HRESULT WINAPI OleInPlaceSiteWindowless_DiscardUndoState(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleContainer_LockContainer(IOleContainer *iface, BOOL fLock)
INT_PTR WINAPI AtlAxDialogBoxW(HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
HRESULT WINAPI AtlAxCreateControl(LPCOLESTR lpszName, HWND hWnd, IStream *pStream, IUnknown **ppUnkContainer)
static IOCS * impl_from_IOleContainer(IOleContainer *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceActivate(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleInPlaceFrame_RemoveMenus(IOleInPlaceFrame *iface, HMENU hmenuShared)
static HRESULT WINAPI OleInPlaceFrame_RequestBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
static HRESULT WINAPI OleInPlaceSiteWindowless_GetDC(IOleInPlaceSiteWindowless *iface, LPCRECT pRect, DWORD grfFlags, HDC *phDC)
static ULONG WINAPI OleInPlaceSiteWindowless_Release(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_SetFocus(IOleInPlaceSiteWindowless *iface, BOOL fFocus)
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
static HRESULT WINAPI OleContainer_QueryInterface(IOleContainer *iface, REFIID riid, void **ppv)
static HRESULT WINAPI OleClientSite_OnShowWindow(IOleClientSite *iface, BOOL fShow)
static HRESULT IOCS_Init(IOCS *This)
static HRESULT WINAPI OleInPlaceFrame_SetActiveObject(IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
static HRESULT WINAPI OleInPlaceSiteWindowless_ReleaseDC(IOleInPlaceSiteWindowless *iface, HDC hDC)
static ULONG WINAPI OleContainer_AddRef(IOleContainer *iface)
static IOCS * impl_from_IOleControlSite(IOleControlSite *iface)
static HRESULT WINAPI OleClientSite_GetMoniker(IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
HRESULT WINAPI AtlAxGetControl(HWND hWnd, IUnknown **pUnk)
static HRESULT WINAPI OleInPlaceSiteWindowless_Scroll(IOleInPlaceSiteWindowless *iface, SIZE scrollExtent)
static LRESULT CALLBACK AtlHost_wndproc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam)
HRESULT WINAPI AtlAxGetHost(HWND hWnd, IUnknown **host)
static ULONG WINAPI OleControlSite_AddRef(IOleControlSite *iface)
static ULONG WINAPI OleControlSite_Release(IOleControlSite *iface)
static HRESULT WINAPI OleInPlaceFrame_EnableModeless(IOleInPlaceFrame *iface, BOOL fEnable)
static HRESULT WINAPI OleInPlaceFrame_QueryInterface(IOleInPlaceFrame *iface, REFIID riid, void **ppv)
static HRESULT WINAPI OleClientSite_SaveObject(IOleClientSite *iface)
static HRESULT WINAPI OleInPlaceFrame_SetBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
static void IOCS_OnShow(IOCS *This, BOOL fShow)
static const IOleContainerVtbl OleContainer_vtbl
static HRESULT WINAPI OleInPlaceSiteWindowless_CanInPlaceActivate(IOleInPlaceSiteWindowless *iface)
static HRESULT WINAPI OleInPlaceFrame_ContextSensitiveHelp(IOleInPlaceFrame *iface, BOOL fEnterMode)
static HRESULT WINAPI OleInPlaceSiteWindowless_DeactivateAndUndo(IOleInPlaceSiteWindowless *iface)
static const IOleInPlaceFrameVtbl OleInPlaceFrame_vtbl
static HRESULT WINAPI OleInPlaceSiteWindowless_GetWindow(IOleInPlaceSiteWindowless *iface, HWND *phwnd)
static LRESULT CALLBACK AtlAxWin_wndproc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam)
static HRESULT WINAPI OleClientSite_RequestNewObjectLayout(IOleClientSite *iface)
static HRESULT WINAPI OleInPlaceSiteWindowless_OnUIActivate(IOleInPlaceSiteWindowless *iface)
HWND WINAPI AtlAxCreateDialogW(HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
static HRESULT WINAPI OleControlSite_OnFocus(IOleControlSite *This, BOOL fGotFocus)
BOOL WINAPI AtlAxWinInit(void)
static HRESULT WINAPI OleClientSite_GetContainer(IOleClientSite *iface, IOleContainer **container)
#define HeapFree(x, y, z)
#define MultiByteToWideChar
static const WCHAR *const ext[]
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
BOOL WINAPI FreeResource(HGLOBAL handle)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI DECLSPEC_HOTPATCH CLSIDFromProgID(LPCOLESTR progid, LPCLSID clsid)
HRESULT WINAPI CLSIDFromString(LPCOLESTR idstr, LPCLSID id)
HRESULT WINAPI DECLSPEC_HOTPATCH OleInitialize(LPVOID reserved)
HRESULT WINAPI UrlApplySchemeW(LPCWSTR pszIn, LPWSTR pszOut, LPDWORD pcchOut, DWORD dwFlags)
BOOL WINAPI PathIsURLW(LPCWSTR lpstrPath)
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLdouble GLdouble GLdouble r
GLuint GLsizei GLsizei * length
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define OLEIVERB_INPLACEACTIVATE
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
const GUID IID_IOleInPlaceSite
const GUID IID_IViewObject
const GUID IID_IOleContainer
const GUID IID_IOleInPlaceFrame
const GUID IID_IOleControlSite
const GUID IID_IOleClientSite
const GUID IID_IOleInPlaceObject
const GUID IID_IOleObject
const GUID IID_IPersistStreamInit
#define IsEqualIID(riid1, riid2)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
#define URL_APPLY_GUESSSCHEME
#define URL_APPLY_GUESSFILE
IOleContainer IOleContainer_iface
IOleControlSite IOleControlSite_iface
IOleInPlaceSiteWindowless IOleInPlaceSiteWindowless_iface
IOleClientSite IOleClientSite_iface
IOleInPlaceFrame IOleInPlaceFrame_iface
TW_UINT32 TW_UINT16 TW_UINT16 MSG
#define RtlMoveMemory(Destination, Source, Length)
#define CONTAINING_RECORD(address, type, field)
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
INT_PTR WINAPI DialogBoxIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
HANDLE WINAPI RemovePropW(_In_ HWND, _In_ LPCWSTR)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define IS_INTRESOURCE(i)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE)
ATOM WINAPI RegisterClassExW(_In_ CONST WNDCLASSEXW *)
HDC WINAPI GetDC(_In_opt_ HWND)
int WINAPI GetWindowTextLengthW(_In_ HWND)
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
#define SetWindowLongPtrW
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI CreateDialogIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)