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 13 /* 14 * @unimplemented 15 */ 16 LONG 17 WINAPI 18 SCardBeginTransaction(SCARDHANDLE hCard) 19 { 20 UNIMPLEMENTED; 21 return SCARD_F_UNKNOWN_ERROR; 22 } 23 24 /* 25 * @unimplemented 26 */ 27 LONG 28 WINAPI 29 SCardCancel(SCARDCONTEXT hContext) 30 { 31 UNIMPLEMENTED; 32 return SCARD_F_UNKNOWN_ERROR; 33 } 34 35 /* 36 * @unimplemented 37 */ 38 LONG 39 WINAPI 40 SCardConnectA(SCARDCONTEXT hContext, 41 LPCSTR szReader, 42 DWORD dwShareMode, 43 DWORD dwPreferredProtocols, 44 LPSCARDHANDLE phCard, 45 LPDWORD pdwActiveProtocol) 46 { 47 UNIMPLEMENTED; 48 return SCARD_F_UNKNOWN_ERROR; 49 } 50 51 /* 52 * @unimplemented 53 */ 54 LONG 55 WINAPI 56 SCardConnectW(SCARDCONTEXT hContext, 57 LPCWSTR szReader, 58 DWORD dwShareMode, 59 DWORD dwPreferredProtocols, 60 LPSCARDHANDLE phCard, 61 LPDWORD pdwActiveProtocol) 62 { 63 UNIMPLEMENTED; 64 return SCARD_F_UNKNOWN_ERROR; 65 } 66 67 /* 68 * @unimplemented 69 */ 70 LONG 71 WINAPI 72 SCardControl(SCARDHANDLE hCard, 73 DWORD dwControlCode, 74 LPCVOID lpInBuffer, 75 DWORD nInBufferSize, 76 LPVOID lpOutBuffer, 77 DWORD nOutBufferSize, 78 LPDWORD lpBytesReturned) 79 { 80 UNIMPLEMENTED; 81 return SCARD_F_UNKNOWN_ERROR; 82 } 83 84 /* 85 * @unimplemented 86 */ 87 LONG 88 WINAPI 89 SCardDisconnect(SCARDHANDLE hCard, 90 DWORD dwDisposition) 91 { 92 UNIMPLEMENTED; 93 return SCARD_F_UNKNOWN_ERROR; 94 } 95 96 /* 97 * @unimplemented 98 */ 99 LONG 100 WINAPI 101 SCardEndTransaction(SCARDHANDLE hCard, 102 DWORD dwDisposition) 103 { 104 UNIMPLEMENTED; 105 return SCARD_F_UNKNOWN_ERROR; 106 } 107 108 /* 109 * @unimplemented 110 */ 111 LONG 112 WINAPI 113 SCardForgetCardTypeA(SCARDCONTEXT hContext, 114 LPCSTR szCardName) 115 { 116 UNIMPLEMENTED; 117 return SCARD_F_UNKNOWN_ERROR; 118 } 119 120 /* 121 * @unimplemented 122 */ 123 LONG 124 WINAPI 125 SCardForgetCardTypeW(SCARDCONTEXT hContext, 126 LPCWSTR szCardName) 127 { 128 UNIMPLEMENTED; 129 return SCARD_F_UNKNOWN_ERROR; 130 } 131 132 /* 133 * @unimplemented 134 */ 135 LONG 136 WINAPI 137 SCardForgetReaderA(SCARDCONTEXT hContext, 138 LPCSTR szReaderName) 139 { 140 UNIMPLEMENTED; 141 return SCARD_F_UNKNOWN_ERROR; 142 } 143 144 /* 145 * @unimplemented 146 */ 147 LONG 148 WINAPI 149 SCardForgetReaderW(SCARDCONTEXT hContext, 150 LPCWSTR szReaderName) 151 { 152 UNIMPLEMENTED; 153 return SCARD_F_UNKNOWN_ERROR; 154 } 155 156 /* 157 * @unimplemented 158 */ 159 LONG 160 WINAPI 161 SCardForgetReaderGroupA(SCARDCONTEXT hContext, 162 LPCSTR szGroupName) 163 { 164 UNIMPLEMENTED; 165 return SCARD_F_UNKNOWN_ERROR; 166 } 167 168 /* 169 * @unimplemented 170 */ 171 LONG 172 WINAPI 173 SCardForgetReaderGroupW(SCARDCONTEXT hContext, 174 LPCWSTR szGroupName) 175 { 176 UNIMPLEMENTED; 177 return SCARD_F_UNKNOWN_ERROR; 178 } 179 180 /* 181 * @unimplemented 182 */ 183 LONG 184 WINAPI 185 SCardFreeMemory(SCARDCONTEXT hContext, 186 LPCVOID pvMem) 187 { 188 UNIMPLEMENTED; 189 return SCARD_F_UNKNOWN_ERROR; 190 } 191 192 /* 193 * @unimplemented 194 */ 195 LONG 196 WINAPI 197 SCardGetAttrib(SCARDHANDLE hCard, 198 DWORD dwAttrId, 199 LPBYTE pbAttr, 200 LPDWORD pcbAttrLen) 201 { 202 UNIMPLEMENTED; 203 return SCARD_F_UNKNOWN_ERROR; 204 } 205 206 /* 207 * @unimplemented 208 */ 209 LONG 210 WINAPI 211 SCardGetCardTypeProviderNameA(SCARDCONTEXT hContext, 212 LPCSTR szCardName, 213 DWORD dwProviderId, 214 LPSTR szProvider, 215 LPDWORD pcchProvider) 216 { 217 UNIMPLEMENTED; 218 return SCARD_F_UNKNOWN_ERROR; 219 } 220 221 /* 222 * @unimplemented 223 */ 224 LONG 225 WINAPI 226 SCardGetCardTypeProviderNameW(SCARDCONTEXT hContext, 227 LPCWSTR szCardName, 228 DWORD dwProviderId, 229 LPWSTR szProvider, 230 LPDWORD pcchProvider) 231 { 232 UNIMPLEMENTED; 233 return SCARD_F_UNKNOWN_ERROR; 234 } 235 236 /* 237 * @unimplemented 238 */ 239 LONG 240 WINAPI 241 SCardGetProviderIdA(SCARDCONTEXT hContext, 242 LPCSTR szCard, 243 LPGUID pguidProviderId) 244 { 245 UNIMPLEMENTED; 246 return SCARD_F_UNKNOWN_ERROR; 247 } 248 249 /* 250 * @unimplemented 251 */ 252 LONG 253 WINAPI 254 SCardGetProviderIdW(SCARDCONTEXT hContext, 255 LPCWSTR szCard, 256 LPGUID pguidProviderId) 257 { 258 UNIMPLEMENTED; 259 return SCARD_F_UNKNOWN_ERROR; 260 } 261 262 /* 263 * @unimplemented 264 */ 265 LONG 266 WINAPI 267 SCardGetStatusChangeA(SCARDCONTEXT hContext, 268 DWORD dwTimeout, 269 LPSCARD_READERSTATEA rgReaderState, 270 DWORD cReaders) 271 { 272 UNIMPLEMENTED; 273 return SCARD_F_UNKNOWN_ERROR; 274 } 275 276 /* 277 * @unimplemented 278 */ 279 LONG 280 WINAPI 281 SCardGetStatusChangeW(SCARDCONTEXT hContext, 282 DWORD dwTimeout, 283 LPSCARD_READERSTATEW rgReaderState, 284 DWORD cReaders) 285 { 286 UNIMPLEMENTED; 287 return SCARD_F_UNKNOWN_ERROR; 288 } 289 290 /* 291 * @unimplemented 292 */ 293 LONG 294 WINAPI 295 SCardIntroduceCardTypeA(SCARDCONTEXT hContext, 296 LPCSTR szCardName, 297 LPCGUID pguidPrimaryProvider, 298 LPCGUID rgguidInterfaces, 299 DWORD dwInterfaceCount, 300 LPCBYTE pbAtr, 301 LPCBYTE pbAtrMask, 302 DWORD cbAtrLen) 303 { 304 UNIMPLEMENTED; 305 return SCARD_F_UNKNOWN_ERROR; 306 } 307 308 /* 309 * @unimplemented 310 */ 311 LONG 312 WINAPI 313 SCardIntroduceCardTypeW(SCARDCONTEXT hContext, 314 LPCWSTR szCardName, 315 LPCGUID pguidPrimaryProvider, 316 LPCGUID rgguidInterfaces, 317 DWORD dwInterfaceCount, 318 LPCBYTE pbAtr, 319 LPCBYTE pbAtrMask, 320 DWORD cbAtrLen) 321 { 322 UNIMPLEMENTED; 323 return SCARD_F_UNKNOWN_ERROR; 324 } 325 326 /* 327 * @unimplemented 328 */ 329 LONG 330 WINAPI 331 SCardIntroduceReaderA(SCARDCONTEXT hContext, 332 LPCSTR szReaderName, 333 LPCSTR szDeviceName) 334 { 335 UNIMPLEMENTED; 336 return SCARD_F_UNKNOWN_ERROR; 337 } 338 339 /* 340 * @unimplemented 341 */ 342 LONG 343 WINAPI 344 SCardIntroduceReaderW(SCARDCONTEXT hContext, 345 LPCWSTR szReaderName, 346 LPCWSTR szDeviceName) 347 { 348 UNIMPLEMENTED; 349 return SCARD_F_UNKNOWN_ERROR; 350 } 351 352 /* 353 * @unimplemented 354 */ 355 LONG 356 WINAPI 357 SCardIntroduceReaderGroupA(SCARDCONTEXT hContext, 358 LPCSTR szGroupName) 359 { 360 UNIMPLEMENTED; 361 return SCARD_F_UNKNOWN_ERROR; 362 } 363 364 /* 365 * @unimplemented 366 */ 367 LONG 368 WINAPI 369 SCardIntroduceReaderGroupW(SCARDCONTEXT hContext, 370 LPCWSTR szGroupName) 371 { 372 UNIMPLEMENTED; 373 return SCARD_F_UNKNOWN_ERROR; 374 } 375 376 /* 377 * @unimplemented 378 */ 379 LONG 380 WINAPI 381 SCardListCardsW(SCARDCONTEXT hContext, 382 LPCBYTE pbAtr, 383 LPCGUID rgguidInterface, 384 DWORD cguidInterfaceCount, 385 LPWSTR mszCards, 386 LPDWORD pcchCards) 387 { 388 UNIMPLEMENTED; 389 return SCARD_F_UNKNOWN_ERROR; 390 } 391 392 /* 393 * @unimplemented 394 */ 395 LONG 396 WINAPI 397 SCardListInterfacesA(SCARDCONTEXT hContext, 398 LPCSTR szCard, 399 LPGUID pguidInterfaces, 400 LPDWORD pcguidInteraces) 401 { 402 UNIMPLEMENTED; 403 return SCARD_F_UNKNOWN_ERROR; 404 } 405 406 /* 407 * @unimplemented 408 */ 409 LONG 410 WINAPI 411 SCardListInterfacesW(SCARDCONTEXT hContext, 412 LPCWSTR szCard, 413 LPGUID pguidInterfaces, 414 LPDWORD pcguidInteraces) 415 { 416 UNIMPLEMENTED; 417 return SCARD_F_UNKNOWN_ERROR; 418 } 419 420 /* 421 * @unimplemented 422 */ 423 LONG 424 WINAPI 425 SCardListReaderGroupsA(SCARDCONTEXT hContext, 426 LPSTR mszGroups, 427 LPDWORD pcchGroups) 428 { 429 UNIMPLEMENTED; 430 return SCARD_F_UNKNOWN_ERROR; 431 } 432 433 /* 434 * @unimplemented 435 */ 436 LONG 437 WINAPI 438 SCardListReaderGroupsW(SCARDCONTEXT hContext, 439 LPWSTR mszGroups, 440 LPDWORD pcchGroups) 441 { 442 UNIMPLEMENTED; 443 return SCARD_F_UNKNOWN_ERROR; 444 } 445 446 /* 447 * @unimplemented 448 */ 449 LONG 450 WINAPI 451 SCardLocateCardsA(SCARDCONTEXT hContext, 452 LPCSTR mszCards, 453 LPSCARD_READERSTATEA rgReaderStates, 454 DWORD cReaders) 455 { 456 UNIMPLEMENTED; 457 return SCARD_F_UNKNOWN_ERROR; 458 } 459 460 /* 461 * @unimplemented 462 */ 463 LONG 464 WINAPI 465 SCardLocateCardsW(SCARDCONTEXT hContext, 466 LPCWSTR mszCards, 467 LPSCARD_READERSTATEW rgReaderStates, 468 DWORD cReaders) 469 { 470 UNIMPLEMENTED; 471 return SCARD_F_UNKNOWN_ERROR; 472 } 473 474 /* 475 * @unimplemented 476 */ 477 LONG 478 WINAPI 479 SCardLocateCardsByATRA(SCARDCONTEXT hContext, 480 LPSCARD_ATRMASK rgAtrMasks, 481 DWORD cAtrs, 482 LPSCARD_READERSTATEA rgReaderStates, 483 DWORD cReaders) 484 { 485 UNIMPLEMENTED; 486 return SCARD_F_UNKNOWN_ERROR; 487 } 488 489 /* 490 * @unimplemented 491 */ 492 LONG 493 WINAPI 494 SCardLocateCardsByATRW(SCARDCONTEXT hContext, 495 LPSCARD_ATRMASK rgAtrMasks, 496 DWORD cAtrs, 497 LPSCARD_READERSTATEW rgReaderStates, 498 DWORD cReaders) 499 { 500 UNIMPLEMENTED; 501 return SCARD_F_UNKNOWN_ERROR; 502 } 503 504 /* 505 * @unimplemented 506 */ 507 LONG 508 WINAPI 509 SCardReconnect(SCARDHANDLE hCard, 510 DWORD dwShareMode, 511 DWORD dwPreferredProtocols, 512 DWORD dwInitialization, 513 LPDWORD pdwActiveProtocol) 514 { 515 UNIMPLEMENTED; 516 return SCARD_F_UNKNOWN_ERROR; 517 } 518 519 /* 520 * @unimplemented 521 */ 522 LONG 523 WINAPI 524 SCardRemoveReaderFromGroupA(SCARDCONTEXT hContext, 525 LPCSTR szReaderName, 526 LPCSTR szGroupname) 527 { 528 UNIMPLEMENTED; 529 return SCARD_F_UNKNOWN_ERROR; 530 } 531 532 /* 533 * @unimplemented 534 */ 535 LONG 536 WINAPI 537 SCardRemoveReaderFromGroupW(SCARDCONTEXT hContext, 538 LPCWSTR szReaderName, 539 LPCWSTR szGroupname) 540 { 541 UNIMPLEMENTED; 542 return SCARD_F_UNKNOWN_ERROR; 543 } 544 545 /* 546 * @unimplemented 547 */ 548 LONG 549 WINAPI 550 SCardSetAttrib(SCARDHANDLE hCard, 551 DWORD dwAttrId, 552 LPCBYTE pbAttr, 553 DWORD cbAttrLen) 554 { 555 UNIMPLEMENTED; 556 return SCARD_F_UNKNOWN_ERROR; 557 } 558 559 /* 560 * @unimplemented 561 */ 562 LONG 563 WINAPI 564 SCardSetCardTypeProviderNameA(SCARDCONTEXT hContext, 565 LPCSTR szCardName, 566 DWORD dwProviderId, 567 LPCSTR szProvider) 568 { 569 UNIMPLEMENTED; 570 return SCARD_F_UNKNOWN_ERROR; 571 } 572 573 /* 574 * @unimplemented 575 */ 576 LONG 577 WINAPI 578 SCardSetCardTypeProviderNameW(SCARDCONTEXT hContext, 579 LPCWSTR szCardName, 580 DWORD dwProviderId, 581 LPCWSTR szProvider) 582 { 583 UNIMPLEMENTED; 584 return SCARD_F_UNKNOWN_ERROR; 585 } 586 587 /* 588 * @unimplemented 589 */ 590 LONG 591 WINAPI 592 SCardState(SCARDHANDLE hCard, 593 LPDWORD pdwState, 594 LPDWORD pdwProtocol, 595 LPBYTE pbAtr, 596 LPDWORD pcbAtrlen) 597 { 598 UNIMPLEMENTED; 599 return SCARD_F_UNKNOWN_ERROR; 600 } 601 602 /* 603 * @unimplemented 604 */ 605 LONG 606 WINAPI 607 SCardTransmit(SCARDHANDLE hCard, 608 LPCSCARD_IO_REQUEST pioSendPci, 609 LPCBYTE pbSendBuffer, 610 DWORD cbSendLength, 611 LPSCARD_IO_REQUEST pioRecvPci, 612 LPBYTE pbRecvBuffer, 613 LPDWORD pcbRecvLength) 614 { 615 UNIMPLEMENTED; 616 return SCARD_F_UNKNOWN_ERROR; 617 } 618