I am trying to get a list of smartcard readers on my machine using winscard.dll's scardlistreaders (http://msdn2.microsoft.com/en-us/library/aa379793.aspx)
LONG SCardListReaders(
__in SCARDCONTEXT hContext,
__in LPCTSTR mszGroups,
__out LPTSTR mszReaders,
__inout LPDWORD pcchReaders
);
with mszReaders being a "Multi-string that lists the card readers within the supplied reader groups. If this value is NULL, SCardListReaders ignores the buffer length supplied in pcc