Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An AVStream minidriver's AVStrMiniAllocatorFreeFrame routine frees the specified frame.
Syntax
PFNKSDEFAULTFREE Pfnksdefaultfree;
void Pfnksdefaultfree(
[in] PVOID Context,
[in] PVOID Buffer
)
{...}
Parameters
[in] Context
Pointer to the allocator's context structure created in AVStrMiniInitializeAllocator.
[in] Buffer
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
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) |