CardModifyWindow

The CardModifyWindow function changes the attributes of a memory window opened by CardRequestWindow.

Syntax

STATUS CardModifyWindow(
CARD_WINDOW_HANDLE
hCardWindow UINT16 fAttributes
UINT8
fAccessSpeed );

Parameters

hCardWindow
Specifies a handle to a memory window returned by CardRequestWindow.
fAttributes
Specifies a bit-encoded window attributes mask. See PC Card Window Attributes.
fAccessSpeed
Specifies a bit-encoded access speed mask. See PC Card Window Speeds.

Return Values

If the function succeeds, the return value is CERR_SUCCESS; otherwise, it is one of the following values:

Value Description
CERR_BAD_ARGS Indicates an invalid value for fAttributes or fAccessSpeed.
CERR_BAD_HANDLE Indicates an invalid driver handle is specified for hCardWindow.

See Also

CARD_WINDOW_HANDLE, CardMapWindow