mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:16:04 +00:00
[USBPORT] Add USBPORT_DumpingEndpointProperties() and USBPORT_DumpingTtEndpoint().
This commit is contained in:
parent
698f092ab1
commit
3bda39fcb8
3 changed files with 66 additions and 0 deletions
|
@ -112,6 +112,23 @@
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef NDEBUG_USBPORT_USB2
|
||||
|
||||
#define DPRINT_USB2(fmt, ...) do { \
|
||||
if (DbgPrint("(%s:%d) " fmt, __RELFILE__, __LINE__, ##__VA_ARGS__)) \
|
||||
DbgPrint("(%s:%d) DbgPrint() failed!\n", __RELFILE__, __LINE__); \
|
||||
} while (0)
|
||||
|
||||
#else
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define DPRINT_USB2 __noop
|
||||
#else
|
||||
#define DPRINT_USB2(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#else /* not DBG */
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
@ -121,6 +138,7 @@
|
|||
#define DPRINT_INT __noop
|
||||
#define DPRINT_TIMER __noop
|
||||
#define DPRINT_QUEUE __noop
|
||||
#define DPRINT_USB2 __noop
|
||||
#else
|
||||
#define DPRINT_MINIPORT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
#define DPRINT_CORE(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
|
@ -128,6 +146,7 @@
|
|||
#define DPRINT_INT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
#define DPRINT_TIMER(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
#define DPRINT_QUEUE(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
#define DPRINT_USB2(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#endif /* not DBG */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue