CardReleaseWindow

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

Syntax

STATUS CardReleaseWindow( CARD_WINDOW_HANDLE hCardWin );

Parameters

hCardWin
Specifies a memory window handle from CardRequestWindow.

Return Values

If the function succeeds, the return value is CERR_SUCCESS; otherwise, it is one of the following:

Value Description
CERR_BAD_HANDLE Indicates an invalid memory window handle specified for hCardWin.
CERR_CONFIGURATION_LOCKED Indicates the PC Card must be placed in memory-only mode with CardReleaseConfiguration before an I/O window can be released.

See Also

CardRequestWindow, CardReleaseConfiguration