Function

IOSurfaceGetBaseAddress

Returns the address of the first byte of data in a particular buffer.

Declaration

void * IOSurfaceGetBaseAddress(IOSurfaceRef buffer);

Return Value

Returns NULL if buffer is invalid.