1 out of 1 rated this helpful - Rate this topic

IWinInetHttpInfo::QueryInfo Method

Gets the specified information from an HTTP request.

Syntax


HRESULT QueryInfo(
    DWORD dwOption,
    LPVOID pBuffer,
    DWORD *pcbBuf,
    DWORD *pdwFlags,
    DWORD *pdwReserved
);

Parameters

dwOption
[in] An 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 Microsoft Win32 Internet (WinInet), or a combination of an attribute to get 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] A pointer to the buffer where the information is stored.
pcbBuf
[in, out] A pointer to an unsigned long integer value that indicates the size of the buffer.
pdwFlags
[in, out] A 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ