Share via


CardReleaseWindow

This function releases a memory or I/O window allocated by the CardRequestWindow function.

STATUS CardReleaseWindow(
  CARD_WINDOW_HANDLE hCardWin 
);

Parameters

  • hCardWin
    [in] Handle to a memory window from CardRequestWindow.

Return Values

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

  • CERR_BAD_WINDOW
    Indicates that a memory window handle specified for hCardWin is not valid.
  • CERR_BAD_HANDLE
    Indicates that the client holding the window is no longer valid.
  • CERR_CONFIGURATION_LOCKED
    Indicates that the PC Card must be placed in memory-only mode with the CardReleaseConfiguration function before an I/O window can be released.

Requirements

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

See Also

CardReleaseConfiguration | CardRequestWindow

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.