Share via


CardPowerOn (Windows Embedded CE 6.0)

1/6/2010

This function powers on a given socket and function pair.

Syntax

STATUS CardRequestConfiguration(
  CARD_CLIENT_HANDLE hCardClient,
  CARD_SOCKET_HANDLE hSock
);

Parameters

  • hSock
    [in] Handle to the socket and function pair to modify.

Return Value

  • 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

Header cardserv.h
Library Cardserv.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

PCMCIA Legacy Compatibility Layer Functions
CardPowerOff