Add missing debug channel declarations

svn path=/trunk/; revision=30433
This commit is contained in:
Hervé Poussineau 2007-11-14 09:02:53 +00:00
parent 287c4e6a3a
commit f99a56335f
14 changed files with 28 additions and 7 deletions

View file

@ -112,7 +112,7 @@ SetDefaultLanguage(
} }
else if (dwType != REG_SZ) else if (dwType != REG_SZ)
{ {
TRACE("Wrong type for %S\\%S registry entry (got 0x%lx, expected 0x%lx)\n", TRACE("Wrong type for %S\\%S registry entry (got 0x%lx, expected 0x%x)\n",
SubKey, ValueName, dwType, REG_SZ); SubKey, ValueName, dwType, REG_SZ);
goto cleanup; goto cleanup;
} }
@ -415,7 +415,7 @@ CreateLogoffSecurityAttributes(
pACL, pACL,
FALSE)) // not a default DACL FALSE)) // not a default DACL
{ {
ERR("SetSecurityDescriptorDacl Error %u\n", GetLastError()); ERR("SetSecurityDescriptorDacl Error %lu\n", GetLastError());
HeapFree(GetProcessHeap(), 0, pMem); HeapFree(GetProcessHeap(), 0, pMem);
return STATUS_UNSUCCESSFUL; return STATUS_UNSUCCESSFUL;
} }
@ -466,7 +466,7 @@ HandleLogoff(
Status = CreateLogoffSecurityAttributes(&psa); Status = CreateLogoffSecurityAttributes(&psa);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
ERR("Failed to create a required security descriptor. Status 0x%08x\n", Status); ERR("Failed to create a required security descriptor. Status 0x%08lx\n", Status);
HeapFree(GetProcessHeap(), 0, LSData); HeapFree(GetProcessHeap(), 0, LSData);
return Status; return Status;
} }

View file

@ -667,7 +667,7 @@ LoadGina(
} }
else else
{ {
TRACE("About to negociate with Gina %S. Winlogon uses version %lx\n", TRACE("About to negociate with Gina %S. Winlogon uses version %x\n",
GinaDll, WLX_CURRENT_VERSION); GinaDll, WLX_CURRENT_VERSION);
if (!Functions->WlxNegotiate(WLX_CURRENT_VERSION, DllVersion)) if (!Functions->WlxNegotiate(WLX_CURRENT_VERSION, DllVersion))
goto cleanup; goto cleanup;

View file

@ -19,12 +19,14 @@
*/ */
#include "iphlpapi_private.h" #include "iphlpapi_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
/* /*
* @unimplemented * @unimplemented
*/ */
DWORD STDCALL DisableMediaSense(HANDLE *pHandle,OVERLAPPED *pOverLapped) DWORD STDCALL DisableMediaSense(HANDLE *pHandle,OVERLAPPED *pOverLapped)
{ {
UNIMPLEMENTED UNIMPLEMENTED;
return 0L; return 0L;
} }
@ -33,7 +35,7 @@ DWORD STDCALL DisableMediaSense(HANDLE *pHandle,OVERLAPPED *pOverLapped)
*/ */
DWORD STDCALL RestoreMediaSense(OVERLAPPED* pOverlapped,LPDWORD lpdwEnableCount) DWORD STDCALL RestoreMediaSense(OVERLAPPED* pOverlapped,LPDWORD lpdwEnableCount)
{ {
UNIMPLEMENTED UNIMPLEMENTED;
return 0L; return 0L;
} }

View file

@ -18,6 +18,8 @@
//#define YDEBUG //#define YDEBUG
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(kernel32);
/* FUNCTIONS ****************************************************************/ /* FUNCTIONS ****************************************************************/
/* /*

View file

@ -126,6 +126,7 @@
<define name="_DISABLE_TIDENTS" /> <define name="_DISABLE_TIDENTS" />
<define name="WINVER">0x0500</define> <define name="WINVER">0x0500</define>
<library>kernel32_base</library> <library>kernel32_base</library>
<library>wine</library>
<library>pseh</library> <library>pseh</library>
<library>ntdll</library> <library>ntdll</library>
<linkerflag>-lgcc</linkerflag> <linkerflag>-lgcc</linkerflag>

View file

@ -14,6 +14,8 @@
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(msgina);
/* /*
* @unimplemented * @unimplemented
*/ */

View file

@ -21,9 +21,9 @@
<define name="__MINGW_IMPORT">"extern __attribute__ ((dllexport))"</define> <define name="__MINGW_IMPORT">"extern __attribute__ ((dllexport))"</define>
<library>crt</library> <library>crt</library>
<library>ntdll</library>
<library>kernel32</library> <library>kernel32</library>
<library>wine</library> <library>wine</library>
<library>ntdll</library>
<pch>precomp.h</pch> <pch>precomp.h</pch>
<file>dllmain.c</file> <file>dllmain.c</file>
<file>msvcrt.rc</file> <file>msvcrt.rc</file>

View file

@ -20,6 +20,8 @@
#include "newdev_private.h" #include "newdev_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(newdev);
/* /*
* @unimplemented * @unimplemented
*/ */

View file

@ -14,6 +14,8 @@
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* /*
* @unimplemented * @unimplemented
*/ */

View file

@ -32,6 +32,8 @@
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
#undef CopyCursor #undef CopyCursor
HBITMAP HBITMAP

View file

@ -32,6 +32,8 @@
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* GLOBALS *******************************************************************/ /* GLOBALS *******************************************************************/
#define DSS_DEFAULT 0x0040 /* Make it bold */ #define DSS_DEFAULT 0x0040 /* Make it bold */

View file

@ -32,6 +32,8 @@
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
/* /*

View file

@ -35,6 +35,8 @@
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* DEFINES *******************************************************************/ /* DEFINES *******************************************************************/
#define MSGBOX_IDICON (1088) #define MSGBOX_IDICON (1088)

View file

@ -32,6 +32,8 @@
#include <wine/debug.h> #include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
static HBRUSH FrameBrushes[13]; static HBRUSH FrameBrushes[13];
static HBITMAP hHatch; static HBITMAP hHatch;
const DWORD HatchBitmap[4] = {0x5555AAAA, 0x5555AAAA, 0x5555AAAA, 0x5555AAAA}; const DWORD HatchBitmap[4] = {0x5555AAAA, 0x5555AAAA, 0x5555AAAA, 0x5555AAAA};