KsFilterCreateNode - NtDoc

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

KSDDKAPI NTSTATUS KsFilterCreateNode(
  [in]  PKSFILTER                       Filter,
  [in]  const KSNODE_DESCRIPTOR * const NodeDescriptor,
  [out] PULONG                          NodeID
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

KsFilterCreateNode function

Description

The KsFilterCreateNode function creates a new topology node on the specified filter.

Parameters

Filter [in]

A pointer to a KSFILTER structure on which to create a new topology node.

NodeDescriptor [in]

A pointer to a KSNODE_DESCRIPTOR structure that describes the new node.

NodeID [out]

A pointer to a ULONG where AVStream places the ID of the new node.

Return value

KsFilterCreateNode returns the success or failure of creating the node. The call may fail because of invalid parameters, low memory, or other reasons.

Remarks

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

See also

KsFilterCreatePinFactory