|
OpenCBM
|
Some utility functions for the driver. More...
Go to the source code of this file.
Functions | |
| VOID | LogError (IN PDEVICE_OBJECT Fdo, IN NTSTATUS ErrorCode, const WCHAR *String1, const WCHAR *String2) |
| Log an error entry in the system log. More... | |
| VOID LogError | ( | IN PDEVICE_OBJECT | Fdo, |
| IN NTSTATUS | ErrorCode, | ||
| const WCHAR * | String1, | ||
| const WCHAR * | String2 | ||
| ) |
Log an error entry in the system log.
Log an error entry in the system log.
| Fdo | Pointer to a DEVICE_OBJECT structure. This is the device object for the target device, previously created by the driver's AddDevice routine. |
| ErrorCode | The NTSTATUS code which should be reported on behalf of this error log entry |
| String1 | Pointer to the 1st (WCHAR) string which has to be included into the error log entry. This can be NULL if no string is to be inserted. |
| String2 | Pointer to the 2nd (WCHAR) string which has to be included into the error log entry. This can be NULL if no string is to be inserted. |
Definition at line 46 of file libcommon/util.c.
References DBG_ASSERT, FUNC_ENTER, and FUNC_LEAVE.
1.8.8