Share via


CardReleaseWindow (Windows CE 5.0)

Send Feedback

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: Cardsv2.h.
Link Library: Pcc_serv.dll

See Also

CardReleaseConfiguration | CardRequestWindow

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.