SVR5 and SCO OpenServer 5
GetSetEventMask(D4pccard)
GetSetEventMask --
describe event
Syntax
#include <sys/lcs.h>
#include <sys/lss.h>
Description
The GetSetEventMask structure
is used by the
GetEventMask(D3pccard)
service to describe an event.
Structure definition
unsigned short usAttributes;
unsigned short usEventMask;
unsigned short usSocket;
Structure members
The members are defined as:
usAttributes
-
Identifies the type of event mask to be changed.
usAttributes
is bitmapped.
If bit 0 is reset to 0,
the change is for the global event mask,
whereas if bit 0 is set to 1,
the change is for the specified socket only.
Bit 0 indicates event mask for socket and function.
usEventMask
-
Identifies the event for which notification
is being sent.
Valid values are:
0-
write protect
1-
card lock change
2-
ejection request
3-
insertion request
4-
dead battery
5-
low battery
6-
ready change
7-
card detect change
8-
power management change
9-
reset events
10-
Socket Services update
11-
request attention change
12-15-
reserved
usSocket
-
Identifies the card function being passed.
usSocket
is two bytes long.
The more significant byte indicates the function.
The function of single function cards is mapped to zero.
The functions of multi-function cards
are enumerated from zero on up to
the number of functions available less one.
The low byte in usSocket
indicates the logical socket.
Usage
Hardware applicability
All
Version applicability
pccard:
1, 2, 3
References
GetEventMask(D3pccard),
SetEventMask(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005