Sample Code

Windows Driver Samples/ WDF Hybrid 1394 Virtual Device Sample Driver/ C++/ exe/ debug.h/

/*++

Copyright (c) 1998  Microsoft Corporation

Module Name: 

    debug.h
--*/

#define TL_TRACE    0
#define TL_WARNING  1
#define TL_ERROR    2
#define TL_FATAL    3

#ifdef _DEBUG_C
unsigned char TraceLevel = TL_TRACE;
#else
extern unsigned char TraceLevel;
#endif

#define TRACE(tl, x)                \
    if ( (tl) >= TraceLevel ) {     \
        DbgPrt x ;                  \
    }

void 
DbgPrt(
    _In_ HANDLE   hWnd,
    _In_ PSTR     lpszFormat,
    ... 
    );
    

Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS