atl: Trace ATL version.

This commit is contained in:
Qian Hong 2013-10-17 02:41:44 +08:00 committed by Alexandre Julliard
parent 3e88582a78
commit 0fb6b350c2
1 changed files with 4 additions and 3 deletions

View File

@ -146,7 +146,7 @@ HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULEW *pM, _ATL_TERMFUNC *pFunc, DWOR
{ {
_ATL_TERMFUNC_ELEM *termfunc_elem; _ATL_TERMFUNC_ELEM *termfunc_elem;
TRACE("(%p %p %ld)\n", pM, pFunc, dw); TRACE("version %04x (%p %p %ld)\n", _ATL_VER, pM, pFunc, dw);
if (pM->cbSize > ATLVer1Size) if (pM->cbSize > ATLVer1Size)
{ {
@ -590,6 +590,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/ */
DWORD WINAPI AtlGetVersion(void *pReserved) DWORD WINAPI AtlGetVersion(void *pReserved)
{ {
TRACE("version %04x (%p)\n", _ATL_VER, pReserved);
return _ATL_VER; return _ATL_VER;
} }
@ -617,7 +618,7 @@ BOOL WINAPI AtlAxWinInit(void)
WNDCLASSEXW wcex; WNDCLASSEXW wcex;
const WCHAR AtlAxWin[] = {'A','t','l','A','x','W','i','n',0}; const WCHAR AtlAxWin[] = {'A','t','l','A','x','W','i','n',0};
FIXME("semi-stub\n"); FIXME("version %04x semi-stub\n", _ATL_VER);
if ( FAILED( OleInitialize(NULL) ) ) if ( FAILED( OleInitialize(NULL) ) )
return FALSE; return FALSE;