|
API Guide Home (Online version only) |
![]() |
Definition in file PalmDisplayExtent.h.
Include dependency graph for PalmDisplayExtent.h:

Go to the source code of this file.
| #define dexFtrNumVersion (0) |
PalmDisplayExtent feature number.
Definition at line 41 of file PalmDisplayExtent.h.
| #define dexLibCreator 'rotM' |
PalmDisplayExtent Creator ID.
Definition at line 39 of file PalmDisplayExtent.h.
| #define dexLibName "rotmgr" |
PalmDisplayExtent library name.
Definition at line 38 of file PalmDisplayExtent.h.
| #define dexLibType sysFileTLibrary |
PalmDisplayExtent type.
Definition at line 40 of file PalmDisplayExtent.h.
| #define kDexLibTrapClose sysLibTrapClose |
Definition at line 51 of file PalmDisplayExtent.h.
| #define kDexLibTrapDexGetDisplayAddress (sysLibTrapCustom + 4) |
Definition at line 54 of file PalmDisplayExtent.h.
| #define kDexLibTrapDexGetDisplayDimensions (sysLibTrapCustom + 5) |
Definition at line 55 of file PalmDisplayExtent.h.
| #define kDexLibTrapOpen sysLibTrapOpen |
Definition at line 50 of file PalmDisplayExtent.h.
| void* DexGetDisplayAddress | ( | UInt16 | refnum | ) |
Get the physical screen buffer (Display Address).
| refnum,: | IN: Reference number of the Display Extent Manager library. |
| Returns | a pointer to the physical screen buffer. |
// this code draws 6400 red pixels in the screen. RGBColorType color = { 0, 255, 0, 0 }; IndexedColorType index = WinRGBToIndex(&color); UInt8 *bufferP = (UInt8*)DexGetDisplayAddress(gDexLibRefNum); UInt32 x = 0; for( x = 0; x < 6400; x++) bufferP[x] = index; *
Get the physical screen width, height, and rowbytes.
| refnum,: | IN: Reference number of the Display Extent Manager library. | |
| width | IN: Pointer to the width of the screen. | |
| height | IN: Pointer to the height of the screen. | |
| rowBytes | IN: Pointer to the rowbytes of the screen. |
| Nothing |
| Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:07:42 2008 for Palm API Guide |