![]() | ![]() | ![]() |
| ||
|
IInternetSession::RegisterMimeFilter
HRESULT RegisterMimeFilter( [in] IClassFactory *pCF, [in] REFCLSID rclsid, [in] LPCWSTR pwzType );Temporarily registers a pluggable MIME filter.
- Returns one of the following values:
S_OK Success. E_FAIL The operation failed. E_NOINTERFACE The class factory could not be obtained.
- 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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.