MCPcopy Create free account
hub / github.com/beefytech/Beef / CreatePipeWithSecurityAttributes

Function CreatePipeWithSecurityAttributes

IDEHelper/WinDebugger.cpp:1307–1315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1305}
1306
1307static bool CreatePipeWithSecurityAttributes(HANDLE& hReadPipe, HANDLE& hWritePipe, SECURITY_ATTRIBUTES* lpPipeAttributes, int32 nSize)
1308{
1309 hReadPipe = 0;
1310 hWritePipe = 0;
1311 bool ret = ::CreatePipe(&hReadPipe, &hWritePipe, lpPipeAttributes, nSize);
1312 if (!ret || (hReadPipe == INVALID_HANDLE_VALUE) || (hWritePipe == INVALID_HANDLE_VALUE))
1313 return false;
1314 return true;
1315}
1316
1317static bool CreatePipe(HANDLE& parentHandle, HANDLE& childHandle, bool parentInputs)
1318{

Callers 1

CreatePipeFunction · 0.70

Calls 1

CreatePipeFunction · 0.70

Tested by

no test coverage detected