示例#1
0
RTDECL(size_t) RTLogBackdoorPrintfV(const char *pszFormat, va_list args)
{
#ifdef IN_GUEST_R0
    return 0;
#else
    return RTLogFormatV(rtLogBackdoorOutput, NULL, pszFormat, args);
#endif
}
示例#2
0
int RTLogBackdoorPrintf1(const char *pszFormat, ...)
{
    va_list args;

    LARGE_INTEGER time;

    KeQueryTickCount(&time);

    RTLogBackdoorPrintf("T=%RX64 ", time.QuadPart);
    va_start(args, pszFormat);
    RTLogFormatV(rtLogBackdoorOutput, NULL, pszFormat, args);
    va_end(args);

    return 0;
}
RTDECL(size_t) RTLogBackdoorPrintfV(const char *pszFormat, va_list args)
{
    return RTLogFormatV(rtLogBackdoorOutput, NULL, pszFormat, args);
}