AVStrMiniPinHandshake routine

An AVStream minidriver's AVStrMiniPinHandshake routine is called when AVStream receives a protocol handshake request that it does not handle.

Syntax


PFNKSPINHANDSHAKE AVStrMiniPinHandshake;

NTSTATUS AVStrMiniPinHandshake(
  _In_ PKSPIN       Irp,
  _In_ PKSHANDSHAKE Request,
  _In_ PKSHANDSHAKE Data
)
{ ... }

Parameters

Irp [in]

Pointer to the IRP containing the handshake request.

Request [in]

Pointer to a KSIDENTIFIER structure that contains a GUID identifying the requested protocol.

Data [in]

Pointer to a caller-allocated buffer. If the pin supports the requested protocol, AVStrMiniPinHandshake should fill in this parameter with a pointer to a KSHANDSHAKE structure.

Return value

Returns STATUS_SUCCESS if the pin supports the requested protocol. Otherwise, it should return STATUS_INVALID_DEVICE_REQUEST.

Remarks

The minidriver specifies this routine's address in the Handshake parameter of a call to KsPinRegisterHandshakeCallback.

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

KsPinRegisterHandshakeCallback
KSIDENTIFIER
KSHANDSHAKE

 

 

Send comments about this topic to Microsoft

Show: