Commit 1e3b5844 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fix the AtlAxWinInit() prototype.

Also make it return FALSE to indicate failure instead of E_FAIL. Define AtlAxWinInit() and AtlAxCreateControl() in atliface.idl.
parent 250c80b1
......@@ -174,10 +174,10 @@ HRESULT WINAPI AtlModuleUnregisterServerEx(_ATL_MODULEA* pM, BOOL bUnRegTypeLib,
* TRUE or FALSE
*/
HRESULT WINAPI AtlAxWinInit(void)
BOOL WINAPI AtlAxWinInit(void)
{
FIXME("Try use native atl.dll if possible\n");
return E_FAIL;
return FALSE;
}
......
......@@ -69,3 +69,6 @@ interface IRegistrar : IUnknown
}
cpp_quote("DEFINE_GUID(CLSID_ATLRegistrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);")
cpp_quote("HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**);")
cpp_quote("BOOL WINAPI AtlAxWinInit(void);")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment