次の方法で共有


IWinInetInfo::QueryOption method

Gets the specified Microsoft Win32 Internet function option.

Syntax

HRESULT QueryOption(
  [in]      DWORD  dwOption,
  [in, out] LPVOID pBuffer,
  [in, out] DWORD  *pcbBuf
);

Parameters

  • dwOption [in]
    An unsigned long integer value that specifies the option to get. This can be one of the WinInet Option Flags values, or it can be the value WININETINFO_OPTION_LOCK_HANDLE that returns the lock handle from WinInet.

  • pBuffer [in, out]
    The address of the buffer where the information is stored.

  • pcbBuf [in, out]
    The address of an unsigned long integer value that contains the size of the buffer.

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IWinInetInfo