private extern static bool InternetQueryOptionList( IntPtr Handle, INTERNET_OPTION OptionFlag, ref INTERNET_PER_CONN_OPTION_LIST OptionList, ref int size);
public static extern bool InternetQueryOption( IntPtr hInternet, INTERNET_OPTION dwOption, IntPtr lpBuffer, ref uint lpdwBufferLength);
internal static extern int UrlMkSetSessionOption( INTERNET_OPTION dwOption, INTERNET_PROXY_INFO pBuffer, uint dwBufferLength, uint dwReserved);
public static extern int InternetQueryOptionA([In] IntPtr hInternet, [In] INTERNET_OPTION option, [In, Out] IntPtr buffer, [In, Out] ref int bufferSize);
internal static extern bool InternetSetOption( nint hInternet, INTERNET_OPTION dwOption, nint lpBuffer, uint dwBufferLength);
static extern bool InternetQueryOptionList(IntPtr handle, INTERNET_OPTION optionFlag, ref INTERNET_PER_CONN_OPTION_LIST optionList, ref int size);
internal extern static bool InternetQueryOption( IntPtr hInternet, INTERNET_OPTION dwOption, ref INTERNET_PER_CONN_OPTION_LIST OptionList, ref int lpdwBufferLength);
internal static extern bool InternetSetOption(IntPtr handle, INTERNET_OPTION optionFlag, IntPtr lpBuffer, int size);
internal extern static bool InternetQueryOption(IntPtr handle, INTERNET_OPTION optionFlag, ref INTERNET_PER_CONN_OPTION_LIST optionList, ref int size);
public static extern bool /*BOOL*/ InternetSetOption( IntPtr hInternet, //_In_ HINTERNET hInternet, INTERNET_OPTION dwOption, //_In_ DWORD dwOption, IntPtr lpBuffer, //_In_ LPVOID lpBuffer int lpdwBufferLength); //_In_ DWORD dwBufferLength
public static extern bool InternetSetOption( IntPtr hInternet, INTERNET_OPTION dwOption, IntPtr lpBuffer, uint dwBufferLength);
internal static extern bool InternetSetOption( IntPtr hInternet, INTERNET_OPTION dwOption, IntPtr lpBuffer, int lpdwBufferLength);
internal static extern bool InternetQueryOption( nint hInternet, INTERNET_OPTION dwOption, nint lpBuffer, ref uint lpdwBufferLength);
static extern bool InternetSetOption(IntPtr hInternet, INTERNET_OPTION dwOption, IntPtr lpBuffer, int dwBufferLength);
private static extern bool InternetSetOption(IntPtr internetHandle, INTERNET_OPTION option, IntPtr bufferPointer, int bufferLength);