다음을 통해 공유


CoInternetQueryInfo (Windows CE 5.0)

Send Feedback

This function retrieves information related to the specified URL.

HRESULTCoInternetQueryInfo(LPCWSTRpwzUrl,QUERYOPTIONQueryOption,DWORDdwQueryFlags,LPVOIDpvBuffer,DWORDcbBuffer,DWORD* pcbBuffer,DWORDdwReserved);

Parameters

  • pwzUrl
    Address of a string value that contains the URL.
  • QueryOption
    QUERYOPTION value that indicates which option to query. This can be one of the following values:
    • QUERY_IS_CACHED
    • QUERY_IS_CACHED_OR_MAPPED
    • QUERY_IS_INSTALLEDENTRY
    • QUERY_USES_CACHE
    • QUERY_USES_NETWORK
  • dwQueryFlags
    Unsigned long integer value that contains the query flags.
  • pvBuffer
    Address of the buffer where the information will be stored.
  • cbBuffer
    Unsigned long integer value that contains the size of the buffer.
  • pcbBuffer
    Address of an unsigned long integer variable where the size of the requested information will be stored.
  • dwReserved
    Reserved. Must be set to zero.

Return Values

This function returns one of the values shown in the following table.

Value Description
S_OK Success.
S_FALSE The buffer was too small to store the information.
INET_E_QUERYOPTION_UNKNOWN The option requested is unknown.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.