KsFilterCreatePinFactory - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

KSDDKAPI NTSTATUS KsFilterCreatePinFactory(
  [in]  PKSFILTER                         Filter,
  [in]  const KSPIN_DESCRIPTOR_EX * const PinDescriptor,
  [out] PULONG                            PinID
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksfiltercreatepinfactory)

KsFilterCreatePinFactory function

Description

The KsFilterCreatePinFactory function creates a new pin factory on the specified filter.

Parameters

Filter [in]

A pointer to a KSFILTER structure for which to create a new pin factory.

PinDescriptor [in]

A pointer to a KSPIN_DESCRIPTOR_EX structure that describes the pins this factory will create.

PinID [out]

A pointer to the location containing the ID of the new factory.

Return value

KsFilterCreatePinFactory returns the success or failure of the attempt to create the pin factory. Failure may occur due to invalid parameters or low memory.

Remarks

Note that the filter control mutex must be held before calling this function. For more information, see Mutexes in AVStream.

See also

KsFilterCreateNode