Share via


HTML Control API Functions

The following functions are used with HTML Control.

Function Description
CoGetClassObjectFromURL Returns a factory object for a given CLSID.
CoInternetCombineURL Combines a base and relative URL into a full URL.
CoInternetCompareUrl Compares two URLs and determines whether they are equal.
CoInternetGetSession Creates a session that allows temporary asynchronous pluggable protocols to be implemented and returns the IInternetSession interface of the session.
CoInternetParseURL Parses URLs. (This is a helper API.)
CoInternetQueryInfo Retrieves information related to the specified URL.
CreateAsyncBindCtxEx Creates an asynchronous bind context for use with asynchronous monikers.
CreateURLMoniker Creates a URL moniker from either a full URL string or from a base context URL moniker and a partial URL string.
FindMediaType Retrieves the 32-bit value assigned to the specified media type.
FindMediaTypeClass Retrieves the CLSID for the specified media type.
FindMimeFromData Determines the Multipurpose Internet Mail Extensions (MIME) type from the data provided.
GetClassFileOrMime Retrieves the CLSID of the object to instantiate for the specified file.
IsAsyncMoniker Tests to determine whether a moniker supports asynchronous binding.
MkParseDisplayNameEx Creates a moniker to the object that is specified by the given string.
ObtainUserAgentString Retrieves the user agent string in use.
RegisterBindStatusCallback Registers a callback interface with an existing bind context.
RegisterMediaTypeClass Registers a mapping of media types to CLSIDs to override the default mapping specified in the registry.
RegisterMediaTypes Registers media type strings.
ReleaseBindInfo Releases the resources used by the specified BINDINFO structure.
RevokeBindStatusCallback Revokes a bind status callback interface previously registered on a bind context.
URLDownloadToCacheFile Downloads data into the Internet cache and returns the file name of the cache location for retrieving the bits.
URLDownloadToCacheFileW Downloads data into the Internet cache and returns the file name of the cache location for retrieving the bits.
URLDownloadToFileA Downloads bits from the Internet and saves them to a file.
URLDownloadToFileW Downloads bits from the Internet and saves them to a file.
UrlMkGetSessionOption Sets options for the current Internet session.
UrlMkSetSessionOption Sets options for the current Internet session.
URLOpenBlockingStreamA Creates a blocking type stream object from a URL and downloads the data from the Internet. When the data is downloaded, the client application or control can read it using the IStream::Read method.
URLOpenBlockingStreamW Creates a push type stream object from a URL.
URLOpenPullStreamA Creates a pull type stream object from a URL.
URLOpenPullStreamW Creates a pull type stream object from a URL.
URLOpenStreamA Creates a push type stream object from a URL.
URLOpenStreamW Creates a push type stream object from a URL.

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.