Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
IOScreenRegistration |
Adopted By: | The event system | |
Declared In: | driverkit/eventProtocols.h |
Protocol Description |
Display drivers use the messages in the IOScreenRegistration protocol to register and unregister themselves with the event system. These methods are called by IODisplay in response to an getIntValues:forParameter:count: call that specifies the "IO_Framebuffer_Register" parameter.
You shouldn't need to invoke the methods in this protocol, because they're already invoked automatically by IOFrameBufferDisplay and IOSVGADisplay. |
Instance Methods |
registerScreen:bounds:shmem:size: |
(int)registerScreen:(id)instance |
bounds:(Bounds *)bounds shmem:(void **)address size:(int *)num |
Registers instance as a display driver. Returns a token that's used to refer to the display in other calls to the event system. |
unregisterScreen: |
(void)unregisterScreen:(int)token |
Unregisters the instance associated with token as a display driver. |