DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

ClientInfo(D4pccard)


ClientInfo, GetClientInfo -- desscribes the client

Syntax

   #include <sys/lcs.h>
   #include <sys/lss.h>
   

Description

The ClientInfo and GetClientInfo structures are used to obtain information about a client that is to be registered with CardServices( ). This information is used by browsing utilities.

Structure definition

The ClientInfo structure contains the following members:
   ushort  	usRevision ;
   ushort  	usCSLevel ;
   ushort  	usRevDate ;
   ushort  	usNameOff ;
   ushort  	usNameLen ;
   ushort  	usVStringOff ;
   ushort  	usVStringLen ;
   char    	*pcNameString ;
   char    	*pcVendorString ;
The GetClientInfo structure contains the following members:
   ushort  	usMaxLen ;
   ushort  	usInfoLen ;
   ushort  	usAttributes ;
   ntInfo_t	*pClientInfo ;

Structure members

The members are defined as:

usRevision
DCD value of the vendor client revision.

usCSLevel
BCD value of CS release.

usRevDate
Revision date.

usNameOff
Offset to the client name string.

usNameLen
Length of client name ASCII string.

usVStringOff
Offset in packet to vendor string buffer.

usVStringLen
Length of vendor ASCII string.

pcNameString
Client name ASCII string.

pcVendorString
Vendor string ASCII string.

usMaxLen
Length of this packet.

usInfoLen
Length of information returned by client.

usAttributes
A bit-mapped value:


bit 0
Memory Client device driver (set=TRUE).

bit 1
Memory Technology Driver (set=TRUE).

bit 2
I/O client device driver (set=TRUE).

bit 3
CARD_INSERTION events for sharable PC Cards. (set=TRUE).

bit 4
CARD_INSERTION events for cards used for exclusive I/O. (set=TRUE).

bits 5-7
reserved; reset to zero.

bits 8-15
information subservice.

pClientInfo

Usage

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

GetClientInfo(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005