IInternetSession::RegisterMimeFilterIInternetSession::RegisterMimeFilter*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IInternetSession::GetSessionOption
*Next Topic: IInternetSession::RegisterNameSpace

IInternetSession::RegisterMimeFilter

HRESULT RegisterMimeFilter(
    [in] IClassFactory *pCF,
    [in] REFCLSID rclsid,
    [in] LPCWSTR pwzType
);

Temporarily registers a pluggable MIME filter.

pCF
Address of an IClassFactory interface where an IInternetProtocol object can be created.
rclsid
Reference to the pluggable MIME handler.
pwzType
String value that contains the MIME to register.

An application can register a pluggable MIME handler for a particular period when it wants to handle requests for some MIMEs by calling IInternetSession::RegisterMimeFilter. This method can be called multiple times using the same interface to register the different MIME types it wants to handle.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.