Compartilhar via


CardRequestDisable (Windows CE 5.0)

Send Feedback

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.

STATUS CardRequestDisable(CARD_CLIENT_HANDLEhCardClient,CARD_SOCKET_HANDLEhSock);

Parameters

  • hCardClient
    [in] Client handle created by CardRegisterClient.
  • hSock
    [in] Handle passed from the registry or from an event notification.

Return Values

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

OS Versions: Windows CE 5.0 and later
Header: Cardsv2.h
Link Library: Pcc_serv.dll

See Also

PC Card Drivers | CardRegisterClient

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.