PFNKSDELETEALLOCATOR callback function (ks.h)
An AVStream minidriver's AVStrMiniDeleteAllocator routine deletes the allocator that is associated with a pin.
PFNKSDELETEALLOCATOR Pfnksdeleteallocator;
void Pfnksdeleteallocator(
[in] PVOID Context
)
{...}
[in] Context
Pointer to the allocator's context structure created by AVStrMiniInitializeAllocator.
None
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.
Requirement | Value |
---|---|
Minimum supported client | Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions. |
Target Platform | Desktop |
Header | ks.h (include Ks.h) |