Registers a temporary pluggable MIME filter on the current process.
HRESULT RegisterMimeFilter( IClassFactory *pCF, REFCLSID rclsid, LPCWSTR pwzType );
Returns one of the following values.
S_OK Success. E_FAIL The operation failed. E_NOINTERFACE The class factory cannot be obtained.
This method registers a pluggable MIME filter only on the current process. No other processes are affected by this method.
An application can register a pluggable MIME filter for a particular period of time so that it can handle requests for some MIMEs by calling IInternetSession::RegisterMimeFilter. This method can be called multiple times by using the same interface to register the different MIME types it can handle.