Export (0) Print
Expand All

IWinInetHttpInfo::QueryInfo method

Gets the specified information from an HTTP request.

Syntax


HRESULT QueryInfo(
  [in]      DWORD  dwOption,
  [in, out] LPVOID pBuffer,
  [in, out] DWORD  *pcbBuf,
  [in, out] DWORD  *pdwFlags,
  [in, out] 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 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

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IWinInetHttpInfo

 

 

Show:
© 2015 Microsoft