// ntddpcm.h
typedef struct _PCMCIA_SOCKET_INFORMATION {
USHORT Socket;
USHORT TupleCrc;
UCHAR Manufacturer[MANUFACTURER_NAME_LENGTH];
UCHAR Identifier[DEVICE_IDENTIFIER_LENGTH];
UCHAR DriverName[DRIVER_NAME_LENGTH];
UCHAR DeviceFunctionId;
UCHAR Reserved;
UCHAR CardInSocket;
UCHAR CardEnabled;
ULONG ControllerType;
} PCMCIA_SOCKET_INFORMATION, *PPCMCIA_SOCKET_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
The PCMCIA_SOCKET_INFORMATION structure is used in conjunction with the IOCTL_SOCKET_INFORMATION request to retrieve socket configuration and state data.
SocketIndicates the socket number.
TupleCrcContains a 16-bit CRC that is concatenated with the PCMCIA prefix, the manufacturer-name string, the product-name string, and the instance value for the card to produce the device ID for a PC Card or CardBus card. For more information about PCMCIA device IDs, see Identifiers for PCMCIA Devices.
ManufacturerIndicates the manufacturer of the PC Card or CardBus card.
IdentifierContains the device ID of the PC Card or CardBus card.
DriverNameContains the name of the PC Card or CardBus card device driver.
DeviceFunctionIdIndicates the type of PC Card or CardBus card. This value can be one of the following.
| PC Card Type | Meaning |
|---|---|
| PCCARD_TYPE_MULTIFUNCTION | Multifunction card. |
| PCCARD_TYPE_MEMORY | Memory card. |
| PCCARD_TYPE_SERIAL | Serial port card. |
| PCCARD_TYPE_PARALLEL | Parallel port card. |
| PCCARD_TYPE_ATA | Disk controller card. |
| PCCARD_TYPE_VIDEO | Video controller card. |
| PCCARD_TYPE_NETWORK | Network controller card. |
| PCCARD_TYPE_AIMS | Auto-increment mass storage card. |
| PCCARD_TYPE_SCSI_BRIDGE | SCSI bridge card. |
| PCCARD_TYPE_SECURITY | Security card. |
| PCCARD_TYPE_MULTIFUNCTION3 | Multifunction 3.0 PC Card. |
| PCCARD_TYPE_FLASH_MEMORY | Flash memory card. |
| PCCARD_TYPE_MODEM | Modem card. |
ReservedReserved.
CardInSocketIndicates that there is a card present in the socket.
CardEnabledIndicates that the card is enabled.
ControllerTypeIndicates the controller type. Some common controller types are defined in the PCMCIA_CONTROLLER_CLASS enumeration.