MCPcopy Create free account
hub / github.com/WheretIB/nullc / GetLastErrorDesc

Function GetLastErrorDesc

SuperCalc.cpp:272–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272char* GetLastErrorDesc()
273{
274 char* msgBuf = NULL;
275 FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
276 NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
277 reinterpret_cast<LPSTR>(&msgBuf), 0, NULL);
278 return msgBuf;
279}
280
281bool PipeSendRequest(PipeData &data)
282{

Callers 3

PipeSendRequestFunction · 0.85
PipeReceiveResponceFunction · 0.85
BroadcastThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected