Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#define MAX_VAR_ARGS 16
#define MAX_LOG_STRING 64
VOID NDDELogErrorA(DWORD EventId, ...); VOID NDDELogWarningA(DWORD EventId, ...); VOID NDDELogInfoA(DWORD EventId, ...); VOID NDDELogDataA(DWORD EventId, DWORD cbData, LPVOID lpvData); LPSTR LogStringA(LPSTR szFormat, ...);
VOID NDDELogErrorW(DWORD EventId, ...); VOID NDDELogWarningW(DWORD EventId, ...); VOID NDDELogInfoW(DWORD EventId, ...); VOID NDDELogDataW(DWORD EventId, DWORD cbData, LPVOID lpvData); LPWSTR LogStringW(LPWSTR szFormat, ...);
#ifdef UNICODE
#define NDDELogError NDDELogErrorW
#define NDDELogWarning NDDELogWarningW
#define NDDELogInfo NDDELogInfoW
#define NDDELogData NDDELogDataW
#define LogString LogStringW
#else
#define NDDELogError NDDELogErrorA
#define NDDELogWarning NDDELogWarningA
#define NDDELogInfo NDDELogInfoA
#define NDDELogData NDDELogDataA
#define LogString LogStringA
#endif
|