The CardDeregisterClient function removes an installable device driver's registration from Card Services.
STATUS CardDeregisterClient( CARD_CLIENT_HANDLE hCardClient );
If the function succeeds, it returns CERR_SUCCESS. If the hCardClient driver handle is invalid, the function returns CERR_BAD_HANDLE.
CardDeregisterClient releases all PC Card Services resources the driver has open.