MCPcopy Create free account
hub / github.com/ThirteenAG/Ultimate-ASI-Loader / RemoveFileOnServer

Method RemoveFileOnServer

source/dllmain.cpp:1950–1962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected