Bewerken

Delen via


KsGetOuterUnknown function (ks.h)

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

Syntax

KSDDKAPI PUNKNOWN KsGetOuterUnknown(
  [in] PVOID Object
);

Parameters

[in] Object

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

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib
IRQL PASSIVE_LEVEL

See also

IKsControl

KsDeviceGetOuterUnknown

KsFilterFactoryGetOuterUnknown

KsFilterGetOuterUnknown

KsPinGetOuterUnknown

KsRegisterAggregatedClientUnknown