Share via


CardRequestDisable (Windows Embedded CE 6.0)

1/6/2010

This function powers off a PC Card. After the card has been turned off it can no longer function until the card is ejected and reinserted.

Syntax

STATUS CardRequestDisable(
  CARD_CLIENT_HANDLE hCardClient,
  CARD_SOCKET_HANDLE hSock
);

Parameters

  • hSock
    [in] Handle passed from the registry or from an event notification.

Return Value

Returns one of the return codes defined in the Cardsv2.h header file.

Remarks

The PC Card is disabled only after all functions call CardRequestDisable for a multiple function card. After CardRequestDisable is called, the PC Card can only be reactivated by removing and reinserting it.

Requirements

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

See Also

Reference

PC Card Driver Functions
CardRegisterClient

Other Resources

PC Card Drivers