Click to return to the Networking, Protocols     
IWinInetHttpInfo Interfac...     IWinInetInfo Interface     IWinInetHttpInfo Interfac...    
Web Workshop  |  Networking, Protocols & Data Formats

IWinInetHttpInfo::QueryInfo Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.