| 1948 | } |
| 1949 | |
| 1950 | static void RemoveFileOnServer(uint64_t server_handle) |
| 1951 | { |
| 1952 | if (serverPipe == INVALID_HANDLE_VALUE) return; |
| 1953 | |
| 1954 | std::lock_guard<std::mutex> lock(serverMutex); |
| 1955 | |
| 1956 | ServerCommand request = {}; |
| 1957 | request.command = ServerCommand::REMOVE_FILE; |
| 1958 | request.server_handle = server_handle; |
| 1959 | |
| 1960 | DWORD bytesWritten = 0; |
| 1961 | WriteFile(serverPipe, &request, sizeof(request), &bytesWritten, NULL); |
| 1962 | } |
| 1963 | #endif |
| 1964 | }; |
| 1965 |
nothing calls this directly
no outgoing calls
no test coverage detected