Compartir a través de


CardModifyConfiguration (Windows CE 5.0)

Send Feedback

This function modifies information in the fAttributes parameter, as specified by the CARD_CONFIG_INFO structure.

STATUS CardRequestConfiguration(CARD_CLIENT_HANDLE hCardClient,CARD_SOCKET_HANDLE hSock,PUINT16 fAttributes);

Parameters

  • hCardClient
    [in] Handle obtained from the CardRegisterClient function.
  • hSock
    [in] Handle to the socket and function pair to modify.
  • fAttributes
    [in, out] Pointer to the fAttributes member in the CARD_CONFIG_INFO structure.

Return Values

  • CERR_SUCCESS
    Indicates success.
  • CERR_BAD_ARGS
    Indicates that the pointer specified for fAttributes is not valid.
  • 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 the configuration is owned by another driver.

Remarks

The only information in fAttributes that can be set or reset with CardModifyConfiguration is CFG_ATTR_NO_SUSPEND_UNLOAD, CFG_ATTR_KEEP_POWERED, and CFG_ATTR_IRQ_WAKEUP.

Requirements

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

See Also

CARD_CONFIG_INFO | CardReleaseConfiguration

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.