size_t test_save(void *ptr, size_t size, size_t nmemb, void *stream) { size_t sizes = size * nmemb; DWORD dwHasWritten; WriteFile((HANDLE)stream,ptr,sizes,&dwHasWritten,NULL); return sizes; } int test_get(const char *url, HANDLE hFile) { CURL *pCurl…