IInternetProtocolInfo::QueryInfo Method
Gets information related to the specified URL.
Syntax
HRESULT QueryInfo( LPCWSTR pwzUrl, QUERYOPTION OueryOption, DWORD dwQueryFlags, LPVOID pBuffer, DWORD cbBuffer, DWORD *pcbBuf, DWORD dwReserved );
Parameters
- pwzUrl
- [in] A string value that contains the URL.
- OueryOption
- [in] A QUERYOPTION value that indicates what option to query.
- dwQueryFlags
- [in] Reserved. Must be set to 0.
- pBuffer
- [in, out] A pointer to the buffer to store the information.
- cbBuffer
- [in] A unsigned long integer value that contains the size of the buffer.
- pcbBuf
- [in, out] A pointer to an unsigned long integer variable to store the size of the requested information.
- dwReserved
- [in] Reserved. Must be set to 0.
Return Value
This method can return one of the following values.
S_OK Success. S_FALSE The buffer is too small to store the information. E_NOTIMPL Not implemented. Use the default action. INET_E_DEFAULT_ACTION Use the default action. INET_E_QUERYOPTION_UNKNOWN The option requested is unknown.
See Also
CoInternetQueryInfo