Uniformize DllMain TRACEing across dlls.

This commit is contained in:
Vincent Béron 2005-08-15 10:48:51 +00:00 committed by Alexandre Julliard
parent 7284e6d419
commit 7160af007c
12 changed files with 12 additions and 12 deletions

View File

@ -205,7 +205,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/ */
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved) 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) { switch (fdwReason) {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:

View File

@ -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) 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) switch(Reason)
{ {

View File

@ -73,7 +73,7 @@ DWORD gdwDPlaySPRefCount = 0; /* FIXME: Should it be initialized here? */
BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) 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 ) switch ( fdwReason )
{ {

View File

@ -653,7 +653,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved) BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved)
{ {
int i; int i;
TRACE("(%p 0x%lx %p)\n", hInstDLL, fdwReason, lpvReserved); TRACE("(%p %ld %p)\n", hInstDLL, fdwReason, lpvReserved);
switch (fdwReason) { switch (fdwReason) {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:

View File

@ -30,7 +30,7 @@ HINSTANCE hhctrl_hinstance;
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved) 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) switch (fdwReason)
{ {

View File

@ -36,7 +36,7 @@ LONG MAPI_ObjectCount = 0;
*/ */
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 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) switch (fdwReason)
{ {

View File

@ -36,7 +36,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mscms);
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) 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) switch (reason)
{ {

View File

@ -59,7 +59,7 @@ BOOL WINAPI DllMain(
DWORD fdwReason, DWORD fdwReason,
LPVOID lpvReserved ) LPVOID lpvReserved )
{ {
TRACE("(%p,%08lx,%p)\n",hInstDLL,fdwReason,lpvReserved); TRACE("(%p,%ld,%p)\n",hInstDLL,fdwReason,lpvReserved);
switch ( fdwReason ) switch ( fdwReason )
{ {

View File

@ -755,7 +755,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/ */
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved) 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) { switch (fdwReason) {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:

View File

@ -36,7 +36,7 @@ BOOL WINAPI DllMain(
DWORD fdwReason, DWORD fdwReason,
LPVOID lpvReserved) LPVOID lpvReserved)
{ {
TRACE("(%p,%08lx,%p)\n", hInstDLL, fdwReason, lpvReserved); TRACE("(%p,%ld,%p)\n", hInstDLL, fdwReason, lpvReserved);
switch(fdwReason) { switch(fdwReason) {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:

View File

@ -118,7 +118,7 @@ static LOGFONTA DefaultLogFont = {
*/ */
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) 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) { switch(reason) {

View File

@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) 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) switch (reason)
{ {