ReactOS 0.4.16-dev-340-g0540c21
stubs.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS SmartCard API
3 * FILE: dll/win32/winscard/stubs.c
4 * PURPOSE: ReactOS SmartCard API
5 * PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
6 *
7 * UPDATE HISTORY:
8 * 11/07/2004 Created
9 */
10
11#include "precomp.h"
12
14
15/*
16 * @unimplemented
17 */
18LONG
21{
24}
25
26/*
27 * @unimplemented
28 */
29LONG
32 LPCSTR szReader,
33 DWORD dwShareMode,
34 DWORD dwPreferredProtocols,
35 LPSCARDHANDLE phCard,
36 LPDWORD pdwActiveProtocol)
37{
40}
41
42/*
43 * @unimplemented
44 */
45LONG
48 LPCWSTR szReader,
49 DWORD dwShareMode,
50 DWORD dwPreferredProtocols,
51 LPSCARDHANDLE phCard,
52 LPDWORD pdwActiveProtocol)
53{
56}
57
58/*
59 * @unimplemented
60 */
61LONG
64 DWORD dwControlCode,
65 LPCVOID lpInBuffer,
66 DWORD nInBufferSize,
67 LPVOID lpOutBuffer,
68 DWORD nOutBufferSize,
70{
73}
74
75/*
76 * @unimplemented
77 */
78LONG
81 DWORD dwDisposition)
82{
85}
86
87/*
88 * @unimplemented
89 */
90LONG
93 DWORD dwDisposition)
94{
97}
98
99/*
100 * @unimplemented
101 */
102LONG
103WINAPI
106{
109}
110
111/*
112 * @unimplemented
113 */
114LONG
115WINAPI
118{
121}
122
123/*
124 * @unimplemented
125 */
126LONG
127WINAPI
129 LPCSTR szReaderName)
130{
133}
134
135/*
136 * @unimplemented
137 */
138LONG
139WINAPI
141 LPCWSTR szReaderName)
142{
145}
146
147/*
148 * @unimplemented
149 */
150LONG
151WINAPI
153 LPCSTR szGroupName)
154{
157}
158
159/*
160 * @unimplemented
161 */
162LONG
163WINAPI
165 LPCWSTR szGroupName)
166{
169}
170
171/*
172 * @unimplemented
173 */
174LONG
175WINAPI
177 LPCVOID pvMem)
178{
181}
182
183/*
184 * @unimplemented
185 */
186LONG
187WINAPI
189 DWORD dwAttrId,
190 LPBYTE pbAttr,
191 LPDWORD pcbAttrLen)
192{
195}
196
197/*
198 * @unimplemented
199 */
200LONG
201WINAPI
204 DWORD dwProviderId,
206 LPDWORD pcchProvider)
207{
210}
211
212/*
213 * @unimplemented
214 */
215LONG
216WINAPI
219 DWORD dwProviderId,
221 LPDWORD pcchProvider)
222{
225}
226
227/*
228 * @unimplemented
229 */
230LONG
231WINAPI
233 LPCSTR szCard,
234 LPGUID pguidProviderId)
235{
238}
239
240/*
241 * @unimplemented
242 */
243LONG
244WINAPI
246 LPCWSTR szCard,
247 LPGUID pguidProviderId)
248{
251}
252
253/*
254 * @unimplemented
255 */
256LONG
257WINAPI
260 LPSCARD_READERSTATEA rgReaderState,
261 DWORD cReaders)
262{
265}
266
267/*
268 * @unimplemented
269 */
270LONG
271WINAPI
274 LPSCARD_READERSTATEW rgReaderState,
275 DWORD cReaders)
276{
279}
280
281/*
282 * @unimplemented
283 */
284LONG
285WINAPI
288 LPCGUID pguidPrimaryProvider,
289 LPCGUID rgguidInterfaces,
290 DWORD dwInterfaceCount,
291 LPCBYTE pbAtr,
292 LPCBYTE pbAtrMask,
293 DWORD cbAtrLen)
294{
297}
298
299/*
300 * @unimplemented
301 */
302LONG
303WINAPI
306 LPCGUID pguidPrimaryProvider,
307 LPCGUID rgguidInterfaces,
308 DWORD dwInterfaceCount,
309 LPCBYTE pbAtr,
310 LPCBYTE pbAtrMask,
311 DWORD cbAtrLen)
312{
315}
316
317/*
318 * @unimplemented
319 */
320LONG
321WINAPI
323 LPCSTR szReaderName,
325{
328}
329
330/*
331 * @unimplemented
332 */
333LONG
334WINAPI
336 LPCWSTR szReaderName,
338{
341}
342
343/*
344 * @unimplemented
345 */
346LONG
347WINAPI
349 LPCSTR szGroupName)
350{
353}
354
355/*
356 * @unimplemented
357 */
358LONG
359WINAPI
361 LPCWSTR szGroupName)
362{
365}
366
367/*
368 * @unimplemented
369 */
370LONG
371WINAPI
373 LPCBYTE pbAtr,
374 LPCGUID rgguidInterface,
375 DWORD cguidInterfaceCount,
376 LPWSTR mszCards,
377 LPDWORD pcchCards)
378{
381}
382
383/*
384 * @unimplemented
385 */
386LONG
387WINAPI
389 LPCSTR szCard,
390 LPGUID pguidInterfaces,
391 LPDWORD pcguidInteraces)
392{
395}
396
397/*
398 * @unimplemented
399 */
400LONG
401WINAPI
403 LPCWSTR szCard,
404 LPGUID pguidInterfaces,
405 LPDWORD pcguidInteraces)
406{
409}
410
411/*
412 * @unimplemented
413 */
414LONG
415WINAPI
417 LPSTR mszGroups,
418 LPDWORD pcchGroups)
419{
422}
423
424/*
425 * @unimplemented
426 */
427LONG
428WINAPI
430 LPWSTR mszGroups,
431 LPDWORD pcchGroups)
432{
435}
436
437/*
438 * @unimplemented
439 */
440LONG
441WINAPI
443 LPCSTR mszCards,
444 LPSCARD_READERSTATEA rgReaderStates,
445 DWORD cReaders)
446{
449}
450
451/*
452 * @unimplemented
453 */
454LONG
455WINAPI
457 LPCWSTR mszCards,
458 LPSCARD_READERSTATEW rgReaderStates,
459 DWORD cReaders)
460{
463}
464
465/*
466 * @unimplemented
467 */
468LONG
469WINAPI
471 LPSCARD_ATRMASK rgAtrMasks,
472 DWORD cAtrs,
473 LPSCARD_READERSTATEA rgReaderStates,
474 DWORD cReaders)
475{
478}
479
480/*
481 * @unimplemented
482 */
483LONG
484WINAPI
486 LPSCARD_ATRMASK rgAtrMasks,
487 DWORD cAtrs,
488 LPSCARD_READERSTATEW rgReaderStates,
489 DWORD cReaders)
490{
493}
494
495/*
496 * @unimplemented
497 */
498LONG
499WINAPI
501 DWORD dwShareMode,
502 DWORD dwPreferredProtocols,
503 DWORD dwInitialization,
504 LPDWORD pdwActiveProtocol)
505{
508}
509
510/*
511 * @unimplemented
512 */
513LONG
514WINAPI
516 LPCSTR szReaderName,
517 LPCSTR szGroupname)
518{
521}
522
523/*
524 * @unimplemented
525 */
526LONG
527WINAPI
529 LPCWSTR szReaderName,
530 LPCWSTR szGroupname)
531{
534}
535
536/*
537 * @unimplemented
538 */
539LONG
540WINAPI
542 DWORD dwAttrId,
543 LPCBYTE pbAttr,
544 DWORD cbAttrLen)
545{
548}
549
550/*
551 * @unimplemented
552 */
553LONG
554WINAPI
557 DWORD dwProviderId,
559{
562}
563
564/*
565 * @unimplemented
566 */
567LONG
568WINAPI
571 DWORD dwProviderId,
573{
576}
577
578/*
579 * @unimplemented
580 */
581LONG
582WINAPI
584 LPDWORD pdwState,
585 LPDWORD pdwProtocol,
586 LPBYTE pbAtr,
587 LPDWORD pcbAtrlen)
588{
591}
592
593/*
594 * @unimplemented
595 */
596LONG
597WINAPI
599 LPCSCARD_IO_REQUEST pioSendPci,
600 LPCBYTE pbSendBuffer,
601 DWORD cbSendLength,
602 LPSCARD_IO_REQUEST pioRecvPci,
603 LPBYTE pbRecvBuffer,
604 LPDWORD pcbRecvLength)
605{
608}
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15
static TCHAR szCardName[]
Definition: cardwindow.cpp:37
static const WCHAR szDeviceName[]
Definition: provider.c:56
LONG WINAPI SCardGetProviderIdW(SCARDCONTEXT hContext, LPCWSTR szCard, LPGUID pguidProviderId)
Definition: stubs.c:245
LONG WINAPI SCardGetProviderIdA(SCARDCONTEXT hContext, LPCSTR szCard, LPGUID pguidProviderId)
Definition: stubs.c:232
LONG WINAPI SCardLocateCardsA(SCARDCONTEXT hContext, LPCSTR mszCards, LPSCARD_READERSTATEA rgReaderStates, DWORD cReaders)
Definition: stubs.c:442
LONG WINAPI SCardIntroduceReaderA(SCARDCONTEXT hContext, LPCSTR szReaderName, LPCSTR szDeviceName)
Definition: stubs.c:322
LONG WINAPI SCardDisconnect(SCARDHANDLE hCard, DWORD dwDisposition)
Definition: stubs.c:80
LONG WINAPI SCardLocateCardsW(SCARDCONTEXT hContext, LPCWSTR mszCards, LPSCARD_READERSTATEW rgReaderStates, DWORD cReaders)
Definition: stubs.c:456
LONG WINAPI SCardConnectA(SCARDCONTEXT hContext, LPCSTR szReader, DWORD dwShareMode, DWORD dwPreferredProtocols, LPSCARDHANDLE phCard, LPDWORD pdwActiveProtocol)
Definition: stubs.c:31
LONG WINAPI SCardEndTransaction(SCARDHANDLE hCard, DWORD dwDisposition)
Definition: stubs.c:92
LONG WINAPI SCardLocateCardsByATRW(SCARDCONTEXT hContext, LPSCARD_ATRMASK rgAtrMasks, DWORD cAtrs, LPSCARD_READERSTATEW rgReaderStates, DWORD cReaders)
Definition: stubs.c:485
LONG WINAPI SCardControl(SCARDHANDLE hCard, DWORD dwControlCode, LPCVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned)
Definition: stubs.c:63
LONG WINAPI SCardForgetCardTypeW(SCARDCONTEXT hContext, LPCWSTR szCardName)
Definition: stubs.c:116
LONG WINAPI SCardListReaderGroupsW(SCARDCONTEXT hContext, LPWSTR mszGroups, LPDWORD pcchGroups)
Definition: stubs.c:429
LONG WINAPI SCardTransmit(SCARDHANDLE hCard, LPCSCARD_IO_REQUEST pioSendPci, LPCBYTE pbSendBuffer, DWORD cbSendLength, LPSCARD_IO_REQUEST pioRecvPci, LPBYTE pbRecvBuffer, LPDWORD pcbRecvLength)
Definition: stubs.c:598
LONG WINAPI SCardForgetReaderA(SCARDCONTEXT hContext, LPCSTR szReaderName)
Definition: stubs.c:128
LONG WINAPI SCardRemoveReaderFromGroupW(SCARDCONTEXT hContext, LPCWSTR szReaderName, LPCWSTR szGroupname)
Definition: stubs.c:528
LONG WINAPI SCardGetStatusChangeA(SCARDCONTEXT hContext, DWORD dwTimeout, LPSCARD_READERSTATEA rgReaderState, DWORD cReaders)
Definition: stubs.c:258
LONG WINAPI SCardFreeMemory(SCARDCONTEXT hContext, LPCVOID pvMem)
Definition: stubs.c:176
LONG WINAPI SCardForgetCardTypeA(SCARDCONTEXT hContext, LPCSTR szCardName)
Definition: stubs.c:104
LONG WINAPI SCardLocateCardsByATRA(SCARDCONTEXT hContext, LPSCARD_ATRMASK rgAtrMasks, DWORD cAtrs, LPSCARD_READERSTATEA rgReaderStates, DWORD cReaders)
Definition: stubs.c:470
LONG WINAPI SCardConnectW(SCARDCONTEXT hContext, LPCWSTR szReader, DWORD dwShareMode, DWORD dwPreferredProtocols, LPSCARDHANDLE phCard, LPDWORD pdwActiveProtocol)
Definition: stubs.c:47
LONG WINAPI SCardForgetReaderGroupA(SCARDCONTEXT hContext, LPCSTR szGroupName)
Definition: stubs.c:152
LONG WINAPI SCardSetCardTypeProviderNameA(SCARDCONTEXT hContext, LPCSTR szCardName, DWORD dwProviderId, LPCSTR szProvider)
Definition: stubs.c:555
LONG WINAPI SCardListInterfacesW(SCARDCONTEXT hContext, LPCWSTR szCard, LPGUID pguidInterfaces, LPDWORD pcguidInteraces)
Definition: stubs.c:402
LONG WINAPI SCardListInterfacesA(SCARDCONTEXT hContext, LPCSTR szCard, LPGUID pguidInterfaces, LPDWORD pcguidInteraces)
Definition: stubs.c:388
LONG WINAPI SCardForgetReaderW(SCARDCONTEXT hContext, LPCWSTR szReaderName)
Definition: stubs.c:140
LONG WINAPI SCardForgetReaderGroupW(SCARDCONTEXT hContext, LPCWSTR szGroupName)
Definition: stubs.c:164
LONG WINAPI SCardGetCardTypeProviderNameW(SCARDCONTEXT hContext, LPCWSTR szCardName, DWORD dwProviderId, LPWSTR szProvider, LPDWORD pcchProvider)
Definition: stubs.c:217
LONG WINAPI SCardSetAttrib(SCARDHANDLE hCard, DWORD dwAttrId, LPCBYTE pbAttr, DWORD cbAttrLen)
Definition: stubs.c:541
LONG WINAPI SCardIntroduceReaderGroupW(SCARDCONTEXT hContext, LPCWSTR szGroupName)
Definition: stubs.c:360
LONG WINAPI SCardListCardsW(SCARDCONTEXT hContext, LPCBYTE pbAtr, LPCGUID rgguidInterface, DWORD cguidInterfaceCount, LPWSTR mszCards, LPDWORD pcchCards)
Definition: stubs.c:372
LONG WINAPI SCardIntroduceReaderW(SCARDCONTEXT hContext, LPCWSTR szReaderName, LPCWSTR szDeviceName)
Definition: stubs.c:335
LONG WINAPI SCardIntroduceCardTypeW(SCARDCONTEXT hContext, LPCWSTR szCardName, LPCGUID pguidPrimaryProvider, LPCGUID rgguidInterfaces, DWORD dwInterfaceCount, LPCBYTE pbAtr, LPCBYTE pbAtrMask, DWORD cbAtrLen)
Definition: stubs.c:304
LONG WINAPI SCardSetCardTypeProviderNameW(SCARDCONTEXT hContext, LPCWSTR szCardName, DWORD dwProviderId, LPCWSTR szProvider)
Definition: stubs.c:569
LONG WINAPI SCardRemoveReaderFromGroupA(SCARDCONTEXT hContext, LPCSTR szReaderName, LPCSTR szGroupname)
Definition: stubs.c:515
LONG WINAPI SCardIntroduceReaderGroupA(SCARDCONTEXT hContext, LPCSTR szGroupName)
Definition: stubs.c:348
LONG WINAPI SCardState(SCARDHANDLE hCard, LPDWORD pdwState, LPDWORD pdwProtocol, LPBYTE pbAtr, LPDWORD pcbAtrlen)
Definition: stubs.c:583
LONG WINAPI SCardGetStatusChangeW(SCARDCONTEXT hContext, DWORD dwTimeout, LPSCARD_READERSTATEW rgReaderState, DWORD cReaders)
Definition: stubs.c:272
LONG WINAPI SCardReconnect(SCARDHANDLE hCard, DWORD dwShareMode, DWORD dwPreferredProtocols, DWORD dwInitialization, LPDWORD pdwActiveProtocol)
Definition: stubs.c:500
LONG WINAPI SCardIntroduceCardTypeA(SCARDCONTEXT hContext, LPCSTR szCardName, LPCGUID pguidPrimaryProvider, LPCGUID rgguidInterfaces, DWORD dwInterfaceCount, LPCBYTE pbAtr, LPCBYTE pbAtrMask, DWORD cbAtrLen)
Definition: stubs.c:286
LONG WINAPI SCardGetAttrib(SCARDHANDLE hCard, DWORD dwAttrId, LPBYTE pbAttr, LPDWORD pcbAttrLen)
Definition: stubs.c:188
LONG WINAPI SCardGetCardTypeProviderNameA(SCARDCONTEXT hContext, LPCSTR szCardName, DWORD dwProviderId, LPSTR szProvider, LPDWORD pcchProvider)
Definition: stubs.c:202
LONG WINAPI SCardListReaderGroupsA(SCARDCONTEXT hContext, LPSTR mszGroups, LPDWORD pcchGroups)
Definition: stubs.c:416
LONG WINAPI SCardBeginTransaction(SCARDHANDLE hCard)
Definition: stubs.c:20
unsigned long DWORD
Definition: ntddk_ex.h:95
static const char * szProvider
Definition: rsaenh.c:36
long LONG
Definition: pedump.c:60
#define SCARD_F_UNKNOWN_ERROR
Definition: scarderr.h:51
unsigned char * LPBYTE
Definition: typedefs.h:53
uint32_t * LPDWORD
Definition: typedefs.h:59
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
Definition: wincrypt.h:6081
_In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD lpBytesReturned
Definition: winddi.h:1705
CONST void * LPCVOID
Definition: windef.h:191
#define WINAPI
Definition: msvc.h:6
ULONG_PTR * LPSCARDHANDLE
Definition: winscard.h:38
ULONG_PTR SCARDCONTEXT
Definition: winscard.h:37
ULONG_PTR SCARDHANDLE
Definition: winscard.h:38
const BYTE * LPCBYTE
Definition: winscard.h:34
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185