26#if FX_CORE_MODE==FX_CORE_USER_MODE
30#if !defined(EVENT_TRACING)
62#define TEMP_BUFFER_SIZE 1024
76#if FX_CORE_MODE==FX_CORE_KERNEL_MODE
78 sizeof(debugMessageBuffer),
84 sizeof(debugMessageBuffer),
100#if FX_CORE_MODE==FX_CORE_KERNEL_MODE
110 ((DebugPrintFlag &
DebugFlag) == DebugPrintFlag))) {
111#if FX_CORE_MODE==FX_CORE_KERNEL_MODE
112 DbgPrint(
"WDFTrace: %s\n", debugMessageBuffer);
VOID __cdecl DoTraceLevelMessage(__in PVOID FxDriverGlobals, __in ULONG DebugPrintLevel, __in ULONG DebugPrintFlag, __drv_formatString(FormatMessage) __in PCSTR DebugMessage,...)
#define NT_SUCCESS(StatCode)
#define __drv_formatString(kind)
NTSTATUS WinErrorToNtStatus(__in ULONG WinError)
#define UNREFERENCED_PARAMETER(P)
NTSTRSAFEAPI RtlStringCbVPrintfA(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PSTR pszDest, _In_ size_t cbDest, _In_ _Printf_format_string_ NTSTRSAFE_PCSTR pszFormat, _In_ va_list argList)
#define TRACE_LEVEL_ERROR
STRSAFEAPI StringCbVPrintfA(STRSAFE_LPSTR pszDest, size_t cbDest, STRSAFE_LPCSTR pszFormat, va_list argList)
#define STATUS_UNSUCCESSFUL
#define OutputDebugString
#define HRESULT_FACILITY(hr)