PFNKSDEFAULTFREE - NtDoc

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

PFNKSDEFAULTFREE Pfnksdefaultfree;

VOID Pfnksdefaultfree(
  [in] PVOID Context,
  [in] PVOID Buffer
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ks-pfnksdefaultfree)

PFNKSDEFAULTFREE callback function

Description

An AVStream minidriver's AVStrMiniAllocatorFreeFrame routine frees the specified frame.

Parameters

Context [in]

Pointer to the allocator's context structure created in AVStrMiniInitializeAllocator.

Buffer [in]

Pointer to the frame to be freed.

Remarks

The minidriver specifies this routine's address in the Free member of its KSALLOCATOR_DISPATCH structure. The minidriver passes this structure to the class driver in KSPIN_DISPATCH.

AVStream calls AVStrMiniFree to free a frame, passing as parameters the context structure set in the initialization dispatch and a pointer to the frame to free.

For more information, see KS Allocators.

See also

AVStrMiniInitializeAllocator

KSALLOCATOR_DISPATCH