#pragma once

#include <Windows.h>

PBYTE WinHTTPGetResponse(PRUNTIME pRuntime, PULONG uOut);
BOOL WinHTTPSendData(PRUNTIME pRuntime, PBYTE pBuffer, ULONG uBuffLen);
BOOL WinHTTPSetup(PRUNTIME pRuntime, PBYTE pServerUrl, PBYTE pAddrToConnect, ULONG uBufLen, PULONG pPortToConnect);
VOID WinHTTPClose(PRUNTIME pRuntime);
BOOL ResolveName(PRUNTIME pRuntime, PBYTE pServerUrl, PBYTE pAddrToConnect, ULONG uBufLen);
