API Call

M

Mex

Hi


How to call following API in C#?

LONG SCardListReaders(
SCARDCONTEXT hContext,
LPCTSTR mszGroups,
LPTSTR mszReaders,
LPDWORD pcchReaders
);
[DllImport("winscard.dll", SetLastError = true)]static extern int
SCardListReadersA(int SCARDCONTEXT,string
mszGroups,[MarshalAs(UnmanagedType.LPTStr)] StringBuilder mszReaders,int
pcchReades);is this correct?Mex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top