ReactOS  0.4.14-dev-41-g31d7680
atl_ax.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winuser.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "objbase.h"
#include "objidl.h"
#include "ole2.h"
#include "exdisp.h"
#include "wine/atlbase.h"
#include "atliface.h"
#include "wine/atlwin.h"
#include "shlwapi.h"
#include "wine/unicode.h"
Include dependency graph for atl_ax.c:

Go to the source code of this file.

Classes

struct  IOCS
 

Macros

#define COBJMACROS
 
#define ATL_NAME_SUFFIX   0
 
#define GET_WORD(x)   (*(const WORD *)(x))
 
#define GET_DWORD(x)   (*(const DWORD *)(x))
 
#define PUT_BLOCK(x, y)   do {if (!advance_array(&output, &allocated, &filled, (x), (y))) return NULL;} while (0)
 
#define PUT_WORD(x)   do {WORD w = (x);PUT_BLOCK(&w, 1);} while(0)
 

Typedefs

typedef struct IOCS IOCS
 

Enumerations

enum  content {
  IsEmpty = 0, IsGUID = 1, IsHTML = 2, IsURL = 3,
  IsUnknown = 4
}
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (atl)
 
static LRESULT CALLBACK AtlAxWin_wndproc (HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam)
 
BOOL WINAPI AtlAxWinInit (void)
 
static IOCSimpl_from_IOleClientSite (IOleClientSite *iface)
 
static HRESULT IOCS_Detach (IOCS *This)
 
static HRESULT WINAPI OleClientSite_QueryInterface (IOleClientSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleClientSite_AddRef (IOleClientSite *iface)
 
static ULONG WINAPI OleClientSite_Release (IOleClientSite *iface)
 
static HRESULT WINAPI OleClientSite_SaveObject (IOleClientSite *iface)
 
static HRESULT WINAPI OleClientSite_GetMoniker (IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
 
static HRESULT WINAPI OleClientSite_GetContainer (IOleClientSite *iface, IOleContainer **container)
 
static HRESULT WINAPI OleClientSite_ShowObject (IOleClientSite *iface)
 
static HRESULT WINAPI OleClientSite_OnShowWindow (IOleClientSite *iface, BOOL fShow)
 
static HRESULT WINAPI OleClientSite_RequestNewObjectLayout (IOleClientSite *iface)
 
static IOCSimpl_from_IOleContainer (IOleContainer *iface)
 
static HRESULT WINAPI OleContainer_QueryInterface (IOleContainer *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleContainer_AddRef (IOleContainer *iface)
 
static ULONG WINAPI OleContainer_Release (IOleContainer *iface)
 
static HRESULT WINAPI OleContainer_ParseDisplayName (IOleContainer *iface, IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
 
static HRESULT WINAPI OleContainer_EnumObjects (IOleContainer *iface, DWORD grfFlags, IEnumUnknown **ppenum)
 
static HRESULT WINAPI OleContainer_LockContainer (IOleContainer *iface, BOOL fLock)
 
static IOCSimpl_from_IOleInPlaceSiteWindowless (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_QueryInterface (IOleInPlaceSiteWindowless *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleInPlaceSiteWindowless_AddRef (IOleInPlaceSiteWindowless *iface)
 
static ULONG WINAPI OleInPlaceSiteWindowless_Release (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_GetWindow (IOleInPlaceSiteWindowless *iface, HWND *phwnd)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_ContextSensitiveHelp (IOleInPlaceSiteWindowless *iface, BOOL fEnterMode)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_CanInPlaceActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnUIActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_GetWindowContext (IOleInPlaceSiteWindowless *iface, IOleInPlaceFrame **frame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_Scroll (IOleInPlaceSiteWindowless *iface, SIZE scrollExtent)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnUIDeactivate (IOleInPlaceSiteWindowless *iface, BOOL fUndoable)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceDeactivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_DiscardUndoState (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_DeactivateAndUndo (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnPosRectChange (IOleInPlaceSiteWindowless *iface, LPCRECT lprcPosRect)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceActivateEx (IOleInPlaceSiteWindowless *iface, BOOL *pfNoRedraw, DWORD dwFlags)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceDeactivateEx (IOleInPlaceSiteWindowless *iface, BOOL fNoRedraw)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_RequestUIActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_CanWindowlessActivate (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_GetCapture (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_SetCapture (IOleInPlaceSiteWindowless *iface, BOOL fCapture)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_GetFocus (IOleInPlaceSiteWindowless *iface)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_SetFocus (IOleInPlaceSiteWindowless *iface, BOOL fFocus)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_GetDC (IOleInPlaceSiteWindowless *iface, LPCRECT pRect, DWORD grfFlags, HDC *phDC)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_ReleaseDC (IOleInPlaceSiteWindowless *iface, HDC hDC)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_InvalidateRect (IOleInPlaceSiteWindowless *iface, LPCRECT pRect, BOOL fErase)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_InvalidateRgn (IOleInPlaceSiteWindowless *iface, HRGN hRGN, BOOL fErase)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_ScrollRect (IOleInPlaceSiteWindowless *iface, INT dx, INT dy, LPCRECT pRectScroll, LPCRECT pRectClip)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_AdjustRect (IOleInPlaceSiteWindowless *iface, LPRECT prc)
 
static HRESULT WINAPI OleInPlaceSiteWindowless_OnDefWindowMessage (IOleInPlaceSiteWindowless *iface, UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
 
static IOCSimpl_from_IOleInPlaceFrame (IOleInPlaceFrame *iface)
 
static HRESULT WINAPI OleInPlaceFrame_QueryInterface (IOleInPlaceFrame *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleInPlaceFrame_AddRef (IOleInPlaceFrame *iface)
 
static ULONG WINAPI OleInPlaceFrame_Release (IOleInPlaceFrame *iface)
 
static HRESULT WINAPI OleInPlaceFrame_GetWindow (IOleInPlaceFrame *iface, HWND *phWnd)
 
static HRESULT WINAPI OleInPlaceFrame_ContextSensitiveHelp (IOleInPlaceFrame *iface, BOOL fEnterMode)
 
static HRESULT WINAPI OleInPlaceFrame_GetBorder (IOleInPlaceFrame *iface, LPRECT lprectBorder)
 
static HRESULT WINAPI OleInPlaceFrame_RequestBorderSpace (IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI OleInPlaceFrame_SetBorderSpace (IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI OleInPlaceFrame_SetActiveObject (IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
 
static HRESULT WINAPI OleInPlaceFrame_InsertMenus (IOleInPlaceFrame *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
 
static HRESULT WINAPI OleInPlaceFrame_SetMenu (IOleInPlaceFrame *iface, HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject)
 
static HRESULT WINAPI OleInPlaceFrame_RemoveMenus (IOleInPlaceFrame *iface, HMENU hmenuShared)
 
static HRESULT WINAPI OleInPlaceFrame_SetStatusText (IOleInPlaceFrame *iface, LPCOLESTR pszStatusText)
 
static HRESULT WINAPI OleInPlaceFrame_EnableModeless (IOleInPlaceFrame *iface, BOOL fEnable)
 
static HRESULT WINAPI OleInPlaceFrame_TranslateAccelerator (IOleInPlaceFrame *iface, LPMSG lpmsg, WORD wID)
 
static IOCSimpl_from_IOleControlSite (IOleControlSite *iface)
 
static HRESULT WINAPI OleControlSite_QueryInterface (IOleControlSite *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI OleControlSite_AddRef (IOleControlSite *iface)
 
static ULONG WINAPI OleControlSite_Release (IOleControlSite *iface)
 
static HRESULT WINAPI OleControlSite_OnControlInfoChanged (IOleControlSite *This)
 
static HRESULT WINAPI OleControlSite_LockInPlaceActive (IOleControlSite *This, BOOL fLock)
 
static HRESULT WINAPI OleControlSite_GetExtendedControl (IOleControlSite *This, IDispatch **ppDisp)
 
static HRESULT WINAPI OleControlSite_TransformCoords (IOleControlSite *This, POINTL *pPtlHimetric, POINTF *pPtfContainer, DWORD dwFlags)
 
static HRESULT WINAPI OleControlSite_TranslateAccelerator (IOleControlSite *This, MSG *pMsg, DWORD grfModifiers)
 
static HRESULT WINAPI OleControlSite_OnFocus (IOleControlSite *This, BOOL fGotFocus)
 
static HRESULT WINAPI OleControlSite_ShowPropertyFrame (IOleControlSite *This)
 
static void IOCS_OnSize (IOCS *This, LPCRECT rect)
 
static void IOCS_OnShow (IOCS *This, BOOL fShow)
 
static void IOCS_OnDraw (IOCS *This)
 
static LRESULT IOCS_OnWndProc (IOCS *This, HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static LRESULT CALLBACK AtlHost_wndproc (HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam)
 
static HRESULT IOCS_Attach (IOCS *This, HWND hWnd, IUnknown *pUnkControl)
 
static HRESULT IOCS_Init (IOCS *This)
 
static HRESULT IOCS_Create (HWND hWnd, IUnknown *pUnkControl, IUnknown **container)
 
HRESULT WINAPI AtlAxCreateControl (LPCOLESTR lpszName, HWND hWnd, IStream *pStream, IUnknown **ppUnkContainer)
 
static enum content get_content_type (LPCOLESTR name, CLSID *control_id)
 
HRESULT WINAPI AtlAxCreateControlLicEx (LPCOLESTR lpszName, HWND hWnd, IStream *pStream, IUnknown **ppUnkContainer, IUnknown **ppUnkControl, REFIID iidSink, IUnknown *punkSink, BSTR lic)
 
HRESULT WINAPI AtlAxAttachControl (IUnknown *control, HWND hWnd, IUnknown **container)
 
static BOOL advance_array (WORD **pptr, DWORD *palloc, DWORD *pfilled, const WORD *data, DWORD size)
 
static LPDLGTEMPLATEW AX_ConvertDialogTemplate (LPCDLGTEMPLATEW src_tmpl)
 
HWND WINAPI AtlAxCreateDialogA (HINSTANCE hInst, LPCSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
 
HWND WINAPI AtlAxCreateDialogW (HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
 
HRESULT WINAPI AtlAxGetHost (HWND hWnd, IUnknown **host)
 
HRESULT WINAPI AtlAxGetControl (HWND hWnd, IUnknown **pUnk)
 
INT_PTR WINAPI AtlAxDialogBoxA (HINSTANCE hInst, LPCSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
 
INT_PTR WINAPI AtlAxDialogBoxW (HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
 
HRESULT WINAPI AtlAxCreateControlLic (const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, BSTR lic)
 
HRESULT WINAPI AtlAxCreateControlEx (const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, IUnknown **control, REFIID iidSink, IUnknown *punkSink)
 

Variables

static const WCHAR wine_atl_iocsW [] = {'_','_','W','I','N','E','_','A','T','L','_','I','O','C','S','\0'}
 
static const IOleClientSiteVtbl OleClientSite_vtbl
 
static const IOleContainerVtbl OleContainer_vtbl
 
static const IOleInPlaceSiteWindowlessVtbl OleInPlaceSiteWindowless_vtbl
 
static const IOleInPlaceFrameVtbl OleInPlaceFrame_vtbl
 
static const IOleControlSiteVtbl OleControlSite_vtbl
 

Macro Definition Documentation

◆ ATL_NAME_SUFFIX

#define ATL_NAME_SUFFIX   0

◆ COBJMACROS

#define COBJMACROS

Definition at line 24 of file atl_ax.c.

◆ GET_DWORD

#define GET_DWORD (   x)    (*(const DWORD *)(x))

◆ GET_WORD

#define GET_WORD (   x)    (*(const WORD *)(x))

◆ PUT_BLOCK

#define PUT_BLOCK (   x,
  y 
)    do {if (!advance_array(&output, &allocated, &filled, (x), (y))) return NULL;} while (0)

◆ PUT_WORD

#define PUT_WORD (   x)    do {WORD w = (x);PUT_BLOCK(&w, 1);} while(0)

Typedef Documentation

◆ IOCS

typedef struct IOCS IOCS

Enumeration Type Documentation

◆ content

Enumerator
IsEmpty 
IsGUID 
IsHTML 
IsURL 
IsUnknown 

Definition at line 994 of file atl_ax.c.

995 {
996  IsEmpty = 0,
997  IsGUID = 1,
998  IsHTML = 2,
999  IsURL = 3,
1000  IsUnknown = 4
1001 };
Definition: atl_ax.c:997
Definition: atl_ax.c:999
Definition: atl_ax.c:998

Function Documentation

◆ advance_array()

static BOOL advance_array ( WORD **  pptr,
DWORD palloc,
DWORD pfilled,
const WORD data,
DWORD  size 
)
inlinestatic

Definition at line 1164 of file atl_ax.c.

1165 {
1166  if ( (*pfilled + size) > *palloc )
1167  {
1168  *palloc = ((*pfilled+size) + 0xFF) & ~0xFF;
1169  *pptr = HeapReAlloc( GetProcessHeap(), 0, *pptr, *palloc * sizeof(WORD) );
1170  if (!*pptr)
1171  return FALSE;
1172  }
1173  RtlMoveMemory( *pptr+*pfilled, data, size * sizeof(WORD) );
1174  *pfilled += size;
1175  return TRUE;
1176 }
#define TRUE
Definition: types.h:120
#define RtlMoveMemory(Destination, Source, Length)
Definition: typedefs.h:263
GLsizeiptr size
Definition: glext.h:5919
#define GetProcessHeap()
Definition: compat.h:395
unsigned short WORD
Definition: ntddk_ex.h:93
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
#define HeapReAlloc
Definition: compat.h:393

◆ AtlAxAttachControl()

HRESULT WINAPI AtlAxAttachControl ( IUnknown control,
HWND  hWnd,
IUnknown **  container 
)

Definition at line 1148 of file atl_ax.c.

1149 {
1150  HRESULT hr;
1151 
1152  TRACE("(%p %p %p)\n", control, hWnd, container);
1153 
1154  if (!control)
1155  return E_INVALIDARG;
1156 
1157  hr = IOCS_Create( hWnd, control, container );
1158  return hWnd ? hr : S_FALSE;
1159 }
HRESULT hr
Definition: shlfolder.c:183
HWND hWnd
Definition: settings.c:17
static HRESULT IOCS_Create(HWND hWnd, IUnknown *pUnkControl, IUnknown **container)
Definition: atl_ax.c:944
#define S_FALSE
Definition: winerror.h:2357
#define E_INVALIDARG
Definition: ddrawi.h:101
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77

Referenced by AtlAxCreateControlLicEx(), and test_AtlAxAttachControl().

◆ AtlAxCreateControl()

HRESULT WINAPI AtlAxCreateControl ( LPCOLESTR  lpszName,
HWND  hWnd,
IStream pStream,
IUnknown **  ppUnkContainer 
)

Definition at line 987 of file atl_ax.c.

989 {
990  return AtlAxCreateControlEx( lpszName, hWnd, pStream, ppUnkContainer,
991  NULL, NULL, NULL );
992 }
HWND hWnd
Definition: settings.c:17
smooth NULL
Definition: ftsmooth.c:416
HRESULT WINAPI AtlAxCreateControlEx(const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, IUnknown **control, REFIID iidSink, IUnknown *punkSink)
Definition: atl_ax.c:1484

◆ AtlAxCreateControlEx()

HRESULT WINAPI AtlAxCreateControlEx ( const WCHAR lpTricsData,
HWND  hwnd,
IStream stream,
IUnknown **  container,
IUnknown **  control,
REFIID  iidSink,
IUnknown punkSink 
)

Definition at line 1484 of file atl_ax.c.

1486 {
1487  return AtlAxCreateControlLicEx(lpTricsData, hwnd, stream, container, control, iidSink, punkSink, NULL);
1488 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd, IStream *pStream, IUnknown **ppUnkContainer, IUnknown **ppUnkControl, REFIID iidSink, IUnknown *punkSink, BSTR lic)
Definition: atl_ax.c:1043
smooth NULL
Definition: ftsmooth.c:416
Definition: parse.h:22

Referenced by AtlAxCreateControl(), AtlAxWin_wndproc(), and test_AtlAxCreateControl().

◆ AtlAxCreateControlLic()

HRESULT WINAPI AtlAxCreateControlLic ( const WCHAR lpTricsData,
HWND  hwnd,
IStream stream,
IUnknown **  container,
BSTR  lic 
)

Definition at line 1475 of file atl_ax.c.

1476 {
1477  return AtlAxCreateControlLicEx(lpTricsData, hwnd, stream, container, NULL, NULL, NULL, lic);
1478 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd, IStream *pStream, IUnknown **ppUnkContainer, IUnknown **ppUnkControl, REFIID iidSink, IUnknown *punkSink, BSTR lic)
Definition: atl_ax.c:1043
smooth NULL
Definition: ftsmooth.c:416
Definition: parse.h:22

◆ AtlAxCreateControlLicEx()

HRESULT WINAPI AtlAxCreateControlLicEx ( LPCOLESTR  lpszName,
HWND  hWnd,
IStream pStream,
IUnknown **  ppUnkContainer,
IUnknown **  ppUnkControl,
REFIID  iidSink,
IUnknown punkSink,
BSTR  lic 
)

Definition at line 1043 of file atl_ax.c.

1046 {
1047  CLSID controlId;
1048  HRESULT hRes;
1049  IOleObject *pControl;
1050  IUnknown *pUnkControl = NULL;
1051  IPersistStreamInit *pPSInit;
1052  IUnknown *pContainer = NULL;
1053  enum content content;
1054 
1055  TRACE("(%s %p %p %p %p %p %p %s)\n", debugstr_w(lpszName), hWnd, pStream,
1056  ppUnkContainer, ppUnkControl, iidSink, punkSink, debugstr_w(lic));
1057 
1058  if (lic)
1059  FIXME("semi stub\n");
1060 
1061  if (ppUnkContainer) *ppUnkContainer = NULL;
1062  if (ppUnkControl) *ppUnkControl = NULL;
1063 
1064  content = get_content_type(lpszName, &controlId);
1065 
1066  if (content == IsEmpty)
1067  return S_OK;
1068 
1069  if (content == IsUnknown)
1070  return CO_E_CLASSSTRING;
1071 
1072  hRes = CoCreateInstance( &controlId, 0, CLSCTX_ALL, &IID_IOleObject,
1073  (void**) &pControl );
1074  if ( FAILED( hRes ) )
1075  {
1076  WARN( "cannot create ActiveX control %s instance - error 0x%08x\n",
1077  debugstr_guid( &controlId ), hRes );
1078  return hRes;
1079  }
1080 
1081  hRes = IOleObject_QueryInterface( pControl, &IID_IPersistStreamInit, (void**) &pPSInit );
1082  if ( SUCCEEDED( hRes ) )
1083  {
1084  if (!pStream)
1085  IPersistStreamInit_InitNew( pPSInit );
1086  else
1087  IPersistStreamInit_Load( pPSInit, pStream );
1088  IPersistStreamInit_Release( pPSInit );
1089  } else
1090  WARN("cannot get IID_IPersistStreamInit out of control\n");
1091 
1092  IOleObject_QueryInterface( pControl, &IID_IUnknown, (void**) &pUnkControl );
1093  IOleObject_Release( pControl );
1094 
1095 
1096  hRes = AtlAxAttachControl( pUnkControl, hWnd, &pContainer );
1097  if ( FAILED( hRes ) )
1098  WARN("cannot attach control to window\n");
1099 
1100  if ( content == IsURL )
1101  {
1102  IWebBrowser2 *browser;
1103 
1104  hRes = IOleObject_QueryInterface( pControl, &IID_IWebBrowser2, (void**) &browser );
1105  if ( !browser )
1106  WARN( "Cannot query IWebBrowser2 interface: %08x\n", hRes );
1107  else {
1108  VARIANT url;
1109 
1110  IWebBrowser2_put_Visible( browser, VARIANT_TRUE ); /* it seems that native does this on URL (but do not on MSHTML:! why? */
1111 
1112  V_VT(&url) = VT_BSTR;
1113  V_BSTR(&url) = SysAllocString( lpszName );
1114 
1115  hRes = IWebBrowser2_Navigate2( browser, &url, NULL, NULL, NULL, NULL );
1116  if ( FAILED( hRes ) )
1117  WARN( "IWebBrowser2::Navigate2 failed: %08x\n", hRes );
1118  SysFreeString( V_BSTR(&url) );
1119 
1120  IWebBrowser2_Release( browser );
1121  }
1122  }
1123 
1124  if (ppUnkContainer)
1125  {
1126  *ppUnkContainer = pContainer;
1127  if ( pContainer )
1128  IUnknown_AddRef( pContainer );
1129  }
1130  if (ppUnkControl)
1131  {
1132  *ppUnkControl = pUnkControl;
1133  if ( pUnkControl )
1134  IUnknown_AddRef( pUnkControl );
1135  }
1136 
1137  if ( pUnkControl )
1138  IUnknown_Release( pUnkControl );
1139  if ( pContainer )
1140  IUnknown_Release( pContainer );
1141 
1142  return S_OK;
1143 }
#define WARN(fmt,...)
Definition: debug.h:111
HWND hWnd
Definition: settings.c:17
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
content
Definition: atl_ax.c:994
smooth NULL
Definition: ftsmooth.c:416
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
Definition: atl_ax.c:999
#define debugstr_guid
Definition: kernel32.h:35
static enum content get_content_type(LPCOLESTR name, CLSID *control_id)
Definition: atl_ax.c:1003
const GUID IID_IOleObject
#define TRACE(s)
Definition: solgame.cpp:4
LONG HRESULT
Definition: typedefs.h:77
static const WCHAR url[]
Definition: encode.c:1432
const GUID IID_IUnknown
HRESULT WINAPI AtlAxAttachControl(IUnknown *control, HWND hWnd, IUnknown **container)
Definition: atl_ax.c:1148
const GUID IID_IPersistStreamInit
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
Definition: compobj.c:3234
#define S_OK
Definition: intsafe.h:59
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
Definition: oleaut.c:274
#define CO_E_CLASSSTRING
Definition: winerror.h:2806
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by AtlAxCreateControlEx(), and AtlAxCreateControlLic().

◆ AtlAxCreateDialogA()

HWND WINAPI AtlAxCreateDialogA ( HINSTANCE  hInst,
LPCSTR  name,
HWND  owner,
DLGPROC  dlgProc,
LPARAM  param 
)

Definition at line 1307 of file atl_ax.c.

1308 {
1309  HWND res = NULL;
1310  int length;
1311  WCHAR *nameW;
1312 
1313  if (IS_INTRESOURCE(name))
1314  return AtlAxCreateDialogW( hInst, (LPCWSTR) name, owner, dlgProc, param );
1315 
1316  length = MultiByteToWideChar( CP_ACP, 0, name, -1, NULL, 0 );
1317  nameW = HeapAlloc( GetProcessHeap(), 0, length * sizeof(WCHAR) );
1318  if (nameW)
1319  {
1321  res = AtlAxCreateDialogW( hInst, nameW, owner, dlgProc, param );
1322  HeapFree( GetProcessHeap(), 0, nameW );
1323  }
1324  return res;
1325 }
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define CP_ACP
Definition: compat.h:99
smooth NULL
Definition: ftsmooth.c:416
static const WCHAR nameW[]
Definition: main.c:46
#define IS_INTRESOURCE(i)
Definition: winuser.h:580
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
__wchar_t WCHAR
Definition: xmlstorage.h:180
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
GLfloat param
Definition: glext.h:5796
HINSTANCE hInst
Definition: dxdiag.c:13
HWND WINAPI AtlAxCreateDialogW(HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
Definition: atl_ax.c:1333
#define MultiByteToWideChar
Definition: compat.h:100
Definition: name.c:36
GLuint res
Definition: glext.h:9613
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ AtlAxCreateDialogW()

HWND WINAPI AtlAxCreateDialogW ( HINSTANCE  hInst,
LPCWSTR  name,
HWND  owner,
DLGPROC  dlgProc,
LPARAM  param 
)

Definition at line 1333 of file atl_ax.c.

1334 {
1335  HRSRC hrsrc;
1336  HGLOBAL hgl;
1338  LPDLGTEMPLATEW newptr;
1339  HWND res;
1340 
1341  TRACE("(%p %s %p %p %lx)\n", hInst, debugstr_w(name), owner, dlgProc, param);
1342 
1343  hrsrc = FindResourceW( hInst, name, (LPWSTR)RT_DIALOG );
1344  if ( !hrsrc )
1345  return NULL;
1346  hgl = LoadResource (hInst, hrsrc);
1347  if ( !hgl )
1348  return NULL;
1349  ptr = LockResource ( hgl );
1350  if (!ptr)
1351  {
1352  FreeResource( hgl );
1353  return NULL;
1354  }
1355  newptr = AX_ConvertDialogTemplate( ptr );
1356  if ( newptr )
1357  {
1358  res = CreateDialogIndirectParamW( hInst, newptr, owner, dlgProc, param );
1359  HeapFree( GetProcessHeap(), 0, newptr );
1360  } else
1361  res = NULL;
1362  FreeResource ( hrsrc );
1363  return res;
1364 }
HWND WINAPI CreateDialogIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
LPVOID WINAPI LockResource(HGLOBAL handle)
Definition: res.c:550
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
Definition: res.c:176
#define debugstr_w
Definition: kernel32.h:32
BOOL WINAPI FreeResource(HGLOBAL handle)
Definition: res.c:559
static PVOID ptr
Definition: dispmode.c:27
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
Definition: res.c:532
smooth NULL
Definition: ftsmooth.c:416
#define RT_DIALOG
Definition: pedump.c:367
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
GLfloat param
Definition: glext.h:5796
static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
Definition: atl_ax.c:1181
HINSTANCE hInst
Definition: dxdiag.c:13
Definition: name.c:36
GLuint res
Definition: glext.h:9613
WCHAR * LPWSTR
Definition: xmlstorage.h:184
#define HeapFree(x, y, z)
Definition: compat.h:394

Referenced by AtlAxCreateDialogA().

◆ AtlAxDialogBoxA()

INT_PTR WINAPI AtlAxDialogBoxA ( HINSTANCE  hInst,
LPCSTR  name,
HWND  owner,
DLGPROC  dlgProc,
LPARAM  param 
)

Definition at line 1414 of file atl_ax.c.

1415 {
1416  INT_PTR res = 0;
1417  int length;
1418  WCHAR *nameW;
1419 
1420  if (IS_INTRESOURCE(name))
1421  return AtlAxDialogBoxW( hInst, (LPCWSTR) name, owner, dlgProc, param );
1422 
1423  length = MultiByteToWideChar( CP_ACP, 0, name, -1, NULL, 0 );
1424  nameW = heap_alloc( length * sizeof(WCHAR) );
1425  if (nameW)
1426  {
1428  res = AtlAxDialogBoxW( hInst, nameW, owner, dlgProc, param );
1429  heap_free( nameW );
1430  }
1431  return res;
1432 }
INT_PTR WINAPI AtlAxDialogBoxW(HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPROC dlgProc, LPARAM param)
Definition: atl_ax.c:1438
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define CP_ACP
Definition: compat.h:99
int32_t INT_PTR
Definition: typedefs.h:62
static void * heap_alloc(size_t len)
Definition: appwiz.h:65
smooth NULL
Definition: ftsmooth.c:416
static const WCHAR nameW[]
Definition: main.c:46
#define IS_INTRESOURCE(i)
Definition: winuser.h:580
__wchar_t WCHAR
Definition: xmlstorage.h:180
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
GLfloat param
Definition: glext.h:5796
HINSTANCE hInst
Definition: dxdiag.c:13
#define MultiByteToWideChar
Definition: compat.h:100
Definition: name.c:36
GLuint res
Definition: glext.h:9613
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ AtlAxDialogBoxW()

INT_PTR WINAPI AtlAxDialogBoxW ( HINSTANCE  hInst,
LPCWSTR  name,
HWND  owner,
DLGPROC  dlgProc,
LPARAM  param 
)

Definition at line 1438 of file atl_ax.c.

1439 {
1440  HRSRC hrsrc;
1441  HGLOBAL hgl;
1443  LPDLGTEMPLATEW newptr;
1444  INT_PTR res;
1445 
1446  TRACE("(%p %s %p %p %lx)\n", hInst, debugstr_w(name), owner, dlgProc, param);
1447 
1448  hrsrc = FindResourceW( hInst, name, (LPWSTR)RT_DIALOG );
1449  if ( !hrsrc )
1450  return 0;
1451  hgl = LoadResource (hInst, hrsrc);
1452  if ( !hgl )
1453  return 0;
1454  ptr = LockResource ( hgl );
1455  if (!ptr)
1456  {
1457  FreeResource( hgl );
1458  return 0;
1459  }
1460  newptr = AX_ConvertDialogTemplate( ptr );
1461  if ( newptr )
1462  {
1463  res = DialogBoxIndirectParamW( hInst, newptr, owner, dlgProc, param );
1464  heap_free( newptr );
1465  } else
1466  res = 0;
1467  FreeResource ( hrsrc );
1468  return res;
1469 }
LPVOID WINAPI LockResource(HGLOBAL handle)
Definition: res.c:550
int32_t INT_PTR
Definition: typedefs.h:62
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
Definition: res.c:176
#define debugstr_w
Definition: kernel32.h:32
BOOL WINAPI FreeResource(HGLOBAL handle)
Definition: res.c:559
static PVOID ptr
Definition: dispmode.c:27
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
Definition: res.c:532
#define RT_DIALOG
Definition: pedump.c:367
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat param
Definition: glext.h:5796
static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
Definition: atl_ax.c:1181
HINSTANCE hInst
Definition: dxdiag.c:13
INT_PTR WINAPI DialogBoxIndirectParamW(_In_opt_ HINSTANCE, _In_ LPCDLGTEMPLATE, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
Definition: name.c:36
GLuint res
Definition: glext.h:9613
WCHAR * LPWSTR
Definition: xmlstorage.h:184
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

Referenced by AtlAxDialogBoxA().

◆ AtlAxGetControl()

HRESULT WINAPI AtlAxGetControl ( HWND  hWnd,
IUnknown **  pUnk 
)

Definition at line 1392 of file atl_ax.c.

1393 {
1394  IOCS *This;
1395 
1396  TRACE( "(%p, %p)\n", hWnd, pUnk );
1397 
1398  *pUnk = NULL;
1399 
1401  if ( !This || !This->control )
1402  {
1403  WARN("No control attached to %p\n", hWnd );
1404  return E_FAIL;
1405  }
1406 
1407  return IOleObject_QueryInterface( This->control, &IID_IUnknown, (void**) pUnk );
1408 }
Definition: atl_ax.c:45
#define WARN(fmt,...)
Definition: debug.h:111
HWND hWnd
Definition: settings.c:17
#define E_FAIL
Definition: ddrawi.h:102
static const WCHAR wine_atl_iocsW[]
Definition: atl_ax.c:60
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30

Referenced by test_ax_win().

◆ AtlAxGetHost()

HRESULT WINAPI AtlAxGetHost ( HWND  hWnd,
IUnknown **  host 
)

Definition at line 1370 of file atl_ax.c.

1371 {
1372  IOCS *This;
1373 
1374  TRACE("(%p, %p)\n", hWnd, host);
1375 
1376  *host = NULL;
1377 
1379  if ( !This )
1380  {
1381  WARN("No container attached to %p\n", hWnd );
1382  return E_FAIL;
1383  }
1384 
1385  return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, &IID_IUnknown, (void**)host);
1386 }
Definition: atl_ax.c:45
#define WARN(fmt,...)
Definition: debug.h:111
char * host
Definition: whois.c:55
HWND hWnd
Definition: settings.c:17
#define E_FAIL
Definition: ddrawi.h:102
static const WCHAR wine_atl_iocsW[]
Definition: atl_ax.c:60
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)

◆ AtlAxWin_wndproc()

static LRESULT CALLBACK AtlAxWin_wndproc ( HWND  hWnd,
UINT  wMsg,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 65 of file atl_ax.c.

66 {
67  if ( wMsg == WM_CREATE )
68  {
70  WCHAR *ptr = HeapAlloc( GetProcessHeap(), 0, len*sizeof(WCHAR) );
71  if (!ptr)
72  return 1;
75  HeapFree( GetProcessHeap(), 0, ptr );
76  return 0;
77  }
78  return DefWindowProcW( hWnd, wMsg, wParam, lParam );
79 }
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
static PVOID ptr
Definition: dispmode.c:27
smooth NULL
Definition: ftsmooth.c:416
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
__wchar_t WCHAR
Definition: xmlstorage.h:180
int WINAPI GetWindowTextLengthW(_In_ HWND)
unsigned long DWORD
Definition: ntddk_ex.h:95
GLenum GLsizei len
Definition: glext.h:6722
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
Definition: window.c:1408
#define WM_CREATE
Definition: winuser.h:1590
HRESULT WINAPI AtlAxCreateControlEx(const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, IUnknown **control, REFIID iidSink, IUnknown *punkSink)
Definition: atl_ax.c:1484
LPARAM lParam
Definition: combotst.c:139
#define HeapFree(x, y, z)
Definition: compat.h:394

Referenced by AtlAxWinInit().

◆ AtlAxWinInit()

BOOL WINAPI AtlAxWinInit ( void  )

Definition at line 90 of file atl_ax.c.

91 {
92  WNDCLASSEXW wcex;
93 
94 #if _ATL_VER <= _ATL_VER_30
95 #define ATL_NAME_SUFFIX 0
96 #elif _ATL_VER == _ATL_VER_80
97 #define ATL_NAME_SUFFIX '8','0',0
98 #elif _ATL_VER == _ATL_VER_90
99 #define ATL_NAME_SUFFIX '9','0',0
100 #elif _ATL_VER == _ATL_VER_100
101 #define ATL_NAME_SUFFIX '1','0','0',0
102 #elif _ATL_VER == _ATL_VER_110
103 #define ATL_NAME_SUFFIX '1','1','0',0
104 #else
105 #error Unsupported version
106 #endif
107 
108  static const WCHAR AtlAxWinW[] = {'A','t','l','A','x','W','i','n',ATL_NAME_SUFFIX};
109 
110  FIXME("version %04x semi-stub\n", _ATL_VER);
111 
112  if ( FAILED( OleInitialize(NULL) ) )
113  return FALSE;
114 
115  wcex.cbSize = sizeof(wcex);
117  wcex.cbClsExtra = 0;
118  wcex.cbWndExtra = 0;
119  wcex.hInstance = GetModuleHandleW( NULL );
120  wcex.hIcon = NULL;
121  wcex.hCursor = NULL;
122  wcex.hbrBackground = NULL;
123  wcex.lpszMenuName = NULL;
124  wcex.hIconSm = 0;
125 
127  wcex.lpszClassName = AtlAxWinW;
128  if ( !RegisterClassExW( &wcex ) )
129  return FALSE;
130 
131  if(_ATL_VER > _ATL_VER_30) {
132  static const WCHAR AtlAxWinLicW[] = {'A','t','l','A','x','W','i','n','L','i','c',ATL_NAME_SUFFIX};
133 
134  wcex.lpszClassName = AtlAxWinLicW;
135  if ( !RegisterClassExW( &wcex ) )
136  return FALSE;
137  }
138 
139  return TRUE;
140 }
#define TRUE
Definition: types.h:120
int cbWndExtra
Definition: winuser.h:3194
HICON hIcon
Definition: winuser.h:3196
#define _ATL_VER_30
Definition: atlbase.h:28
ATOM WINAPI RegisterClassExW(_In_ CONST WNDCLASSEXW *)
LPCWSTR lpszMenuName
Definition: winuser.h:3199
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416
int cbClsExtra
Definition: winuser.h:3193
LPCWSTR lpszClassName
Definition: winuser.h:3200
#define _ATL_VER
Definition: atlbase.h:36
__wchar_t WCHAR
Definition: xmlstorage.h:180
HBRUSH hbrBackground
Definition: winuser.h:3198
UINT cbSize
Definition: winuser.h:3190
#define CS_GLOBALCLASS
Definition: winuser.h:647
HINSTANCE hInstance
Definition: winuser.h:3195
HCURSOR hCursor
Definition: winuser.h:3197
#define CS_DBLCLKS
Definition: winuser.h:646
UINT style
Definition: winuser.h:3191
WNDPROC lpfnWndProc
Definition: winuser.h:3192
HRESULT WINAPI DECLSPEC_HOTPATCH OleInitialize(LPVOID reserved)
Definition: ole2.c:172
static LRESULT CALLBACK AtlAxWin_wndproc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam)
Definition: atl_ax.c:65
HICON hIconSm
Definition: winuser.h:3201
#define ATL_NAME_SUFFIX
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
Definition: loader.c:847

Referenced by test_ax_win().

◆ AtlHost_wndproc()

static LRESULT CALLBACK AtlHost_wndproc ( HWND  hWnd,
UINT  wMsg,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 909 of file atl_ax.c.

910 {
912  return IOCS_OnWndProc( This, hWnd, wMsg, wParam, lParam );
913 }
Definition: atl_ax.c:45
static LRESULT IOCS_OnWndProc(IOCS *This, HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: atl_ax.c:882
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
static const WCHAR wine_atl_iocsW[]
Definition: atl_ax.c:60
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
LPARAM lParam
Definition: combotst.c:139

Referenced by IOCS_Attach().

◆ AX_ConvertDialogTemplate()

static LPDLGTEMPLATEW AX_ConvertDialogTemplate ( LPCDLGTEMPLATEW  src_tmpl)
static

Definition at line 1181 of file atl_ax.c.

1182 {
1183 #define GET_WORD(x) (*(const WORD *)(x))
1184 #define GET_DWORD(x) (*(const DWORD *)(x))
1185 #define PUT_BLOCK(x,y) do {if (!advance_array(&output, &allocated, &filled, (x), (y))) return NULL;} while (0)
1186 #define PUT_WORD(x) do {WORD w = (x);PUT_BLOCK(&w, 1);} while(0)
1187  const WORD *tmp, *src = (const WORD *)src_tmpl;
1188  WORD *output;
1189  DWORD allocated, filled; /* in WORDs */
1190  BOOL ext;
1191  WORD signature, dlgver, rescount;
1192  DWORD style;
1193 
1194  filled = 0; allocated = 256;
1195  output = HeapAlloc( GetProcessHeap(), 0, allocated * sizeof(WORD) );
1196  if (!output)
1197  return NULL;
1198 
1199  /* header */
1200  tmp = src;
1201  signature = GET_WORD(src);
1202  dlgver = GET_WORD(src + 1);
1203  if (signature == 1 && dlgver == 0xFFFF)
1204  {
1205  ext = TRUE;
1206  src += 6;
1207  style = GET_DWORD(src);
1208  src += 2;
1209  rescount = GET_WORD(src++);
1210  src += 4;
1211  if ( GET_WORD(src) == 0xFFFF ) /* menu */
1212  src += 2;
1213  else
1214  src += strlenW(src) + 1;
1215  if ( GET_WORD(src) == 0xFFFF ) /* class */
1216  src += 2;
1217  else
1218  src += strlenW(src) + 1;
1219  src += strlenW(src) + 1; /* title */
1220  if ( style & (DS_SETFONT | DS_SHELLFONT) )
1221  {
1222  src += 3;
1223  src += strlenW(src) + 1;
1224  }
1225  } else {
1226  ext = FALSE;
1227  style = GET_DWORD(src);
1228  src += 4;
1229  rescount = GET_WORD(src++);
1230  src += 4;
1231  if ( GET_WORD(src) == 0xFFFF ) /* menu */
1232  src += 2;
1233  else
1234  src += strlenW(src) + 1;
1235  if ( GET_WORD(src) == 0xFFFF ) /* class */
1236  src += 2;
1237  else
1238  src += strlenW(src) + 1;
1239  src += strlenW(src) + 1; /* title */
1240  if ( style & DS_SETFONT )
1241  {
1242  src++;
1243  src += strlenW(src) + 1;
1244  }
1245  }
1246  PUT_BLOCK(tmp, src-tmp);
1247 
1248  while(rescount--)
1249  {
1250  src = (const WORD *)( ( ((ULONG_PTR)src) + 3) & ~3); /* align on DWORD boundary */
1251  filled = (filled + 1) & ~1; /* depends on DWORD-aligned allocation unit */
1252 
1253  tmp = src;
1254  if (ext)
1255  src += 12;
1256  else
1257  src += 9;
1258  PUT_BLOCK(tmp, src-tmp);
1259 
1260  tmp = src;
1261  if ( GET_WORD(src) == 0xFFFF ) /* class */
1262  {
1263  src += 2;
1264  } else
1265  {
1266  src += strlenW(src) + 1;
1267  }
1268  src += strlenW(src) + 1; /* title */
1269  if ( GET_WORD(tmp) == '{' ) /* all this mess created because of this line */
1270  {
1271  static const WCHAR AtlAxWin[] = {'A','t','l','A','x','W','i','n', 0};
1272  PUT_BLOCK(AtlAxWin, ARRAY_SIZE(AtlAxWin));
1273  PUT_BLOCK(tmp, strlenW(tmp)+1);
1274  } else
1275  PUT_BLOCK(tmp, src-tmp);
1276 
1277  if ( GET_WORD(src) )
1278  {
1279  WORD size = (GET_WORD(src)+sizeof(WORD)-1) / sizeof(WORD); /* quite ugly :( Maybe use BYTE* instead of WORD* everywhere ? */
1280  PUT_BLOCK(src, size);
1281  src+=size;
1282  }
1283  else
1284  {
1285  PUT_WORD(0);
1286  src++;
1287  }
1288  }
1289  return (LPDLGTEMPLATEW) output;
1290 }
#define GET_DWORD(x)
#define TRUE
Definition: types.h:120
static UCHAR ULONG UCHAR ULONG UCHAR * output
Definition: bcrypt.c:29
WINE_UNICODE_INLINE unsigned int strlenW(const WCHAR *str)
Definition: unicode.h:212
#define PUT_WORD(x)
uint32_t ULONG_PTR
Definition: typedefs.h:63
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
char ext[3]
Definition: mkdosfs.c:358
#define DS_SHELLFONT
Definition: winuser.h:381
GLsizeiptr size
Definition: glext.h:5919
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DS_SETFONT
Definition: winuser.h:378
GLenum src
Definition: glext.h:6340
#define ARRAY_SIZE(a)
Definition: main.h:24
#define GET_WORD(x)
Arabic default style
Definition: afstyles.h:93
#define PUT_BLOCK(x, y)

Referenced by AtlAxCreateDialogW(), and AtlAxDialogBoxW().

◆ get_content_type()

static enum content get_content_type ( LPCOLESTR  name,
CLSID control_id 
)
static

Definition at line 1003 of file atl_ax.c.

1004 {
1005  static const WCHAR mshtml_prefixW[] = {'m','s','h','t','m','l',':',0};
1006  WCHAR new_urlW[MAX_PATH];
1007  DWORD size = MAX_PATH;
1008 
1009  if (!name || !name[0])
1010  {
1011  WARN("name %s\n", wine_dbgstr_w(name));
1012  return IsEmpty;
1013  }
1014 
1015  if (CLSIDFromString(name, control_id) == S_OK ||
1016  CLSIDFromProgID(name, control_id) == S_OK)
1017  return IsGUID;
1018 
1019  if (PathIsURLW (name) ||
1021  {
1022  *control_id = CLSID_WebBrowser;
1023  return IsURL;
1024  }
1025 
1026  if (!strncmpiW(name, mshtml_prefixW, 7))
1027  {
1028  FIXME("mshtml prefix not implemented\n");
1029  *control_id = CLSID_WebBrowser;
1030  return IsHTML;
1031  }
1032 
1033  return IsUnknown;
1034 }
Definition: atl_ax.c:997
char * wine_dbgstr_w(const wchar_t *wstr)
Definition: atltest.h:87
#define WARN(fmt,...)
Definition: debug.h:111
#define strncmpiW(s1, s2, n)
Definition: unicode.h:40
HRESULT WINAPI DECLSPEC_HOTPATCH CLSIDFromProgID(LPCOLESTR progid, LPCLSID clsid)
Definition: compobj.c:2511
BOOL WINAPI PathIsURLW(LPCWSTR lpstrPath)
Definition: url.c:2432
#define FIXME(fmt,...)
Definition: debug.h:110
Definition: atl_ax.c:999
GLsizeiptr size
Definition: glext.h:5919
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define MAX_PATH
Definition: compat.h:26
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI UrlApplySchemeW(LPCWSTR pszIn, LPWSTR pszOut, LPDWORD pcchOut, DWORD dwFlags)
Definition: url.c:1817
#define S_OK
Definition: intsafe.h:59
#define URL_APPLY_GUESSSCHEME
Definition: shlwapi.h:1203
Definition: name.c:36
HRESULT WINAPI CLSIDFromString(LPCOLESTR idstr, LPCLSID id)
Definition: compobj.c:2247
#define URL_APPLY_GUESSFILE
Definition: shlwapi.h:1202
Definition: atl_ax.c:998

Referenced by AtlAxCreateControlLicEx().

◆ impl_from_IOleClientSite()

static IOCS* impl_from_IOleClientSite ( IOleClientSite iface)
inlinestatic

Definition at line 147 of file atl_ax.c.

148 {
149  return CONTAINING_RECORD(iface, IOCS, IOleClientSite_iface);
150 }
Definition: atl_ax.c:45
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by OleClientSite_AddRef(), OleClientSite_GetContainer(), OleClientSite_GetMoniker(), OleClientSite_OnShowWindow(), OleClientSite_QueryInterface(), OleClientSite_Release(), OleClientSite_RequestNewObjectLayout(), OleClientSite_SaveObject(), and OleClientSite_ShowObject().

◆ impl_from_IOleContainer()

static IOCS* impl_from_IOleContainer ( IOleContainer iface)
inlinestatic

Definition at line 283 of file atl_ax.c.

284 {
285  return CONTAINING_RECORD(iface, IOCS, IOleContainer_iface);
286 }
Definition: atl_ax.c:45
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by OleContainer_AddRef(), OleContainer_EnumObjects(), OleContainer_LockContainer(), OleContainer_ParseDisplayName(), OleContainer_QueryInterface(), and OleContainer_Release().

◆ impl_from_IOleControlSite()

static IOCS* impl_from_IOleControlSite ( IOleControlSite iface)
inlinestatic

Definition at line 684 of file atl_ax.c.

685 {
686  return CONTAINING_RECORD(iface, IOCS, IOleControlSite_iface);
687 }
Definition: atl_ax.c:45
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by OleControlSite_AddRef(), OleControlSite_QueryInterface(), and OleControlSite_Release().

◆ impl_from_IOleInPlaceFrame()

static IOCS* impl_from_IOleInPlaceFrame ( IOleInPlaceFrame iface)
inlinestatic

Definition at line 561 of file atl_ax.c.

562 {
563  return CONTAINING_RECORD(iface, IOCS, IOleInPlaceFrame_iface);
564 }
Definition: atl_ax.c:45
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by OleInPlaceFrame_AddRef(), OleInPlaceFrame_ContextSensitiveHelp(), OleInPlaceFrame_EnableModeless(), OleInPlaceFrame_GetBorder(), OleInPlaceFrame_GetWindow(), OleInPlaceFrame_InsertMenus(), OleInPlaceFrame_QueryInterface(), OleInPlaceFrame_Release(), OleInPlaceFrame_RemoveMenus(), OleInPlaceFrame_RequestBorderSpace(), OleInPlaceFrame_SetActiveObject(), OleInPlaceFrame_SetBorderSpace(), OleInPlaceFrame_SetMenu(), OleInPlaceFrame_SetStatusText(), and OleInPlaceFrame_TranslateAccelerator().

◆ impl_from_IOleInPlaceSiteWindowless()

◆ IOCS_Attach()

static HRESULT IOCS_Attach ( IOCS This,
HWND  hWnd,
IUnknown pUnkControl 
)
static

Definition at line 915 of file atl_ax.c.

916 {
917  This->hWnd = hWnd;
918  IUnknown_QueryInterface( pUnkControl, &IID_IOleObject, (void**)&This->control );
919  IOleObject_SetClientSite( This->control, &This->IOleClientSite_iface );
922 
923  return S_OK;
924 }
HWND hWnd
Definition: settings.c:17
uint32_t ULONG_PTR
Definition: typedefs.h:63
static const WCHAR wine_atl_iocsW[]
Definition: atl_ax.c:60
const GUID IID_IOleObject
BOOL WINAPI SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE)
#define GWLP_WNDPROC
Definition: treelist.c:66
static LRESULT CALLBACK AtlHost_wndproc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam)
Definition: atl_ax.c:909
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2880
#define S_OK
Definition: intsafe.h:59
#define SetWindowLongPtrW
Definition: winuser.h:5247

Referenced by IOCS_Create().

◆ IOCS_Create()

static HRESULT IOCS_Create ( HWND  hWnd,
IUnknown pUnkControl,
IUnknown **  container 
)
static

Definition at line 944 of file atl_ax.c.

945 {
946  HRESULT hr;
947  IOCS *This;
948 
949  if (!container)
950  return S_OK;
951 
952  *container = NULL;
953  This = HeapAlloc(GetProcessHeap(), 0, sizeof(IOCS));
954 
955  if (!This)
956  return E_OUTOFMEMORY;
957 
958  This->IOleClientSite_iface.lpVtbl = &OleClientSite_vtbl;
959  This->IOleContainer_iface.lpVtbl = &OleContainer_vtbl;
960  This->IOleInPlaceSiteWindowless_iface.lpVtbl = &OleInPlaceSiteWindowless_vtbl;
961  This->IOleInPlaceFrame_iface.lpVtbl = &OleInPlaceFrame_vtbl;
962  This->IOleControlSite_iface.lpVtbl = &OleControlSite_vtbl;
963  This->ref = 1;
964 
965  This->OrigWndProc = NULL;
966  This->hWnd = NULL;
967  This->fWindowless = This->fActive = This->fInPlace = FALSE;
968 
969  hr = IOCS_Attach( This, hWnd, pUnkControl );
970  if ( SUCCEEDED( hr ) )
971  hr = IOCS_Init( This );
972  if ( SUCCEEDED( hr ) )
973  *container = (IUnknown*)&This->IOleClientSite_iface;
974  else
975  {
976  IOCS_Detach( This );
978  }
979 
980  return hr;
981 }
Definition: atl_ax.c:45
static const IOleInPlaceFrameVtbl OleInPlaceFrame_vtbl
Definition: atl_ax.c:795
HRESULT hr
Definition: shlfolder.c:183
HWND hWnd
Definition: settings.c:17
static const IOleControlSiteVtbl OleControlSite_vtbl
Definition: atl_ax.c:813
static HRESULT IOCS_Init(IOCS *This)
Definition: atl_ax.c:926
static const IOleInPlaceSiteWindowlessVtbl OleInPlaceSiteWindowless_vtbl
Definition: atl_ax.c:763
static const IOleClientSiteVtbl OleClientSite_vtbl
Definition: atl_ax.c:744
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
smooth NULL
Definition: ftsmooth.c:416
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
LONG HRESULT
Definition: typedefs.h:77
static HRESULT IOCS_Attach(IOCS *This, HWND hWnd, IUnknown *pUnkControl)
Definition: atl_ax.c:915
#define S_OK
Definition: intsafe.h:59
static const IOleContainerVtbl OleContainer_vtbl
Definition: atl_ax.c:755
static HRESULT IOCS_Detach(IOCS *This)
Definition: atl_ax.c:152
#define HeapFree(x, y, z)
Definition: compat.h:394
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by AtlAxAttachControl().

◆ IOCS_Detach()

static HRESULT IOCS_Detach ( IOCS This)
static

Definition at line 152 of file atl_ax.c.

153 {
154  if ( This->hWnd )
155  {
156  SetWindowLongPtrW( This->hWnd, GWLP_WNDPROC, (ULONG_PTR) This->OrigWndProc );
158  This->hWnd = NULL;
159  }
160  if ( This->control )
161  {
162  IOleObject *control = This->control;
163 
164  This->control = NULL;
165  IOleObject_Close( control, OLECLOSE_NOSAVE );
166  IOleObject_SetClientSite( control, NULL );
167  IOleObject_Release( control );
168  }
169  return S_OK;
170 }
HANDLE WINAPI RemovePropW(_In_ HWND, _In_ LPCWSTR)
uint32_t ULONG_PTR
Definition: typedefs.h:63
static const WCHAR wine_atl_iocsW[]
Definition: atl_ax.c:60
smooth NULL
Definition: ftsmooth.c:416
#define GWLP_WNDPROC
Definition: treelist.c:66
#define S_OK
Definition: intsafe.h:59
#define SetWindowLongPtrW
Definition: winuser.h:5247

Referenced by IOCS_Create(), IOCS_OnWndProc(), and OleClientSite_Release().

◆ IOCS_Init()

static HRESULT IOCS_Init ( IOCS This)
static

Definition at line 926 of file atl_ax.c.

927 {
928  RECT rect;
929  static const WCHAR AXWIN[] = {'A','X','W','I','N',0};
930 
931  IOleObject_SetHostNames( This->control, AXWIN, AXWIN );
932 
933  GetClientRect( This->hWnd, &rect );
934  IOCS_OnSize( This, &rect );
935  IOleObject_DoVerb( This->control, OLEIVERB_INPLACEACTIVATE, NULL, &This->IOleClientSite_iface,
936  0, This->hWnd, &rect );
937 
938  return S_OK;
939 }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
static void IOCS_OnSize(IOCS *This, LPCRECT rect)
Definition: atl_ax.c:827
__wchar_t WCHAR
Definition: xmlstorage.h:180
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
#define S_OK
Definition: intsafe.h:59
#define OLEIVERB_INPLACEACTIVATE
Definition: ole2.h:43

Referenced by IOCS_Create().

◆ IOCS_OnDraw()

static void IOCS_OnDraw ( IOCS This)
static

Definition at line 861 of file atl_ax.c.

862 {
863  IViewObject *view;
864 
865  if ( !This->control || !This->fWindowless )
866  return;
867 
868  if ( SUCCEEDED( IOleObject_QueryInterface( This->control, &IID_IViewObject, (void**)&view ) ) )
869  {
870  HDC dc = GetDC( This->hWnd );
871  RECTL rect;
872 
873  rect.left = This->size.left; rect.top = This->size.top;
874  rect.bottom = This->size.bottom; rect.right = This->size.right;
875 
876  IViewObject_Draw( view, DVASPECT_CONTENT, ~0, NULL, NULL, 0, dc, &rect, &rect, NULL, 0 );
877  IViewObject_Release( view );
878  ReleaseDC( This->hWnd, dc );
879  }
880 }
const GUID IID_IViewObject
HDC WINAPI GetDC(_In_opt_ HWND)
static HDC
Definition: imagelist.c:92
HDC dc
Definition: cylfrac.c:34
& rect
Definition: startmenu.cpp:1413
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
smooth NULL
Definition: ftsmooth.c:416
static IOleDocumentView * view
Definition: activex.c:1749
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by IOCS_OnWndProc().

◆ IOCS_OnShow()

static void IOCS_OnShow ( IOCS This,
BOOL  fShow 
)
static

Definition at line 853 of file atl_ax.c.

854 {
855  if (!This->control || This->fActive || !fShow )
856  return;
857 
858  This->fActive = TRUE;
859 }
#define TRUE
Definition: types.h:120

Referenced by IOCS_OnWndProc().

◆ IOCS_OnSize()

static void IOCS_OnSize ( IOCS This,
LPCRECT  rect 
)
static

Definition at line 827 of file atl_ax.c.

828 {
829  SIZEL inPix, inHi;
830 
831  This->size = *rect;
832 
833  if ( !This->control )
834  return;
835 
836  inPix.cx = rect->right - rect->left;
837  inPix.cy = rect->bottom - rect->top;
838  AtlPixelToHiMetric( &inPix, &inHi );
839  IOleObject_SetExtent( This->control, DVASPECT_CONTENT, &inHi );
840 
841  if ( This->fInPlace )
842  {
843  IOleInPlaceObject *wl;
844 
845  if ( SUCCEEDED( IOleObject_QueryInterface( This->control, &IID_IOleInPlaceObject, (void**)&wl ) ) )
846  {
847  IOleInPlaceObject_SetObjectRects( wl, rect, rect );
848  IOleInPlaceObject_Release( wl );
849  }
850  }
851 }
& rect
Definition: startmenu.cpp:1413
LONG cx
Definition: windef.h:319
const GUID IID_IOleInPlaceObject
void WINAPI AtlPixelToHiMetric(const SIZEL *lpPix, SIZEL *lpHiMetric)
Definition: atl.c:166
LONG cy
Definition: windef.h:320
#define SUCCEEDED(hr)
Definition: intsafe.h:57

Referenced by IOCS_Init(), and IOCS_OnWndProc().

◆ IOCS_OnWndProc()

static LRESULT IOCS_OnWndProc ( IOCS This,
HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 882 of file atl_ax.c.

883 {
884  WNDPROC OrigWndProc = This->OrigWndProc;
885 
886  switch( uMsg )
887  {
888  case WM_DESTROY:
889  IOCS_Detach( This );
890  break;
891  case WM_SIZE:
892  {
893  RECT r;
894  SetRect(&r, 0, 0, LOWORD(lParam), HIWORD(lParam));
895  IOCS_OnSize( This, &r );
896  }
897  break;
898  case WM_SHOWWINDOW:
899  IOCS_OnShow( This, (BOOL) wParam );
900  break;
901  case WM_PAINT:
902  IOCS_OnDraw( This );
903  break;
904  }
905 
906  return CallWindowProcW( OrigWndProc, hWnd, uMsg, wParam, lParam );
907 }
static void IOCS_OnDraw(IOCS *This)
Definition: atl_ax.c:861
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
HWND hWnd
Definition: settings.c:17
#define WM_SHOWWINDOW
Definition: winuser.h:1610
WPARAM wParam
Definition: combotst.c:138
unsigned int BOOL
Definition: ntddk_ex.h:94
static void IOCS_OnSize(IOCS *This, LPCRECT rect)
Definition: atl_ax.c:827
#define WM_DESTROY
Definition: winuser.h:1591
static void IOCS_OnShow(IOCS *This, BOOL fShow)
Definition: atl_ax.c:853
#define WM_SIZE
Definition: winuser.h:1593
#define WM_PAINT
Definition: winuser.h:1602
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2880
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define HIWORD(l)
Definition: typedefs.h:246
static HRESULT IOCS_Detach(IOCS *This)
Definition: atl_ax.c:152
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Referenced by AtlHost_wndproc().

◆ OleClientSite_AddRef()

static ULONG WINAPI OleClientSite_AddRef ( IOleClientSite iface)
static

Definition at line 214 of file atl_ax.c.

215 {
218  TRACE("(%p)->(%d)\n", This, ref);
219  return ref;
220 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
Definition: send.c:47
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedIncrement
Definition: armddk.h:53
unsigned int ULONG
Definition: retypes.h:1

◆ OleClientSite_GetContainer()

static HRESULT WINAPI OleClientSite_GetContainer ( IOleClientSite iface,
IOleContainer **  container 
)
static

Definition at line 253 of file atl_ax.c.

254 {
256  TRACE("(%p, %p)\n", This, container);
257  return IOleClientSite_QueryInterface(iface, &IID_IOleContainer, (void**)container);
258 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IOleContainer

◆ OleClientSite_GetMoniker()

static HRESULT WINAPI OleClientSite_GetMoniker ( IOleClientSite iface,
DWORD  dwAssign,
DWORD  dwWhichMoniker,
IMoniker **  ppmk 
)
static

Definition at line 245 of file atl_ax.c.

246 {
248 
249  FIXME( "(%p, 0x%x, 0x%x, %p)\n", This, dwAssign, dwWhichMoniker, ppmk );
250  return E_NOTIMPL;
251 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleClientSite_OnShowWindow()

static HRESULT WINAPI OleClientSite_OnShowWindow ( IOleClientSite iface,
BOOL  fShow 
)
static

Definition at line 267 of file atl_ax.c.

268 {
270  FIXME( "(%p, %s) - stub\n", This, fShow ? "TRUE" : "FALSE" );
271  return E_NOTIMPL;
272 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleClientSite_QueryInterface()

static HRESULT WINAPI OleClientSite_QueryInterface ( IOleClientSite iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 172 of file atl_ax.c.

173 {
175 
176  TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
177 
178  *ppv = NULL;
179 
180  if (IsEqualIID(&IID_IUnknown, riid) ||
182  {
183  *ppv = iface;
184  }
185  else if (IsEqualIID(&IID_IOleContainer, riid))
186  {
187  *ppv = &This->IOleContainer_iface;
188  }
189  else if (IsEqualIID(&IID_IOleInPlaceSite, riid) ||
190  IsEqualIID(&IID_IOleInPlaceSiteEx, riid) ||
191  IsEqualIID(&IID_IOleInPlaceSiteWindowless, riid))
192  {
193  *ppv = &This->IOleInPlaceSiteWindowless_iface;
194  }
196  {
197  *ppv = &This->IOleInPlaceFrame_iface;
198  }
199  else if (IsEqualIID(&IID_IOleControlSite, riid))
200  {
201  *ppv = &This->IOleControlSite_iface;
202  }
203 
204  if (*ppv)
205  {
206  IOleClientSite_AddRef(iface);
207  return S_OK;
208  }
209 
210  WARN("unsupported interface %s\n", debugstr_guid(riid));
211  return E_NOINTERFACE;
212 }
const GUID IID_IOleInPlaceFrame
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
const GUID IID_IOleInPlaceSite
const GUID IID_IOleClientSite
#define WARN(fmt,...)
Definition: debug.h:111
REFIID LPVOID * ppv
Definition: atlbase.h:39
const GUID IID_IOleControlSite
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IOleContainer
const GUID IID_IUnknown
#define S_OK
Definition: intsafe.h:59
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95

◆ OleClientSite_Release()

static ULONG WINAPI OleClientSite_Release ( IOleClientSite iface)
static

Definition at line 222 of file atl_ax.c.

223 {
226 
227  TRACE("(%p)->(%d)\n", This, ref);
228 
229  if (!ref)
230  {
231  IOCS_Detach( This );
232  HeapFree( GetProcessHeap(), 0, This );
233  }
234 
235  return ref;
236 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
Definition: send.c:47
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
#define InterlockedDecrement
Definition: armddk.h:52
unsigned int ULONG
Definition: retypes.h:1
static HRESULT IOCS_Detach(IOCS *This)
Definition: atl_ax.c:152
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ OleClientSite_RequestNewObjectLayout()

static HRESULT WINAPI OleClientSite_RequestNewObjectLayout ( IOleClientSite iface)
static

Definition at line 274 of file atl_ax.c.

275 {
277  FIXME( "(%p) - stub\n", This );
278  return E_NOTIMPL;
279 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleClientSite_SaveObject()

static HRESULT WINAPI OleClientSite_SaveObject ( IOleClientSite iface)
static

Definition at line 238 of file atl_ax.c.

239 {
241  FIXME( "(%p) - stub\n", This );
242  return E_NOTIMPL;
243 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleClientSite_ShowObject()

static HRESULT WINAPI OleClientSite_ShowObject ( IOleClientSite iface)
static

Definition at line 260 of file atl_ax.c.

261 {
263  FIXME( "(%p) - stub\n", This );
264  return S_OK;
265 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleClientSite(IOleClientSite *iface)
Definition: atl_ax.c:147
#define FIXME(fmt,...)
Definition: debug.h:110
#define S_OK
Definition: intsafe.h:59

◆ OleContainer_AddRef()

static ULONG WINAPI OleContainer_AddRef ( IOleContainer iface)
static

Definition at line 294 of file atl_ax.c.

295 {
297  return IOleClientSite_AddRef(&This->IOleClientSite_iface);
298 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleContainer(IOleContainer *iface)
Definition: atl_ax.c:283

◆ OleContainer_EnumObjects()

static HRESULT WINAPI OleContainer_EnumObjects ( IOleContainer iface,
DWORD  grfFlags,
IEnumUnknown **  ppenum 
)
static

Definition at line 314 of file atl_ax.c.

315 {
317  FIXME( "(%p, %u, %p) - stub\n", This, grfFlags, ppenum );
318  return E_NOTIMPL;
319 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleContainer(IOleContainer *iface)
Definition: atl_ax.c:283
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleContainer_LockContainer()

static HRESULT WINAPI OleContainer_LockContainer ( IOleContainer iface,
BOOL  fLock 
)
static

Definition at line 321 of file atl_ax.c.

322 {
324  FIXME( "(%p, %s) - stub\n", This, fLock?"TRUE":"FALSE" );
325  return E_NOTIMPL;
326 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleContainer(IOleContainer *iface)
Definition: atl_ax.c:283
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleContainer_ParseDisplayName()

static HRESULT WINAPI OleContainer_ParseDisplayName ( IOleContainer iface,
IBindCtx pbc,
LPOLESTR  pszDisplayName,
ULONG pchEaten,
IMoniker **  ppmkOut 
)
static

Definition at line 306 of file atl_ax.c.

308 {
310  FIXME( "(%p,%p,%s,%p,%p) - stub\n", This, pbc, debugstr_w(pszDisplayName), pchEaten, ppmkOut );
311  return E_NOTIMPL;
312 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleContainer(IOleContainer *iface)
Definition: atl_ax.c:283
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleContainer_QueryInterface()

static HRESULT WINAPI OleContainer_QueryInterface ( IOleContainer iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 288 of file atl_ax.c.

289 {
291  return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
292 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleContainer(IOleContainer *iface)
Definition: atl_ax.c:283
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ OleContainer_Release()

static ULONG WINAPI OleContainer_Release ( IOleContainer iface)
static

Definition at line 300 of file atl_ax.c.

301 {
303  return IOleClientSite_Release(&This->IOleClientSite_iface);
304 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleContainer(IOleContainer *iface)
Definition: atl_ax.c:283

◆ OleControlSite_AddRef()

static ULONG WINAPI OleControlSite_AddRef ( IOleControlSite iface)
static

Definition at line 695 of file atl_ax.c.

696 {
698  return IOleClientSite_AddRef(&This->IOleClientSite_iface);
699 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleControlSite(IOleControlSite *iface)
Definition: atl_ax.c:684

◆ OleControlSite_GetExtendedControl()

static HRESULT WINAPI OleControlSite_GetExtendedControl ( IOleControlSite This,
IDispatch **  ppDisp 
)
static

Definition at line 717 of file atl_ax.c.

718 {
719  FIXME( "\n" );
720  return E_NOTIMPL;
721 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleControlSite_LockInPlaceActive()

static HRESULT WINAPI OleControlSite_LockInPlaceActive ( IOleControlSite This,
BOOL  fLock 
)
static

Definition at line 712 of file atl_ax.c.

713 {
714  FIXME( "\n" );
715  return E_NOTIMPL;
716 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleControlSite_OnControlInfoChanged()

static HRESULT WINAPI OleControlSite_OnControlInfoChanged ( IOleControlSite This)
static

Definition at line 707 of file atl_ax.c.

708 {
709  FIXME( "\n" );
710  return E_NOTIMPL;
711 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleControlSite_OnFocus()

static HRESULT WINAPI OleControlSite_OnFocus ( IOleControlSite This,
BOOL  fGotFocus 
)
static

Definition at line 732 of file atl_ax.c.

733 {
734  FIXME( "\n" );
735  return E_NOTIMPL;
736 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleControlSite_QueryInterface()

static HRESULT WINAPI OleControlSite_QueryInterface ( IOleControlSite iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 689 of file atl_ax.c.

690 {
692  return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
693 }
Definition: atl_ax.c:45
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
static IOCS * impl_from_IOleControlSite(IOleControlSite *iface)
Definition: atl_ax.c:684

◆ OleControlSite_Release()

static ULONG WINAPI OleControlSite_Release ( IOleControlSite iface)
static

Definition at line 701 of file atl_ax.c.

702 {
704  return IOleClientSite_Release(&This->IOleClientSite_iface);
705 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleControlSite(IOleControlSite *iface)
Definition: atl_ax.c:684

◆ OleControlSite_ShowPropertyFrame()

static HRESULT WINAPI OleControlSite_ShowPropertyFrame ( IOleControlSite This)
static

Definition at line 737 of file atl_ax.c.

738 {
739  FIXME( "\n" );
740  return E_NOTIMPL;
741 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleControlSite_TransformCoords()

static HRESULT WINAPI OleControlSite_TransformCoords ( IOleControlSite This,
POINTL pPtlHimetric,
POINTF *  pPtfContainer,
DWORD  dwFlags 
)
static

Definition at line 722 of file atl_ax.c.

723 {
724  FIXME( "\n" );
725  return E_NOTIMPL;
726 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleControlSite_TranslateAccelerator()

static HRESULT WINAPI OleControlSite_TranslateAccelerator ( IOleControlSite This,
MSG pMsg,
DWORD  grfModifiers 
)
static

Definition at line 727 of file atl_ax.c.

728 {
729  FIXME( "\n" );
730  return E_NOTIMPL;
731 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_AddRef()

static ULONG WINAPI OleInPlaceFrame_AddRef ( IOleInPlaceFrame iface)
static

Definition at line 572 of file atl_ax.c.

573 {
575  return IOleClientSite_AddRef(&This->IOleClientSite_iface);
576 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561

◆ OleInPlaceFrame_ContextSensitiveHelp()

static HRESULT WINAPI OleInPlaceFrame_ContextSensitiveHelp ( IOleInPlaceFrame iface,
BOOL  fEnterMode 
)
static

Definition at line 594 of file atl_ax.c.

595 {
597 
598  FIXME( "(%p,%d) - stub\n", This, fEnterMode );
599  return E_NOTIMPL;
600 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_EnableModeless()

static HRESULT WINAPI OleInPlaceFrame_EnableModeless ( IOleInPlaceFrame iface,
BOOL  fEnable 
)
static

Definition at line 666 of file atl_ax.c.

667 {
669 
670  FIXME( "(%p, %d) - stub\n", This, fEnable );
671  return E_NOTIMPL;
672 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_GetBorder()

static HRESULT WINAPI OleInPlaceFrame_GetBorder ( IOleInPlaceFrame iface,
LPRECT  lprectBorder 
)
static

Definition at line 602 of file atl_ax.c.

603 {
605 
606  FIXME( "(%p,%p) - stub\n", This, lprectBorder );
607  return E_NOTIMPL;
608 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_GetWindow()

static HRESULT WINAPI OleInPlaceFrame_GetWindow ( IOleInPlaceFrame iface,
HWND phWnd 
)
static

Definition at line 584 of file atl_ax.c.

585 {
587 
588  TRACE( "(%p,%p)\n", This, phWnd );
589 
590  *phWnd = This->hWnd;
591  return S_OK;
592 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceFrame_InsertMenus()

static HRESULT WINAPI OleInPlaceFrame_InsertMenus ( IOleInPlaceFrame iface,
HMENU  hmenuShared,
LPOLEMENUGROUPWIDTHS  lpMenuWidths 
)
static

Definition at line 634 of file atl_ax.c.

635 {
637 
638  FIXME( "(%p,%p,%p) - stub\n", This, hmenuShared, lpMenuWidths );
639  return E_NOTIMPL;
640 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_QueryInterface()

static HRESULT WINAPI OleInPlaceFrame_QueryInterface ( IOleInPlaceFrame iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 566 of file atl_ax.c.

567 {
569  return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
570 }
Definition: atl_ax.c:45
REFIID riid
Definition: precomp.h:44
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ OleInPlaceFrame_Release()

static ULONG WINAPI OleInPlaceFrame_Release ( IOleInPlaceFrame iface)
static

Definition at line 578 of file atl_ax.c.

579 {
581  return IOleClientSite_Release(&This->IOleClientSite_iface);
582 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561

◆ OleInPlaceFrame_RemoveMenus()

static HRESULT WINAPI OleInPlaceFrame_RemoveMenus ( IOleInPlaceFrame iface,
HMENU  hmenuShared 
)
static

Definition at line 650 of file atl_ax.c.

651 {
653 
654  FIXME( "(%p, %p) - stub\n", This, hmenuShared );
655  return E_NOTIMPL;
656 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_RequestBorderSpace()

static HRESULT WINAPI OleInPlaceFrame_RequestBorderSpace ( IOleInPlaceFrame iface,
LPCBORDERWIDTHS  pborderwidths 
)
static

Definition at line 610 of file atl_ax.c.

611 {
613 
614  FIXME( "(%p,%p) - stub\n", This, pborderwidths );
615  return E_NOTIMPL;
616 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_SetActiveObject()

static HRESULT WINAPI OleInPlaceFrame_SetActiveObject ( IOleInPlaceFrame iface,
IOleInPlaceActiveObject pActiveObject,
LPCOLESTR  pszObjName 
)
static

Definition at line 626 of file atl_ax.c.

627 {
629 
630  FIXME( "(%p,%p,%s) - stub\n", This, pActiveObject, debugstr_w(pszObjName) );
631  return S_OK;
632 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceFrame_SetBorderSpace()

static HRESULT WINAPI OleInPlaceFrame_SetBorderSpace ( IOleInPlaceFrame iface,
LPCBORDERWIDTHS  pborderwidths 
)
static

Definition at line 618 of file atl_ax.c.

619 {
621 
622  FIXME( "(%p,%p) - stub\n", This, pborderwidths );
623  return E_NOTIMPL;
624 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_SetMenu()

static HRESULT WINAPI OleInPlaceFrame_SetMenu ( IOleInPlaceFrame iface,
HMENU  hmenuShared,
HOLEMENU  holemenu,
HWND  hwndActiveObject 
)
static

Definition at line 642 of file atl_ax.c.

643 {
645 
646  FIXME( "(%p,%p,%p,%p) - stub\n", This, hmenuShared, holemenu, hwndActiveObject );
647  return E_NOTIMPL;
648 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_SetStatusText()

static HRESULT WINAPI OleInPlaceFrame_SetStatusText ( IOleInPlaceFrame iface,
LPCOLESTR  pszStatusText 
)
static

Definition at line 658 of file atl_ax.c.

659 {
661 
662  FIXME( "(%p, %s) - stub\n", This, debugstr_w( pszStatusText ) );
663  return E_NOTIMPL;
664 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceFrame_TranslateAccelerator()

static HRESULT WINAPI OleInPlaceFrame_TranslateAccelerator ( IOleInPlaceFrame iface,
LPMSG  lpmsg,
WORD  wID 
)
static

Definition at line 674 of file atl_ax.c.

675 {
677 
678  FIXME( "(%p, %p, %x) - stub\n", This, lpmsg, wID );
679  return E_NOTIMPL;
680 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: atl_ax.c:561
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_AddRef()

static ULONG WINAPI OleInPlaceSiteWindowless_AddRef ( IOleInPlaceSiteWindowless iface)
static

Definition at line 341 of file atl_ax.c.

342 {
344  return IOleClientSite_AddRef(&This->IOleClientSite_iface);
345 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330

◆ OleInPlaceSiteWindowless_AdjustRect()

static HRESULT WINAPI OleInPlaceSiteWindowless_AdjustRect ( IOleInPlaceSiteWindowless iface,
LPRECT  prc 
)
static

Definition at line 548 of file atl_ax.c.

549 {
550  FIXME("\n");
551  return E_NOTIMPL;
552 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_CanInPlaceActivate()

static HRESULT WINAPI OleInPlaceSiteWindowless_CanInPlaceActivate ( IOleInPlaceSiteWindowless iface)
static

Definition at line 369 of file atl_ax.c.

370 {
372  TRACE("(%p)\n", This);
373  return S_OK;
374 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_CanWindowlessActivate()

static HRESULT WINAPI OleInPlaceSiteWindowless_CanWindowlessActivate ( IOleInPlaceSiteWindowless iface)
static

Definition at line 498 of file atl_ax.c.

499 {
500  FIXME("\n");
501  return S_OK;
502 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_ContextSensitiveHelp()

static HRESULT WINAPI OleInPlaceSiteWindowless_ContextSensitiveHelp ( IOleInPlaceSiteWindowless iface,
BOOL  fEnterMode 
)
static

Definition at line 362 of file atl_ax.c.

363 {
365  FIXME("(%p,%d) - stub\n", This, fEnterMode);
366  return E_NOTIMPL;
367 }
Definition: atl_ax.c:45
#define FIXME(fmt,...)
Definition: debug.h:110
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_DeactivateAndUndo()

static HRESULT WINAPI OleInPlaceSiteWindowless_DeactivateAndUndo ( IOleInPlaceSiteWindowless iface)
static

Definition at line 458 of file atl_ax.c.

459 {
461  FIXME("(%p) - stub\n", This);
462  return E_NOTIMPL;
463 }
Definition: atl_ax.c:45
#define FIXME(fmt,...)
Definition: debug.h:110
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_DiscardUndoState()

static HRESULT WINAPI OleInPlaceSiteWindowless_DiscardUndoState ( IOleInPlaceSiteWindowless iface)
static

Definition at line 451 of file atl_ax.c.

452 {
454  FIXME("(%p) - stub\n", This);
455  return E_NOTIMPL;
456 }
Definition: atl_ax.c:45
#define FIXME(fmt,...)
Definition: debug.h:110
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_GetCapture()

static HRESULT WINAPI OleInPlaceSiteWindowless_GetCapture ( IOleInPlaceSiteWindowless iface)
static

Definition at line 503 of file atl_ax.c.

504 {
505  FIXME("\n");
506  return E_NOTIMPL;
507 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_GetDC()

static HRESULT WINAPI OleInPlaceSiteWindowless_GetDC ( IOleInPlaceSiteWindowless iface,
LPCRECT  pRect,
DWORD  grfFlags,
HDC phDC 
)
static

Definition at line 523 of file atl_ax.c.

524 {
525  FIXME("\n");
526  return E_NOTIMPL;
527 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_GetFocus()

static HRESULT WINAPI OleInPlaceSiteWindowless_GetFocus ( IOleInPlaceSiteWindowless iface)
static

Definition at line 513 of file atl_ax.c.

514 {
515  FIXME("\n");
516  return E_NOTIMPL;
517 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_GetWindow()

static HRESULT WINAPI OleInPlaceSiteWindowless_GetWindow ( IOleInPlaceSiteWindowless iface,
HWND phwnd 
)
static

Definition at line 353 of file atl_ax.c.

354 {
356 
357  TRACE("(%p,%p)\n", This, phwnd);
358  *phwnd = This->hWnd;
359  return S_OK;
360 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_GetWindowContext()

static HRESULT WINAPI OleInPlaceSiteWindowless_GetWindowContext ( IOleInPlaceSiteWindowless iface,
IOleInPlaceFrame **  frame,
IOleInPlaceUIWindow **  ppDoc,
LPRECT  lprcPosRect,
LPRECT  lprcClipRect,
LPOLEINPLACEFRAMEINFO  lpFrameInfo 
)
static

Definition at line 394 of file atl_ax.c.

397 {
399 
400  TRACE("(%p,%p,%p,%p,%p,%p)\n", This, frame, ppDoc, lprcPosRect, lprcClipRect, lpFrameInfo);
401 
402  if ( lprcClipRect )
403  *lprcClipRect = This->size;
404  if ( lprcPosRect )
405  *lprcPosRect = This->size;
406 
407  if ( frame )
408  {
409  *frame = &This->IOleInPlaceFrame_iface;
410  IOleInPlaceFrame_AddRef(*frame);
411  }
412 
413  if ( ppDoc )
414  *ppDoc = NULL;
415 
416  if ( lpFrameInfo )
417  {
418  lpFrameInfo->fMDIApp = FALSE;
419  lpFrameInfo->hwndFrame = This->hWnd;
420  lpFrameInfo->haccel = NULL;
421  lpFrameInfo->cAccelEntries = 0;
422  }
423 
424  return S_OK;
425 }
Definition: atl_ax.c:45
smooth NULL
Definition: ftsmooth.c:416
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_InvalidateRect()

static HRESULT WINAPI OleInPlaceSiteWindowless_InvalidateRect ( IOleInPlaceSiteWindowless iface,
LPCRECT  pRect,
BOOL  fErase 
)
static

Definition at line 533 of file atl_ax.c.

534 {
535  FIXME("\n");
536  return E_NOTIMPL;
537 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_InvalidateRgn()

static HRESULT WINAPI OleInPlaceSiteWindowless_InvalidateRgn ( IOleInPlaceSiteWindowless iface,
HRGN  hRGN,
BOOL  fErase 
)
static

Definition at line 538 of file atl_ax.c.

539 {
540  FIXME("\n");
541  return E_NOTIMPL;
542 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_OnDefWindowMessage()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnDefWindowMessage ( IOleInPlaceSiteWindowless iface,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam,
LRESULT plResult 
)
static

Definition at line 553 of file atl_ax.c.

554 {
555  FIXME("\n");
556  return E_NOTIMPL;
557 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_OnInPlaceActivate()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceActivate ( IOleInPlaceSiteWindowless iface)
static

Definition at line 376 of file atl_ax.c.

377 {
379 
380  TRACE("(%p)\n", This);
381 
382  This->fInPlace = TRUE;
383  return S_OK;
384 }
Definition: atl_ax.c:45
#define TRUE
Definition: types.h:120
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_OnInPlaceActivateEx()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceActivateEx ( IOleInPlaceSiteWindowless iface,
BOOL pfNoRedraw,
DWORD  dwFlags 
)
static

Definition at line 472 of file atl_ax.c.

473 {
475 
476  TRACE("\n");
477 
478  This->fActive = This->fInPlace = TRUE;
479  if ( dwFlags & ACTIVATE_WINDOWLESS )
480  This->fWindowless = TRUE;
481  return S_OK;
482 }
Definition: atl_ax.c:45
#define TRUE
Definition: types.h:120
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_OnInPlaceDeactivate()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceDeactivate ( IOleInPlaceSiteWindowless iface)
static

Definition at line 441 of file atl_ax.c.

442 {
444 
445  TRACE("(%p)\n", This);
446 
447  This->fInPlace = This->fWindowless = FALSE;
448  return S_OK;
449 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_OnInPlaceDeactivateEx()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnInPlaceDeactivateEx ( IOleInPlaceSiteWindowless iface,
BOOL  fNoRedraw 
)
static

Definition at line 484 of file atl_ax.c.

485 {
487 
488  TRACE("\n");
489 
490  This->fActive = This->fInPlace = This->fWindowless = FALSE;
491  return S_OK;
492 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_OnPosRectChange()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnPosRectChange ( IOleInPlaceSiteWindowless iface,
LPCRECT  lprcPosRect 
)
static

Definition at line 465 of file atl_ax.c.

466 {
468  FIXME("(%p,%p) - stub\n", This, lprcPosRect);
469  return E_NOTIMPL;
470 }
Definition: atl_ax.c:45
#define FIXME(fmt,...)
Definition: debug.h:110
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_OnUIActivate()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnUIActivate ( IOleInPlaceSiteWindowless iface)
static

Definition at line 386 of file atl_ax.c.

387 {
389 
390  TRACE("(%p)\n", This);
391 
392  return S_OK;
393 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59

◆ OleInPlaceSiteWindowless_OnUIDeactivate()

static HRESULT WINAPI OleInPlaceSiteWindowless_OnUIDeactivate ( IOleInPlaceSiteWindowless iface,
BOOL  fUndoable 
)
static

Definition at line 434 of file atl_ax.c.

435 {
437  FIXME("(%p,%d) - stub\n", This, fUndoable);
438  return E_NOTIMPL;
439 }
Definition: atl_ax.c:45
#define FIXME(fmt,...)
Definition: debug.h:110
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_QueryInterface()

static HRESULT WINAPI OleInPlaceSiteWindowless_QueryInterface ( IOleInPlaceSiteWindowless iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 335 of file atl_ax.c.

336 {
338  return IOleClientSite_QueryInterface(&This->IOleClientSite_iface, riid, ppv);
339 }
Definition: atl_ax.c:45
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330

◆ OleInPlaceSiteWindowless_Release()

static ULONG WINAPI OleInPlaceSiteWindowless_Release ( IOleInPlaceSiteWindowless iface)
static

Definition at line 347 of file atl_ax.c.

348 {
350  return IOleClientSite_Release(&This->IOleClientSite_iface);
351 }
Definition: atl_ax.c:45
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330

◆ OleInPlaceSiteWindowless_ReleaseDC()

static HRESULT WINAPI OleInPlaceSiteWindowless_ReleaseDC ( IOleInPlaceSiteWindowless iface,
HDC  hDC 
)
static

Definition at line 528 of file atl_ax.c.

529 {
530  FIXME("\n");
531  return E_NOTIMPL;
532 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_RequestUIActivate()

static HRESULT WINAPI OleInPlaceSiteWindowless_RequestUIActivate ( IOleInPlaceSiteWindowless iface)
static

Definition at line 493 of file atl_ax.c.

494 {
495  FIXME("\n");
496  return E_NOTIMPL;
497 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_Scroll()

static HRESULT WINAPI OleInPlaceSiteWindowless_Scroll ( IOleInPlaceSiteWindowless iface,
SIZE  scrollExtent 
)
static

Definition at line 427 of file atl_ax.c.

428 {
430  FIXME("(%p) - stub\n", This);
431  return E_NOTIMPL;
432 }
Definition: atl_ax.c:45
#define FIXME(fmt,...)
Definition: debug.h:110
static IOCS * impl_from_IOleInPlaceSiteWindowless(IOleInPlaceSiteWindowless *iface)
Definition: atl_ax.c:330
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_ScrollRect()

static HRESULT WINAPI OleInPlaceSiteWindowless_ScrollRect ( IOleInPlaceSiteWindowless iface,
INT  dx,
INT  dy,
LPCRECT  pRectScroll,
LPCRECT  pRectClip 
)
static

Definition at line 543 of file atl_ax.c.

544 {
545  FIXME("\n");
546  return E_NOTIMPL;
547 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_SetCapture()

static HRESULT WINAPI OleInPlaceSiteWindowless_SetCapture ( IOleInPlaceSiteWindowless iface,
BOOL  fCapture 
)
static

Definition at line 508 of file atl_ax.c.

509 {
510  FIXME("\n");
511  return E_NOTIMPL;
512 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ OleInPlaceSiteWindowless_SetFocus()

static HRESULT WINAPI OleInPlaceSiteWindowless_SetFocus ( IOleInPlaceSiteWindowless iface,
BOOL  fFocus 
)
static

Definition at line 518 of file atl_ax.c.

519 {
520  FIXME("\n");
521  return E_NOTIMPL;
522 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( atl  )

Variable Documentation

◆ OleClientSite_vtbl

const IOleClientSiteVtbl OleClientSite_vtbl
static
Initial value:
= {
}
static HRESULT WINAPI OleClientSite_SaveObject(IOleClientSite *iface)
Definition: atl_ax.c:238
static HRESULT WINAPI OleClientSite_GetContainer(IOleClientSite *iface, IOleContainer **container)
Definition: atl_ax.c:253
static ULONG WINAPI OleClientSite_Release(IOleClientSite *iface)
Definition: atl_ax.c:222
static ULONG WINAPI OleClientSite_AddRef(IOleClientSite *iface)
Definition: atl_ax.c:214
static HRESULT WINAPI OleClientSite_RequestNewObjectLayout(IOleClientSite *iface)
Definition: atl_ax.c:274
static HRESULT WINAPI OleClientSite_ShowObject(IOleClientSite *iface)
Definition: atl_ax.c:260
static HRESULT WINAPI OleClientSite_QueryInterface(IOleClientSite *iface, REFIID riid, void **ppv)
Definition: atl_ax.c:172
static HRESULT WINAPI OleClientSite_GetMoniker(IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
Definition: atl_ax.c:245
static HRESULT WINAPI OleClientSite_OnShowWindow(IOleClientSite *iface, BOOL fShow)
Definition: atl_ax.c:267

Definition at line 744 of file atl_ax.c.

Referenced by IOCS_Create().

◆ OleContainer_vtbl

const IOleContainerVtbl OleContainer_vtbl
static
Initial value:
= {
}
static HRESULT WINAPI OleContainer_ParseDisplayName(IOleContainer *iface, IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
Definition: atl_ax.c:306
static HRESULT WINAPI OleContainer_EnumObjects(IOleContainer *iface, DWORD grfFlags, IEnumUnknown **ppenum)
Definition: atl_ax.c:314
static HRESULT WINAPI OleContainer_QueryInterface(IOleContainer *iface, REFIID riid, void **ppv)
Definition: atl_ax.c:288
static ULONG WINAPI OleContainer_AddRef(IOleContainer *iface)
Definition: atl_ax.c:294
static HRESULT WINAPI OleContainer_LockContainer(IOleContainer *iface, BOOL fLock)
Definition: atl_ax.c:321
static ULONG WINAPI OleContainer_Release(IOleContainer *iface)
Definition: atl_ax.c:300

Definition at line 755 of file atl_ax.c.

Referenced by IOCS_Create().

◆ OleControlSite_vtbl

const IOleControlSiteVtbl OleControlSite_vtbl
static
Initial value:
=
{
}
static ULONG WINAPI OleControlSite_AddRef(IOleControlSite *iface)
Definition: atl_ax.c:695
static ULONG WINAPI OleControlSite_Release(IOleControlSite *iface)
Definition: atl_ax.c:701
static HRESULT WINAPI OleControlSite_GetExtendedControl(IOleControlSite *This, IDispatch **ppDisp)
Definition: atl_ax.c:717
static HRESULT WINAPI OleControlSite_OnFocus(IOleControlSite *This, BOOL fGotFocus)
Definition: atl_ax.c:732
static HRESULT WINAPI OleControlSite_TranslateAccelerator(IOleControlSite *This, MSG *pMsg, DWORD grfModifiers)
Definition: atl_ax.c:727
static HRESULT WINAPI OleControlSite_LockInPlaceActive(IOleControlSite *This, BOOL fLock)
Definition: atl_ax.c:712
static HRESULT WINAPI OleControlSite_ShowPropertyFrame(IOleControlSite *This)
Definition: atl_ax.c:737
static HRESULT WINAPI OleControlSite_QueryInterface(IOleControlSite *iface, REFIID riid, void **ppv)
Definition: atl_ax.c:689
static HRESULT WINAPI OleControlSite_OnControlInfoChanged(IOleControlSite *This)
Definition: atl_ax.c:707
static HRESULT WINAPI OleControlSite_TransformCoords(IOleControlSite *This, POINTL *pPtlHimetric, POINTF *pPtfContainer, DWORD dwFlags)
Definition: atl_ax.c:722

Definition at line 813 of file atl_ax.c.

Referenced by IOCS_Create().

◆ OleInPlaceFrame_vtbl

const IOleInPlaceFrameVtbl OleInPlaceFrame_vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI OleInPlaceFrame_SetBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
Definition: atl_ax.c:618
static HRESULT WINAPI OleInPlaceFrame_RequestBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
Definition: atl_ax.c:610
static HRESULT WINAPI OleInPlaceFrame_SetStatusText(IOleInPlaceFrame *iface, LPCOLESTR pszStatusText)
Definition: atl_ax.c:658
static HRESULT WINAPI OleInPlaceFrame_TranslateAccelerator(IOleInPlaceFrame *iface, LPMSG lpmsg, WORD wID)
Definition: atl_ax.c:674
static HRESULT WINAPI OleInPlaceFrame_GetBorder(IOleInPlaceFrame *iface, LPRECT lprectBorder)
Definition: atl_ax.c:602
static HRESULT WINAPI OleInPlaceFrame_GetWindow(IOleInPlaceFrame *iface, HWND *phWnd)
Definition: atl_ax.c:584
static HRESULT WINAPI OleInPlaceFrame_SetMenu(IOleInPlaceFrame *iface, HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject)
Definition: atl_ax.c:642
static ULONG WINAPI OleInPlaceFrame_AddRef(IOleInPlaceFrame *iface)
Definition: atl_ax.c:572
static HRESULT WINAPI OleInPlaceFrame_SetActiveObject(IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
Definition: atl_ax.c:626
static HRESULT WINAPI OleInPlaceFrame_InsertMenus(IOleInPlaceFrame *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
Definition: atl_ax.c:634
static HRESULT WINAPI OleInPlaceFrame_ContextSensitiveHelp(IOleInPlaceFrame *iface, BOOL fEnterMode)
Definition: atl_ax.c:594
static ULONG WINAPI OleInPlaceFrame_Release(IOleInPlaceFrame *iface)
Definition: atl_ax.c:578
static HRESULT WINAPI OleInPlaceFrame_RemoveMenus(IOleInPlaceFrame *iface, HMENU hmenuShared)
Definition: atl_ax.c:650
static HRESULT WINAPI OleInPlaceFrame_QueryInterface(IOleInPlaceFrame *iface, REFIID riid, void **ppv)
Definition: atl_ax.c:566
static HRESULT WINAPI OleInPlaceFrame_EnableModeless(IOleInPlaceFrame *iface, BOOL fEnable)
Definition: atl_ax.c:666

Definition at line 795 of file atl_ax.c.

Referenced by IOCS_Create().

◆ OleInPlaceSiteWindowless_vtbl

const IOleInPlaceSiteWindowlessVtbl OleInPlaceSiteWindowless_vtbl
static

Definition at line 763 of file atl_ax.c.

Referenced by IOCS_Create().

◆ wine_atl_iocsW

const WCHAR wine_atl_iocsW[] = {'_','_','W','I','N','E','_','A','T','L','_','I','O','C','S','\0'}
static

Definition at line 60 of file atl_ax.c.

Referenced by AtlAxGetControl(), AtlAxGetHost(), AtlHost_wndproc(), IOCS_Attach(), and IOCS_Detach().