KsReleaseCachedMdl function (ks.h)
The KsReleaseCachedMdl function is used to release the MDL acquired by the KsAcquireCachedMdl call.
KSDDKAPI NTSTATUS KsReleaseCachedMdl(
[in] REFGUID Guid,
[in] PMDL MdlAddr,
[in] HANDLE ReleaseContext
);
[in] Guid
The GUID extracted from the MFSampleExtension_MDLCacheCookie attribute item of the IMFSample passed by the pipeline.
[in] MdlAddr
MDL address retrieved in the KsAcquireCachedMdl call. This should not be touched after the KsReleaseCachedMdl call.
[in] ReleaseContext
The context passed as an output in the KsAcquireCachedMdl call.
Returns STATUS_SUCCESS for success conditions.
Requirement | Value |
---|---|
Target Platform | Universal |
Header | ks.h |
Library | Ks.lib |