Group: HTTP Functions (WinHTTP) - Library: winhttp
Custom HttpRequest class (WinHTTP)
BOOL WinHttpCloseHandle(
HINTERNET hInternet
); DECLARE INTEGER WinHttpCloseHandle IN winhttp;
INTEGER hInternet hInternet [in] Valid HINTERNET handle to be closed.
Returns TRUE if the handle is successfully closed, or FALSE otherwise.
MSDN: When WinHTTP is used in asynchronous mode (that is, when WINHTTP_FLAG_ASYNC has been set in WinHttpOpen), this function operates synchronously.
The return value indicates success or failure. To get extended error information, call GetLastError.
Home