KsStreamPointerGetMdl function (ks.h)

The KsStreamPointerGetMdl function returns the MDL associated with the frame referenced by StreamPointer.

Syntax

KSDDKAPI PMDL KsStreamPointerGetMdl(
  [in] PKSSTREAM_POINTER StreamPointer
);

Parameters

[in] StreamPointer

A pointer to the KSSTREAM_POINTER structure that references the frame for which to return the associated MDL.

Return value

Returns either a pointer to the memory descriptor list (MDL) describing the frame referenced by StreamPointer or returns NULL. A NULL return value usually indicates that the given stream pointer was not locked at call-time.

Remarks

The stream pointer must be locked in order for KsStreamPointerGetMdl to execute successfully.

Also see Stream Pointers.

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 <=DISPATCH_LEVEL

See also

KsStreamPointerGetIrp

KsStreamPointerLock