InternetSetOption
BOOL InternetSetOption(
    IN HINTERNET hInternet,
    IN DWORD dwOption,
    IN LPVOID lpBuffer,
    IN DWORD dwBufferLength
);Sets an Internet option. Returns TRUE if successful, or FALSE otherwise. To get a specific error message, callGetLastError. hInternet Internet handle on which to set information. dwOption Internet option to set. Can be one of the Option Flags values.
 
lpBuffer Address of a buffer that contains the option setting. dwBufferLength Length of the lpBuffer buffer.