dxd - dynax driver framework
cross platform open source driver development framework
windows/dx_driver.h File Reference
#include "dx_device.h"
#include <setupapi.h>
#include <deque>
#include <memory>
#include <algorithm>
#include <tchar.h>
#include <cfgmgr32.h>
+ Include dependency graph for windows/dx_driver.h:
+ This graph shows which files directly or indirectly include this file:

Classes

class  dx::driver< device_t >
 generic driver interface class More...
 
class  dx::driver< device_t >::setup
 

Namespaces

 dx
 dynax driver framework user mode interface namespace
 

Macros

#define catchlog
 

Typedefs

typedef ::GUID dx::match
 

Macro Definition Documentation

◆ catchlog

#define catchlog
Value:
catch(dx::exception& exception){\
::SetupWriteTextLog(log, TXTLOG_DEVINST, TXTLOG_TIMESTAMP | TXTLOG_ERROR,\
"%s: %s@%s (%s: %d)", exception.what(), exception.function, exception.frame, exception.file, exception.line);\
}catch(...){\
::SetupWriteTextLog(log, TXTLOG_DEVINST, TXTLOG_TIMESTAMP | TXTLOG_ERROR,\
__FUNCTION__ ": unknown exception");\
}
Definition: dx_exception.h:86
unsigned int line
Definition: dx_exception.h:93
exception const char * what
Definition: dx_exception.h:96
const char * frame
Definition: dx_exception.h:90
const char * function
Definition: dx_exception.h:91
const char * file
Definition: dx_exception.h:92
void log(const char *fmt...)
windows kernel logging
Definition: dxd_base.cpp:88

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Jul 30 2021

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.