Download to file
| 254 | // Download to memory |
| 255 | static DWORD WINAPI DownloadToMemThread(void* context) |
| 256 | { |
| 257 | DownloadToMemContext* c = (DownloadToMemContext*)context; |
| 258 | c->result = DownloadFile(c->url, *c->size, c->proxy, c->maxSize); |
| 259 | c->done.store(true, std::memory_order_release); |
| 260 | c->event->Set(); |
| 261 | return 0; |
| 262 | } |
| 263 | |
| 264 | // Download to file |
| 265 | static DWORD WINAPI DownloadToFileThread(void* context) |
no test coverage detected