IWinInetHttpInfo::QueryInfo
Queries HTTP-specific information related to internet bind operations.
HRESULT QueryInfo(
DWORD dwOption,
|
//Specifies info to query and modifying flags
|
LPVOID pBuffer,
|
//Buffer that receives query results
|
DWORD *pcbBuf,
|
//Pointer to the size of the given buffer
|
DWORD * pdwIndex,
|
//Pointer to a zero-based index
|
DWORD dwReserved
|
//Reserved, must be zero
|
);
|
|
Parameters
-
dwOption
-
[in] Specifies what information to query, as well as the flags provided to
modify the request. Values that can be used are provided in the documentation
of HttpQueryInfo.
-
pBuffer
-
[out] Pointer to the buffer to receive the result of the query.
-
pcbBuf
-
[in, out] Pointer to the size of the given buffer. On return, this contains
the length of the data written into pBuffer.
-
pdwIndex
-
[in, out] Pointer to a zero-based index. For more information, see HttpQueryInfo.
dwReserved
[in, out] Reserved for future use. Must be set to zero.
Return Values
-
S_OK
-
The querying operation succeeded.
-
E_INVALIDARG
-
One or more arguments are invalid
Remarks
The implementation of this method maps directly to the Windows Internet API, HttpQueryInfo.