|
dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
|
#include <initguid.h>#include "dxd_wdm.h"#include <devpkey.h>#include <usb.h>#include <usbbusif.h>#include <wdmguid.h>#include "dxd_log.h"#include "dxd_string.h"#include <stdarg.h>Namespaces | |
| namespace | dxd |
| dynax driver framework kernel namespace | |
Macros | |
| #define | maxlogwchar ((ERROR_LOG_MAXIMUM_SIZE-sizeof(::IO_ERROR_LOG_PACKET)+sizeof(unsigned long))/sizeof(wchar_t)-1) |
| Windows event logging. | |
| #define | try(test) |
Functions | |
| void | dxd::errorlog(const char* fmt...) |
| void | dxd::log(const char* fmt...) |
| windows kernel logging | |
| ::NTSTATUS | dxd::register_resource(const ::UNICODE_STRING& registry) |
| ...\Services\<service> -> ...\Services\EventLog\System\<service>: EventMessageFile= SystemRoot%\system32\drivers\<service>.sys | |
| void | dxd::warnlog(const char* fmt...) |
Variables | |
| ::DRIVER_OBJECT* | dxd::wdm_driver= nullptr |
| the driver's construction from DriverEntry, every form's: the event log's messages registered, the driver made on the driver object, its registry path and the form's own arguments (a PortCls adapter's name, the product's GUID), and let go where it failed | |
| #define maxlogwchar ((ERROR_LOG_MAXIMUM_SIZE-sizeof(::IO_ERROR_LOG_PACKET)+sizeof(unsigned long))/sizeof(wchar_t)-1) |
Windows event logging.
| #define try(test) |