AVStrMiniPinConnect routine

An AVStream minidriver's AVStrMiniPinConnect routine is called when the relevant KSPIN is serving as a sink pin and is connected to an AVStream source pin.

Syntax


PFNKSPIN AVStrMiniPinConnect;

NTSTATUS AVStrMiniPinConnect(
  _In_ PKSPIN Pin
)
{ ... }

Parameters

Pin [in]

Pointer to the relevant KSPIN serving as sink pin.

Return value

Return STATUS_SUCCESS or the error returned from the attempt to establish an intra-connection. Do not return STATUS_PENDING. AVStream treats a pending return value as invalid and causes the connection to fail.

Remarks

The minidriver specifies this routine's address in the Connect member of its KSPIN_DISPATCH structure.

This routine is optional.

Also see KS Pins.

Requirements

Target platform

Version

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

Header

Ks.h (include Ks.h)

See also

KSPIN_DISPATCH

 

 

Send comments about this topic to Microsoft

Show: