Previous Next

StreamClassRegisterFilterWithNoKSPins

The StreamClassRegisterFilterWithNoKSPins routine is used to register filter drivers with Microsoft® DirectShow® that have no kernel streaming pins and, therefore, do not stream in kernel mode.

NTSTATUS 
  StreamClassRegisterFilterWithNoKSPins(
    IN PDEVICE_OBJECT  DeviceObject,
    IN const GUID  * InterfaceClassGUID,
    IN ULONG  PinCount,
    IN BOOL  * PinDirection,
    IN KSPIN_MEDIUM  * MediumList,
    IN OPTIONAL GUID  * CategoryList
    );

Parameters

DeviceObject
Points to the driver's device object.
InterfaceClassGUID
Specifies the interface class GUID to register.
PinCount
Specifies the number of pins on the filter.
PinDirection
Specifies a PinCount-sized array of Boolean values, one for each pin on the filter. The values indicate the pin direction for each pin. If TRUE, this pin is an output pin. If FALSE, the pin is an input pin.
MediumList
Specifies a PinCount-sized array of KSPIN_MEDIUM structures, one for each pin on the filter.
CategoryList
If non-NULL, specifies an array of pin category GUIDs, one for each pin on the filter.

Return Value

Returns STATUS_SUCCESS on success, or the appropriate error code on failure.

Headers

Declared in strmini.h. Include strmini.h.

See Also

KSPIN_MEDIUM