AVStrMiniAllocatorFreeFrame routine

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

Syntax


PFNKSDEFAULTFREE AVStrMiniAllocatorFreeFrame;

VOID AVStrMiniAllocatorFreeFrame(
  _In_  PVOID Context,
  _In_  PVOID Buffer
)
{ ... }

Parameters

Context [in]

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

Buffer [in]

Pointer to the frame to be freed.

Return value

None

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.

Requirements

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

See also

AVStrMiniInitializeAllocator
KSALLOCATOR_DISPATCH

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.