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

ModifyWindow(D4pccard)


ModifyWindow -- describes PC Card window modifications

Syntax

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

Description

The ModifyWindow structure is used to modify the attributes or access speed of a window that was previously allocated with the RequestWindow(D3pccard) service.

Structure definition

   unsigned short  	usAttributes;
   unsigned char   	ucAccessSpeed;

Structure members

The members are defined as:

usAttributes
Window attributes, bit mapped:

bit 0
reserved, reset to 0

bit 1
set (1) = attribute memory; reset (0) = CardBus PC Card

bit 2
set (1) = enable; reset (0) = disable

bit 3
set (1) = access speed valid; must be reset (0) = CardBus PC Card

bit 4-15
reserved, reset to 0

usAccessSpeed
Window speed, bit-mapped.

bit 0-2
device speed code if bits 3-6 are reset to 0:


1
250 seconds

2
200 seconds

3
150 seconds

4
100 seconds

If speed mantissa is not set to 0, this is the speed exponent.


bit 3-6
speed mantissa

bit 7
wait, set (1) = use WAIT# if available

Usage

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

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