다음을 통해 공유


Using Asynchronous Pluggable Protocols (Windows Embedded CE 6.0)

1/6/2010

Asynchronous pluggable protocols enable you to create pluggable protocol handlers, MIME filters, and namespace handlers that work with URL monikers in Internet Explorer. A pluggable protocol handler is implemented as an apartment-threaded COM object that handles any calls made to the protocol scheme for which it is registered. Applications can use pluggable protocol handlers to handle a custom URL protocol scheme or filter data for a designated MIME type. Pluggable MIME filters can be used to filter data for a particular MIME type. Unlike standard pluggable protocol handlers and pluggable namespace handlers, which only provide data, pluggable MIME filters both read and provide data.

You can register new URL protocol handlers by registering a URL protocol and its associated application so that all attempts to navigate to a URL using that protocol launch the application (for example, registering applications to handle mailto: or news: URLs). You can also define new protocols by using the asynchronous pluggable protocols API.

For information about creating an asynchronous pluggable protocol handler and a MIME filter, see About Asynchronous Pluggable Protocols at this Microsoft Web site.

For Windows Embedded CE, the sample code for creating an asynchronous pluggable protocol can be found in Helpprot.h and Helpprot.cpp, located in the %_WINCEROOT%\Public\Ie\Oak\Htmlhelp directory.

See Also

Concepts

Asynchronous Pluggable Protocols Application Development

Other Resources

URL Moniker Services Application Development