Expand Minimize

KsGetOuterUnknown function

The KsGetOuterUnknown function returns the outer IUnknown of a given AVStream object.

Syntax


PUNKNOWN KsGetOuterUnknown(
  _In_  PVOID Object
);

Parameters

Object [in]

A pointer to an AVStream object for which to return the outer IUnknown interface.

Return value

KsGetOuterUnknown returns a pointer to the outer IUnknown interface of Object. The client can then call the QueryInterface method to determine whether the component supports a given interface.

Remarks

Minidrivers should not call this function directly. Instead, use one of the inline versions that perform automatic typecasting: KsDeviceGetOuterUnknown, KsFilterFactoryGetOuterUnknown, KsFilterGetOuterUnknown, KsPinGetOuterUnknown.

Minidrivers using this function must include kcom.h and use a C++ compiler.

Requirements

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

KsDeviceGetOuterUnknown
KsFilterFactoryGetOuterUnknown
KsFilterGetOuterUnknown
KsPinGetOuterUnknown
KsRegisterAggregatedClientUnknown
IKsControl

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft