CardReleaseWindow

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

Syntax

STATUS CardReleaseWindow( CARD_WINDOW_HANDLE hCardWin );

Parameters

hCardWin
Handle to a memory window from the CardRequestWindow function.

Return Values

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

CERR_BAD_HANDLE
Indicates that a memory window handle specified for hCardWin is invalid.
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.

Driver Name

PCMCIA

See Also

CardRequestWindow, CardReleaseConfiguration