MapFb
Purpose Use
program to access the framebuffer directly.
Syntax
DVoid *(*MapFb) (dev)
Return value A pointer to the beginning of the framebuffer if successful;
otherwise,
Description
MapFb()
the caller and returns a pointer to the beginning of that space.
The caller can access the framebuffer directly through the
pointer.
Attempts to access locations before the beginning of the
framebuffer or beyond the size of the framebuffer will
result in an error.
To get the framebuffer size, use the
function of the device handle (page 82).
To unmap the framebuffer, use the
function of the device handle (page 81).
Errors If
to map the framebuffer. This function allows the
MapFb
Parameter Type
DMdDev
.
NULL
maps the framebuffer to the virtual address space of
returns
MapFb()
Name
Description
Device handle of the DOME device
dev
FbSize()
UnmapFb()
, an error message prints to
NULL
MapFb | 79
member
member
.
stderr