Hi,

When I create an offscreen window using WinCreateOffscreenWindow, is the
handle created locked? I am assuming that it is since I get a bus error when
I try to lock the handle.

Now the real question is how do I get the pointer for the offscreen data?
For example, the call below I get a handle called hOffscreen.

hOffscreen = WinCreateOffscreenWindow(COLORS_WIDTH, COLORS_HEIGHT,
                                              screenFormat, &error);

I want to do something like

UInt8 *pScreen = (UInt8 *)(*hOffscreen);

but it won't let me.

Thanks,

Mike McCollister

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to