ULONG *rgb = GrabScreenPixels(APTR handle, int x, int y, int width, int height, ULONG flags, struct hwTagList *tags);
width * height * 4
bytes in size. No padding bytes are allowed.
Hollywood will call your FreeGrabScreenPixels() function to free the pixel array allocated by this function.
GrabScreenPixels()
is an optional API and must only be implemented if HWSDAFLAGS_GRABSCREEN
has been passed to hw_SetDisplayAdapter(). See hw_SetDisplayAdapter for details.
NULL
)