IMFPluginControl::IsDisabled method (mfobjects.h)

Queries whether a class identifier (CLSID) appears in the blocked list.

Syntax

HRESULT IsDisabled(
  [in] DWORD    pluginType,
  [in] REFCLSID clsid
);

Parameters

[in] pluginType

Member of the MF_Plugin_Type enumeration, specifying the type of object for the query.

[in] clsid

The CLSID to search for.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The specified CLSID appears in the blocked list.
E_INVALIDARG
Invalid argument.
HRESULT_FROM_WIN32(ERROR_NOT_FOUND)
The specified CLSID is not in the blocked list.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header mfobjects.h (include Mfidl.h)

See also

IMFPluginControl