Retrieves the specified information from an HTTP request.
Syntax
HRESULT QueryInfo ( DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf, DWORD *pdwFlags, DWORD *pdw Reserved );
Parameters
- dwOption
- [in] Unsigned long integer value that indicates the information to be queried. This can be set to WININETINFO_OPTION_LOCK_HANDLE to return the lock handle from WinInet or a combination of an attribute to retrieve and the flags that modify the request. The attribute can be any one of the Attributes and the flag can be any one of the Modifiers on the Query Info Flags page.
- pBuffer
- [in, out] Address of the buffer where the information will be stored.
- pcbBuf
- [in, out] Address of an unsigned long integer value that indicates the size of the buffer.
- pdwFlags
- [in, out] Address of an unsigned long integer value that contains the flags controlling the query.
- pdwReserved
- [in, out] Reserved. Must be set to NULL.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0