Fix the AtlAxWinInit() prototype.

Also make it return FALSE to indicate failure instead of E_FAIL.
Define AtlAxWinInit() and AtlAxCreateControl() in atliface.idl.
This commit is contained in:
Francois Gouget 2005-12-02 13:27:55 +01:00 committed by Alexandre Julliard
parent 250c80b1ed
commit 1e3b5844ba
2 changed files with 5 additions and 2 deletions

View file

@ -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;
}

View file

@ -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);")