PFN_DETECT_ENTRY

This function is a prototype of a PC Card detection function.

typedef LPTSTR (*PFN_DETECT_ENTRY)(
  CARD_SOCKET_HANDLE hSocket,
  UCHAR uDeviceType,
  LPTSTR pKeyName,
  DWORD dwNumofChars
);

Parameters

  • hSocket
    [in] Socket containing the card to detect.
  • uDeviceType
    [in] Device type from CISTPL_FUNCID, or 0xff for unknown.
  • pKeyName
    [in] Buffer to store device key name.
  • dwNumofChars
    [in] Number of characters in the pKeyName parameter.

Return Values

Returns NULL if a card is not detected. Otherwise, returns a pointer to the device key under HKLM\Drivers\PCMCIA of the device driver to load for a detected card.

Requirements

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

See Also

PC Card Driver Reference

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.