atl: Implement AtlAxAttachControl.
This commit is contained in:
parent
e1d94f3633
commit
7c5f011c11
|
@ -32,7 +32,7 @@
|
|||
38 stdcall AtlAxCreateDialogA(long str long ptr long)
|
||||
39 stdcall AtlAxCreateControl(ptr ptr ptr ptr)
|
||||
40 stdcall AtlAxCreateControlEx(ptr ptr ptr ptr ptr ptr ptr)
|
||||
41 stub AtlAxAttachControl
|
||||
41 stdcall AtlAxAttachControl(ptr ptr ptr)
|
||||
42 stdcall AtlAxWinInit()
|
||||
43 stdcall AtlModuleAddCreateWndData(ptr ptr ptr)
|
||||
44 stdcall AtlModuleExtractCreateWndData(ptr)
|
||||
|
|
|
@ -470,8 +470,20 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd,
|
|||
*/
|
||||
HRESULT WINAPI AtlAxAttachControl(IUnknown* pControl, HWND hWnd, IUnknown** ppUnkContainer)
|
||||
{
|
||||
FIXME( "(%p %p %p) - stub\n", pControl, hWnd, ppUnkContainer );
|
||||
return E_NOTIMPL;
|
||||
IOCS *pUnkContainer;
|
||||
HRESULT hr;
|
||||
|
||||
TRACE( "%p %p %p\n", pControl, hWnd, ppUnkContainer );
|
||||
|
||||
*ppUnkContainer = NULL;
|
||||
|
||||
hr = IOCS_Create( hWnd, pControl, &pUnkContainer );
|
||||
if ( SUCCEEDED( hr ) )
|
||||
{
|
||||
*ppUnkContainer = (IUnknown*) pUnkContainer;
|
||||
}
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
|
|
Loading…
Reference in New Issue