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

ModifyWindow(D3pccard)


ModifyWindow -- change the attributes of a window

Synopsis

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

int CardServices (ModifyWindow, WindowHandle_t *wh, int n2, int ModifyWindowLen, ModifyWindow_t *mw, rm_key_t key);

Description

ModifyWindow( ) requests CardServices to change the attributes, to include the access speed of a memory window. The WindowHandle that the RequestWindow service had previously returned is now passed back to CardServices by the *wh pointer.

Arguments


wh
Pointer to a WindowHandle(D4pccard) structure.

n2
NULL

ModifyWindowLen
Length of the ModifyWindow(D4pccard) structure. Must be set to 3.

mw
Pointer to a ModifyWindow(D4pccard) structure.

key
Resource manager key.

Return values


BAD_ARG_LENGTH
ModifyWindowLen is not equal to 3.

NO_CARD
No card inserted.

BAD_ATTRIBUTE
Attribute(s) invalid or window cannot be enabled/disabled.

BAD_HANDLE
*wh is not valid or it points to an I/O window.

BAD_SPEED
speed is invalid.

SUCCESS
Window attributes modified successfully.

Usage

Context and synchronization

Interrupt, initialization, or user context

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

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