diff --git a/dlls/atl/atl.spec b/dlls/atl/atl.spec index 3d35e1422dd..471a1946a82 100644 --- a/dlls/atl/atl.spec +++ b/dlls/atl/atl.spec @@ -30,7 +30,7 @@ 36 stub AtlAxDialogBoxA 37 stub AtlAxCreateDialogW 38 stub AtlAxCreateDialogA -39 stub AtlAxCreateControl +39 stdcall AtlAxCreateControl(ptr ptr ptr ptr) 40 stub AtlAxCreateControlEx 41 stub AtlAxAttachControl 42 stdcall AtlAxWinInit() diff --git a/dlls/atl/atl_main.c b/dlls/atl/atl_main.c index 2ef7be06375..687fb05b9eb 100644 --- a/dlls/atl/atl_main.c +++ b/dlls/atl/atl_main.c @@ -314,3 +314,13 @@ HRESULT WINAPI AtlModuleUnregisterServer(_ATL_MODULEW *pm, const CLSID *clsid) FIXME("%p %s\n", pm, debugstr_guid(clsid)); return E_FAIL; } + +/*********************************************************************** + * AtlAxCreateControl [ATL.@] + */ +HRESULT WINAPI AtlAxCreateControl(LPCOLESTR lpszName, HWND hWnd, + IStream *pStream, IUnknown **ppUnkContainer) +{ + FIXME("%s %p %p %p)\n", debugstr_w(lpszName), hWnd, pStream, ppUnkContainer); + return E_NOTIMPL; +} diff --git a/dlls/atl/atlbase.h b/dlls/atl/atlbase.h index 9b2817de1d1..10439424614 100644 --- a/dlls/atl/atlbase.h +++ b/dlls/atl/atlbase.h @@ -142,6 +142,7 @@ struct _ATL_REGMAP_ENTRY }; HRESULT WINAPI AtlAdvise(IUnknown *pUnkCP, IUnknown *pUnk, const IID * iid, LPDWORD dpw); +HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**); HRESULT WINAPI AtlFreeMarshalStream(IStream *pStream); HRESULT WINAPI AtlInternalQueryInterface(LPVOID pThis, const _ATL_INTMAP_ENTRY* pEntries, REFIID iid, LPVOID* ppvObject); HRESULT WINAPI AtlMarshalPtrInProc(IUnknown *pUnk, const IID *iid, IStream **ppStream);