Microsoft DirectX 8.1 (C++) |
The VMRALLOCATIONINFO structure is used in the IVMRSurfaceAllocator::AllocateSurface method.
Requirements
Requires Microsoft® Windows® XP.
Syntax
typedef struct tagVMRALLOCATIONINFO {
DWORD dwFlags;
LPBITMAPINFOHEADER lpHdr;
LPDDPIXELFORMAT lpPixFmt;
SIZE szAspectRatio;
DWORD dwMinBuffers;
DWORD dwMaxBuffers;
DWORD dwInterlaceFlags;
SIZE szNativeSize;
} VMRALLOCATIONINFO;
Members
dwFlags
Double word containing a bitwise OR of flags from the VMRSurfaceAllocationFlags enumeration.
lpHdr
Pointer to the BITMAPINFOHEADER structure associated with the surface.
lpPixFmt
Pointer to the DDPIXELFORMAT structure associated with the surface.
szAspectRatio
A SIZE structure that specifies the aspect ratio of the new surface.
dwMinBuffers
Specifies the minimum number of buffers to create for this surface.
dwMaxBuffers
Specifies the maximum number of buffers to create for this surface.
dwInterlaceFlags
These are the same flags that are used in the VIDEOINFOHEADER2 structure.
szNativeSize
Specifies the size of the native video rectangle.