CGDisplayBaseAddress
CGDisplayBaseAddress
- Subject: CGDisplayBaseAddress
- From: Niyaz <email@hidden>
- Date: Wed, 13 Apr 2005 17:15:06 +0530
- Importance: Normal
Hi All,
I tried using CGDisplayBaseAddress API to get the base address to the
frame buffer of active display. Wrote the code as below:
/******************************** CODE BEGINS HERE
*****************************************/
void *addr = CGDisplayBaseAddress();
- Returns the base address in frame buffer memory of a active display or
captured by your application.
/******************************** CODE ENDS HERE
*****************************************/
I was able to execute this statement successfully with some valid
pointer returned. I can say it a valid because if using that pointer I
do memset(addr, size, "aaa"), it makes your display blacked out.
Can anybody please let me know how to make proper use of this pointer or
tell me the structure of the memory being pointed to by this pointer
having base address of framebuffer.
Thanking you in anticipation.
Regards
Niyaz N
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden