Microsoft Windows CE 3.0  

SCARD_VENDOR_ATTR

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The SCARD_VENDOR_ATTRstructure holds all information about the reader. The driver is responsible for filling in all members.

typedef struct _VENDOR_ATTR {
struct {
USHORT
Length;
UCHAR
Buffer[MAXIMUM_ATTR_STRING_LENGTH];
}
VendorName
;
struct {
USHORT
Length
;
UCHAR
Buffer[MAXIMUM_ATTR_STRING_LENGTH];
}
IfdType;
ULONG
UnitNo
;
struct {
USHORT
BuildNumber
;
UCHAR
VersionMinor
;
UCHAR
VersionMajor
;
}
IfdVersion
;
struct {
USHORT
Length
;
UCHAR
Buffer[MAXIMUM_ATTR_STRING_LENGTH];
}
IfdSerialNo;
ULONG
Reserved[25];
} VENDOR_ATTR, *PVENDOR_ATTR;

Members

VendorName
Mandatory. Contains the ANSI-coded name of the vendor. Since a length field is provided, no terminating NULL character is necessary.
IfdType
Mandatory. Contains the ANSI-coded designation of the reader (that is, the reader name).
UnitNo
Mandatory. This is the number of this unit and should be set to the nif the driver name is " PSCn". Since it is possible to have more than one reader of this type installed in a system, UnitNois used to distinguish the readers.
IfdVersion
Optional. The version number of the reader. This member can be used for support purposes. It should be maintained only if the reader allows the value to be queried.
IfdSerialNumber
Optional. The serial number of the connected reader. This field should only be maintained if the reader allows the serial number to be queried.
Reserved
A buffer of 25 ULONG values, reserved for future use. Drivers should not use this space.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.