Commit 7160af00 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Uniformize DllMain TRACEing across dlls.

parent 7284e6d4
......@@ -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:
......
......@@ -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)
{
......
......@@ -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 )
{
......
......@@ -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:
......
......@@ -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)
{
......
......@@ -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)
{
......
......@@ -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)
{
......
......@@ -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 )
{
......
......@@ -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:
......
......@@ -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:
......
......@@ -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) {
......
......@@ -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)
{
......
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