Microsoft DirectX 8.0 |
Describes an allocator's count, size, alignment, and prefix properties.
Syntax
typedef struct _AllocatorProperties { long cBuffers; long cbBuffer; long cbAlign; long cbPrefix; } ALLOCATOR_PROPERTIES;
Members
Remarks
The IMediaSample::GetPointer method returns a pointer to the beginning of the buffer, not including the prefix bytes designated by cbPrefix.
The alignment is applied to the prefix data, if any. If a nonzero prefix is used, the beginning of the prefix is aligned according to cbAlign.