PFNALLOCATOR_FREEFRAME callback function (ks.h)

The KStrFreeFrame routine describes a vendor-supplied frame deallocation function.

Syntax

PFNALLOCATOR_FREEFRAME PfnallocatorFreeframe;

void PfnallocatorFreeframe(
  [in] PFILE_OBJECT FileObject,
  [in] PVOID Frame
)
{...}

Parameters

[in] FileObject

Pointer to a FILE_OBJECT structure for which this frame has been allocated.

[in] Frame

A pointer to a buffer containing the frame to release.

Return value

None

Remarks

This type is used in the FreeFrame member of the KSSTREAMALLOCATOR_FUNCTIONTABLE structure.

You can pass an instance of this structure as part of a KSPROPERTY_STREAMALLOCATOR_FUNCTIONTABLE property request.

Requirements

Requirement Value
Target Platform Desktop
Header ks.h (include Ks.h)

See also

KSPROPERTY_STREAMALLOCATOR_FUNCTIONTABLE

KSSTREAMALLOCATOR_FUNCTIONTABLE