◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_VIO typedef struct _VIOPHYSBUF { /* viopb */ PBYTE pBuf; ULONG cb; SEL asel[1]; } VIOPHYSBUF; The VIOPHYSBUF structure contains information about the physical video buffer. Field Description ──────────────────────────────────────────────────────────────────────────── pBuf Points to the physical video buffer. The address must be in the range 0x000A0000 through 0x000BFFFF; this depends on the display adapter and the video mode. cb Specifies the length of the physical video buffer (in bytes). asel[1] Specifies the array that receives the selectors used to address the physical video buffer. If more than one selector is received, the first selector addresses the first 64K bytes of the physical video buffer, the second selector addresses the next 64K bytes, and so on. The number of selectors depends on the actual size of the physical buffer as specified by the cb field. The last selector may address less than 64K bytes of buffer. Comments The actual size of the asel[1] field depends on the size of physical memory. The program must ensure that there is adequate space to receive all selectors. See Also VioGetPhysBuf ♦