Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

KsFilterGetFirstChildPin function

The KsFilterGetFirstChildPin function returns the first instantiated pin of type PinID on the filter specified by Filter.

Syntax


PKSPIN KsFilterGetFirstChildPin(
  _In_ PKSFILTER Filter,
  _In_ ULONG     PinId
);

Parameters

Filter [in]

A pointer to the KSFILTER structure to query for instantiated pins.

PinId [in]

The numeric ID of the pin type for which to find the first instantiated member.

Return value

KsFilterGetFirstChildPin returns a pointer to the first instantiated KSPIN structure of type PinID on the specified filter.

Remarks

Note that the object hierarchy is guaranteed stable only while the appropriate mutex is held, in this case the filter control mutex. For more information, see Mutexes in AVStream.

Requirements

Target platform

Universal

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

PASSIVE_LEVEL

See also

KSPIN
KsFilterGetChildPinCount
KsPinGetNextSiblingPin

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft