AVStrMiniDeleteAllocator routine

An AVStream minidriver's AVStrMiniDeleteAllocator routine deletes the allocator that is associated with a pin.

Syntax


PFNKSDELETEALLOCATOR AVStrMiniDeleteAllocator;

VOID AVStrMiniDeleteAllocator(
  _In_ PVOID Context
)
{ ... }

Parameters

Context [in]

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

Return value

None

Remarks

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

Once this function is called, AVStream will no longer use the allocator to allocate and free memory. This handler should release all system resources reserved by the allocator.

For more information, see KS Allocators.

Requirements

Target platform

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
KSPIN_DISPATCH

 

 

Send comments about this topic to Microsoft

Show: