IWinInetHttpInfo::QueryInfo
A version of this page is also available for
4/8/2010
This method retrieves the specified information from an HTTP request.
Syntax
HRESULT QueryInfo(
DWORD dwOption,
LPVOID pBuffer,
DWORD* pcbBuf,
DWORD* pdwFlags,
DWORD* pdwReserved
);
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 the Win32 Internet function (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] Pointer to the buffer where the information will be stored.
- pcbBuf
[in, out] Pointer to an unsigned long integer value that indicates the size of the buffer.
- pdwFlags
[in, out] Pointer to 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 value otherwise.
Requirements
Header | urlmon.h, urlmon.idl |
Library | urlmon.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |