ReactOS  0.4.15-dev-1636-gf634010
wdfassert.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WDF_EXTERN_C
 
#define WDF_EXTERN_C_START
 
#define WDF_EXTERN_C_END
 
#define WDFVERIFY(exp)
 
#define VERIFY_IS_IRQL_PASSIVE_LEVEL()   WDFVERIFY(KeGetCurrentIrql() == PASSIVE_LEVEL)
 
#define IS_AT_PASSIVE()   WDFVERIFY(KeGetCurrentIrql() == PASSIVE_LEVEL)
 
#define WDFCASSERT(c)
 

Functions

WDF_EXTERN_C_START NTSYSAPI VOID NTAPI RtlAssert (_In_ PVOID FailedAssertion, _In_ PVOID FileName, _In_ ULONG LineNumber, _In_opt_ PSTR Message)
 

Macro Definition Documentation

◆ IS_AT_PASSIVE

#define IS_AT_PASSIVE ( )    WDFVERIFY(KeGetCurrentIrql() == PASSIVE_LEVEL)

Definition at line 84 of file wdfassert.h.

◆ VERIFY_IS_IRQL_PASSIVE_LEVEL

#define VERIFY_IS_IRQL_PASSIVE_LEVEL ( )    WDFVERIFY(KeGetCurrentIrql() == PASSIVE_LEVEL)

Definition at line 79 of file wdfassert.h.

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 40 of file wdfassert.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 42 of file wdfassert.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 41 of file wdfassert.h.

◆ WDFCASSERT

#define WDFCASSERT (   c)
Value:
{ \
__pragma(warning(suppress: 6326)) \
switch(0) case (c): case 0: ; \
}
boolean suppress
Definition: jpeglib.h:1006
const GLubyte * c
Definition: glext.h:8905
#define warning(s)
Definition: debug.h:83

Definition at line 93 of file wdfassert.h.

◆ WDFVERIFY

#define WDFVERIFY (   exp)
Value:
{ \
RtlAssert( #exp, __FILE__, __LINE__, NULL ); \
} \
}
PWDF_DRIVER_GLOBALS WdfDriverGlobals
#define NULL
Definition: types.h:112
DWORD exp
Definition: msg.c:16033

Definition at line 73 of file wdfassert.h.

Function Documentation

◆ RtlAssert()

WDF_EXTERN_C_START NTSYSAPI VOID NTAPI RtlAssert ( _In_ PVOID  FailedAssertion,
_In_ PVOID  FileName,
_In_ ULONG  LineNumber,
_In_opt_ PSTR  Message 
)