KsGetObjectTypeFromIrp function

The KsGetObjectTypeFromIrp function returns the AVStream object type that is associated with a given IRP.

Syntax


KSOBJECTTYPE KsGetObjectTypeFromIrp(
  _In_ PIRP Irp
);

Parameters

Irp [in]

A pointer to the IRP structure for which to find the associated AVStream object type.

Return value

KsGetObjectTypeFromIrp returns the type of AVStream object associated with the given IRP as a KSOBJECTTYPE enumeration. This is one of the following: KsObjectTypeDevice, KsObjectTypeFilterFactory, KsObjectTypeFilter, KsObjectTypePin.

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

Any level

See also

IRP
KsAddIrpToCancelableQueue
KsForwardIrp
KsDispatchIrp

 

 

Send comments about this topic to Microsoft

Show: