MCPcopy Create free account
hub / github.com/dobin/RedEdr / LOG_W

Function LOG_W

RedEdrDll/logging.cpp:19–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19void LOG_W(int verbosity, const wchar_t* format, ...)
20{
21 WCHAR message[DATA_BUFFER_SIZE] = L"[RedEdr DLL] ";
22 size_t offset = wcslen(message);
23
24 va_list arg_ptr;
25 va_start(arg_ptr, format);
26 int ret = vswprintf(&message[offset], DATA_BUFFER_SIZE - offset, format, arg_ptr);
27 va_end(arg_ptr);
28
29 OutputDebugStringW(message);
30}

Callers 1

InitDllPipeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected