Share via


CardReleaseWindow (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

STATUS CardReleaseWindow(
  CARD_WINDOW_HANDLE hCardWin 
);

Parameters

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

Return Value

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

Header cardsv2.h
Library Pcc_serv.dll
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

PC Card Driver Functions
CardReleaseConfiguration
CardRequestWindow