pcsc-lite  1.8.8
prothandler.h
Go to the documentation of this file.
1 /*
2  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
3  *
4  * Copyright (C) 1999
5  * David Corcoran <corcoran@linuxnet.com>
6  * Copyright (C) 2004
7  * Ludovic Rousseau <ludovic.rousseau@free.fr>
8  *
9  * $Id: prothandler.h 5813 2011-06-28 19:27:15Z rousseau $
10  */
11 
17 #ifndef __prothandler_h__
18 #define __prothandler_h__
19 
20  DWORD PHSetProtocol(struct ReaderContext *, DWORD, UCHAR, UCHAR);
21 
22 #define SET_PROTOCOL_WRONG_ARGUMENT -1
23 #define SET_PROTOCOL_PPS_FAILED -2
24 
25 #endif /* __prothandler_h__ */
DWORD PHSetProtocol(struct ReaderContext *rContext, DWORD dwPreferred, UCHAR ucAvailable, UCHAR ucDefault)
Determine which protocol to use.
Definition: prothandler.c:39