// ks.h
KSDDKAPI NTSTATUS KsFilterFactorySetDeviceClassesState(
[in] PKSFILTERFACTORY FilterFactory,
[in] BOOLEAN NewState
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsFilterFactorySetDeviceClassesState function enables or disables the device classes that have been registered by a given filter factory.
FilterFactory [in]A pointer to the KSFILTERFACTORY for which to change device class status.
NewState [in]If set to TRUE, the device classes are enabled; if FALSE, they are disabled.
KsFilterFactorySetDeviceClassesState returns STATUS_SUCCESS or an error code.
This function is available in Windows XP and DirectX 8.0 and later.