All Databases
Inside Mac - Basic Toolbox
GetEvQHdr
PostEvent
GetNextEvent
En queue
De queue
EvQEl
GetEvQHdr
Get address of event queue header
#include <
Events.h
> // function declaration
#include <
OSUtils.h
> // standard queue structures
QHdrPtr
GetEvQHdr
(
);
returns
address of a 10-byte
QHdr
structure
GetEvQHdr
returns the address of the event queue header. This gives you
direct access to the event queue, in case you want more complete control than
provided by
PostEvent
and
GetNextEvent
.
Returns
: a
QHdrPtr
; the address of the queue header of the system event
queue.
Notes: This simply returns the value 0x014A - the address of the global variable
EventQueue
.
See
En queue
and
De queue
for information on how to access elements of a
queue.
Referenced by (7):
PPostEvent
PostEvent
Operating System Event Manager (Inside Mac - Index)
QHdrPtr (Inside Mac - Index)
PPostEvent (Inside Mac - Basic Toolbox)
PostEvent (Inside Mac - Basic Toolbox)
Event Simulator (MacTech Vol 05-1989)