2.2.3.4 ListReaderGroups_Return and ListReaders_Return

The ListReaderGroups_Return and ListReaders_Return structures are used to obtain results for those calls that return a multistring, in addition to a long return value. For more information, see sections 3.1.4.5, 3.1.4.6, 3.1.4.7, and 3.1.4.8.

 typedef struct _longAndMultiString_Return {
   long ReturnCode;
   [range(0,65536)] unsigned long cBytes;
   [unique] [size_is(cBytes)] byte *msz;
 } ListReaderGroups_Return, ListReaders_Return;

ReturnCode: HRESULT or Win32 Error code. The value returned from the Smart Card Redirection call.

cBytes: The number of bytes in the msz array field.

msz: The meaning of this field is specific to the context (IOCTL) in which it is used.

Value

Meaning

SCARD_IOCTL_LISTREADERSA

0x00090028

ASCII multistring of readers on the system.

SCARD_IOCTL_LISTREADERSW

0x0009002C

Unicode multistring of readers on the system.

SCARD_IOCTL_LISTREADERGROUPSA

0x00090020

ASCII multistring of reader groups on the system.

SCARD_IOCTL_LISTREADERGROUPSW

0x00090024

Unicode multistring of reader groups on the system.