MCPcopy Create free account
hub / github.com/Apache553/SubtitleFontHelper / WritePipe

Function WritePipe

FontLoadInterceptor/RpcClient.cpp:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 };
127
128 void WritePipe(HANDLE pipe, const void* src, DWORD size)
129 {
130 DWORD writeBytes;
131 THROW_LAST_ERROR_IF(WriteFile(pipe, src, size, &writeBytes, nullptr) == FALSE);
132 if (writeBytes != size)
133 throw std::runtime_error("can't write much data");
134 }
135
136 void ReadPipe(HANDLE pipe, void* dst, DWORD size)
137 {

Callers 2

SendRequstFunction · 0.85
HandleQueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected