From 7160af007c060b75ff08d6b9f204f38e6b3f0080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20B=C3=A9ron?= Date: Mon, 15 Aug 2005 10:48:51 +0000 Subject: [PATCH] Uniformize DllMain TRACEing across dlls. --- dlls/avifil32/factory.c | 2 +- dlls/commdlg/cdlg32.c | 2 +- dlls/dplayx/dplayx_main.c | 2 +- dlls/dsound/dsound_main.c | 2 +- dlls/hhctrl.ocx/main.c | 2 +- dlls/mapi32/mapi32_main.c | 2 +- dlls/mscms/mscms_main.c | 2 +- dlls/msisys/msisys.c | 2 +- dlls/oleaut32/oleaut.c | 2 +- dlls/snmpapi/main.c | 2 +- dlls/wineps/init.c | 2 +- dlls/wldap32/main.c | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dlls/avifil32/factory.c b/dlls/avifil32/factory.c index 7c8a1d86a55..b1f95ab4a8b 100644 --- a/dlls/avifil32/factory.c +++ b/dlls/avifil32/factory.c @@ -205,7 +205,7 @@ HRESULT WINAPI DllCanUnloadNow(void) */ BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved) { - TRACE("(%p,%lu,%p)\n", hInstDll, fdwReason, lpvReserved); + TRACE("(%p,%ld,%p)\n", hInstDll, fdwReason, lpvReserved); switch (fdwReason) { case DLL_PROCESS_ATTACH: diff --git a/dlls/commdlg/cdlg32.c b/dlls/commdlg/cdlg32.c index 1a50542ba11..689db124ca1 100644 --- a/dlls/commdlg/cdlg32.c +++ b/dlls/commdlg/cdlg32.c @@ -73,7 +73,7 @@ static const char * GPA_string = "Failed to get entry point %s for hinst = 0x%08 BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved) { - TRACE("(%p, %08lx, %p)\n", hInstance, Reason, Reserved); + TRACE("(%p, %ld, %p)\n", hInstance, Reason, Reserved); switch(Reason) { diff --git a/dlls/dplayx/dplayx_main.c b/dlls/dplayx/dplayx_main.c index 20f214b4388..1969d0d311d 100644 --- a/dlls/dplayx/dplayx_main.c +++ b/dlls/dplayx/dplayx_main.c @@ -73,7 +73,7 @@ DWORD gdwDPlaySPRefCount = 0; /* FIXME: Should it be initialized here? */ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) { - TRACE( "(%p,0x%08lx,%p)\n", hinstDLL, fdwReason, lpvReserved ); + TRACE( "(%p,%ld,%p)\n", hinstDLL, fdwReason, lpvReserved ); switch ( fdwReason ) { diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c index 3efb67dd5c0..1a2f5e2af28 100644 --- a/dlls/dsound/dsound_main.c +++ b/dlls/dsound/dsound_main.c @@ -653,7 +653,7 @@ HRESULT WINAPI DllCanUnloadNow(void) BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved) { int i; - TRACE("(%p 0x%lx %p)\n", hInstDLL, fdwReason, lpvReserved); + TRACE("(%p %ld %p)\n", hInstDLL, fdwReason, lpvReserved); switch (fdwReason) { case DLL_PROCESS_ATTACH: diff --git a/dlls/hhctrl.ocx/main.c b/dlls/hhctrl.ocx/main.c index ce150da8265..8d2ce164259 100644 --- a/dlls/hhctrl.ocx/main.c +++ b/dlls/hhctrl.ocx/main.c @@ -30,7 +30,7 @@ HINSTANCE hhctrl_hinstance; BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved) { - TRACE("(%p,0x%08lx,%p)\n", hInstance, fdwReason, lpvReserved); + TRACE("(%p,%ld,%p)\n", hInstance, fdwReason, lpvReserved); switch (fdwReason) { diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c index c05d7108c2d..5fadb5a2864 100644 --- a/dlls/mapi32/mapi32_main.c +++ b/dlls/mapi32/mapi32_main.c @@ -36,7 +36,7 @@ LONG MAPI_ObjectCount = 0; */ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) { - TRACE("(%p,0x%lx,%p)\n", hinstDLL, fdwReason, fImpLoad); + TRACE("(%p,%ld,%p)\n", hinstDLL, fdwReason, fImpLoad); switch (fdwReason) { diff --git a/dlls/mscms/mscms_main.c b/dlls/mscms/mscms_main.c index 14a4c03af58..364ea29fcd2 100644 --- a/dlls/mscms/mscms_main.c +++ b/dlls/mscms/mscms_main.c @@ -36,7 +36,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mscms); BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) { - TRACE( "(%p, 0x%08lx, %p)\n", hinst, reason, reserved ); + TRACE( "(%p, %ld, %p)\n", hinst, reason, reserved ); switch (reason) { diff --git a/dlls/msisys/msisys.c b/dlls/msisys/msisys.c index b17308a50d5..62d12383aa1 100644 --- a/dlls/msisys/msisys.c +++ b/dlls/msisys/msisys.c @@ -59,7 +59,7 @@ BOOL WINAPI DllMain( DWORD fdwReason, LPVOID lpvReserved ) { - TRACE("(%p,%08lx,%p)\n",hInstDLL,fdwReason,lpvReserved); + TRACE("(%p,%ld,%p)\n",hInstDLL,fdwReason,lpvReserved); switch ( fdwReason ) { diff --git a/dlls/oleaut32/oleaut.c b/dlls/oleaut32/oleaut.c index 2f0a9b5a4fd..1b0f133ae51 100644 --- a/dlls/oleaut32/oleaut.c +++ b/dlls/oleaut32/oleaut.c @@ -755,7 +755,7 @@ HRESULT WINAPI DllCanUnloadNow(void) */ BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved) { - TRACE("(%p,%lu,%p)\n", hInstDll, fdwReason, lpvReserved); + TRACE("(%p,%ld,%p)\n", hInstDll, fdwReason, lpvReserved); switch (fdwReason) { case DLL_PROCESS_ATTACH: diff --git a/dlls/snmpapi/main.c b/dlls/snmpapi/main.c index f768ddd07f7..326e6bc37bf 100644 --- a/dlls/snmpapi/main.c +++ b/dlls/snmpapi/main.c @@ -36,7 +36,7 @@ BOOL WINAPI DllMain( DWORD fdwReason, LPVOID lpvReserved) { - TRACE("(%p,%08lx,%p)\n", hInstDLL, fdwReason, lpvReserved); + TRACE("(%p,%ld,%p)\n", hInstDLL, fdwReason, lpvReserved); switch(fdwReason) { case DLL_PROCESS_ATTACH: diff --git a/dlls/wineps/init.c b/dlls/wineps/init.c index 9788eb3872f..5fc51495f5a 100644 --- a/dlls/wineps/init.c +++ b/dlls/wineps/init.c @@ -118,7 +118,7 @@ static LOGFONTA DefaultLogFont = { */ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) { - TRACE("(%p, 0x%08lx, %p)\n", hinst, reason, reserved); + TRACE("(%p, %ld, %p)\n", hinst, reason, reserved); switch(reason) { diff --git a/dlls/wldap32/main.c b/dlls/wldap32/main.c index d35779d3cdb..c1d46643d81 100644 --- a/dlls/wldap32/main.c +++ b/dlls/wldap32/main.c @@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32); BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) { - TRACE( "(%p, 0x%08lx, %p)\n", hinst, reason, reserved ); + TRACE( "(%p, %ld, %p)\n", hinst, reason, reserved ); switch (reason) {