KsReleaseCachedMdl - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

KSDDKAPI NTSTATUS KsReleaseCachedMdl(
  [in] REFGUID Guid,
  [in] PMDL    MdlAddr,
  [in] HANDLE  ReleaseContext
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksreleasecachedmdl)

KsReleaseCachedMdl function

Description

The KsReleaseCachedMdl function is used to release the MDL acquired by the KsAcquireCachedMdl call.

Parameters

Guid [in]

The GUID extracted from the MFSampleExtension_MDLCacheCookie attribute item of the IMFSample passed by the pipeline.

MdlAddr [in]

MDL address retrieved in the KsAcquireCachedMdl call. This should not be touched after the KsReleaseCachedMdl call.

ReleaseContext [in]

The context passed as an output in the KsAcquireCachedMdl call.

Return value

Returns STATUS_SUCCESS for success conditions.