다음을 통해 공유


CardPowerOn (Windows CE 5.0)

Send Feedback

This function powers on a given socket and function pair.

STATUS CardRequestConfiguration(CARD_CLIENT_HANDLE hCardClient,CARD_SOCKET_HANDLE hSock);

Parameters

  • hCardClient
    [in] Handle obtained from the CardRegisterClient function.
  • hSock
    [in] Handle to the socket and function pair to modify.

Return Values

  • CERR_SUCCESS
    Indicates success.
  • CERR_BAD_HANDLE
    Indicates that the driver specified for hCardClient is not valid.
  • CERR_BAD_SOCKET
    Indicates that the socket identifier specified in hSock is not valid or that a PC Card is not inserted.
  • CERR_IN_USE
    Indicates that another driver owns the configuration.

Remarks

This function will power on the given socket and function pair. The socket and function pair must already be configured through a call to the CardRequestConfiguration function, before CardPowerOn can be called. This function is only meant to be used to power PC cards that have been powered off by CardPowerOff.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Cardserv.h.
Link Library: Cardserv.lib.

See Also

CardPowerOff

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.