PFNALLOCATOR_ALLOCATEFRAME - NtDoc

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

PFNALLOCATOR_ALLOCATEFRAME PfnallocatorAllocateframe;

NTSTATUS PfnallocatorAllocateframe(
  [in]  PFILE_OBJECT FileObject,
  [out] PVOID *Frame
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFNALLOCATOR_ALLOCATEFRAME callback function

Description

The KStrAllocateFrame routine describes a vendor-supplied frame allocation function.

Parameters

FileObject [in]

Pointer to a FILE_OBJECT structure for which to allocate frames.

Frame [out]

A pointer to a caller-allocated buffer in which the new frame is returned.

Return value

Returns STATUS_SUCCESS if the request is handled. Otherwise returns an appropriate error code.

Remarks

This type is used in the AllocateFrame member of the KSSTREAMALLOCATOR_FUNCTIONTABLE structure.

You can pass an instance of this structure as part of a KSPROPERTY_STREAMALLOCATOR_FUNCTIONTABLE property request.

See also

KSPROPERTY_STREAMALLOCATOR_FUNCTIONTABLE

KSSTREAMALLOCATOR_FUNCTIONTABLE