Partager via


CardModifyWindow

This function changes the attributes of a memory window opened by the CardRequestWindow function. This function has unintended side effects, and should not be used. To modify a window, release it and request a new window with the desired attributes.

STATUS CardModifyWindow(
  CARD_WINDOW_HANDLE hCardWindow,
  UINT16 fAttributes,
  UINT8 fAccessSpeed 
);

Parameters

  • hCardWindow
    [in] Handle to a memory window returned by CardRequestWindow.
  • fAttributes
    [in] Specifies a bit- encoded window attributes mask.
  • fAccessSpeed
    [in] Specifies a bit-encoded access speed mask.

Return Values

CERR_SUCCESS indicates success. One of the following values indicates failure:

  • CERR_BAD_ARGS
    Indicates that a value for fAttributes or fAccessSpeed is not valid.
  • CERR_BAD_HANDLE
    Indicates that a driver handle specified for hCardWindow is not valid.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Cardserv.h.
Link Library: Cardserv.lib.

See Also

CARD_WINDOW_HANDLE | CardMapWindow | CardRequestWindow

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.