|
|
|
|
PM_getVESABuf
Allocate the real mode VESA transfer buffer for communicating with the BIOS.
Declaration
void * PMAPI PM_getVESABuf(
uint *len,
uint *rseg,
uint *roff)
Prototype In
pmapi.h
Parameters
len |
Place to store the length of the VESA buffer |
rseg |
Place to store the real mode segment of the VESA buffer |
roff |
Place to store the real mode offset of the VESA buffer |
Return Value
Pointer to the transfer buffer on success, NULL on failure.
Description
This function is used to allocate the real mode VESA transfer buffer for communicating with the underlying real mode Video BIOS. If the operating system cannot support accessing the VESA BIOS functions, this function will return NULL. If this function does succeed, the length of the buffer will be returned in the len parameter while the real mode segment and offset of the buffer will be returned in the rseg and roff parameters. A regular C pointer to the buffer is returned directly and can be used to read and write data from the transfer buffer.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com