Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
1.5 KiB

  1. /*
  2. * PINPAD.CPP
  3. *
  4. *
  5. *
  6. *
  7. *
  8. *
  9. */
  10. #include <windows.h>
  11. #include <hidclass.h>
  12. #include <hidsdi.h>
  13. #include <ole2.h>
  14. #include <ole2ver.h>
  15. #include "..\inc\opos.h"
  16. #include "oposctrl.h"
  17. /*
  18. * Define constructor/deconstructor.
  19. */
  20. DEFINE_DEFAULT_CONTROL_CONSTRUCTOR(COPOSPinPad)
  21. /*
  22. * Define local methods to relay all generic control
  23. * method calls to the m_genericControl member.
  24. */
  25. DEFINE_GENERIC_CONTROL_FUNCTIONS(COPOSPinPad)
  26. STDMETHODIMP_(LONG) COPOSPinPad::BeginEFTTransaction(BSTR PINPadSystem, LONG TransactionHost)
  27. {
  28. LONG result = 0;
  29. // BUGBUG FINISH
  30. return result;
  31. }
  32. STDMETHODIMP_(LONG) COPOSPinPad::ComputeMAC(BSTR InMsg, BSTR* pOutMsg)
  33. {
  34. LONG result = 0;
  35. // BUGBUG FINISH
  36. return result;
  37. }
  38. STDMETHODIMP_(LONG) COPOSPinPad::EnablePINEntry()
  39. {
  40. LONG result = 0;
  41. // BUGBUG FINISH
  42. return result;
  43. }
  44. STDMETHODIMP_(LONG) COPOSPinPad::EndEFTTransaction(LONG CompletionCode)
  45. {
  46. LONG result = 0;
  47. // BUGBUG FINISH
  48. return result;
  49. }
  50. STDMETHODIMP_(LONG) COPOSPinPad::UpdateKey(LONG KeyNum, BSTR Key)
  51. {
  52. LONG result = 0;
  53. // BUGBUG FINISH
  54. return result;
  55. }
  56. STDMETHODIMP_(BOOL) COPOSPinPad::VerifyMAC(BSTR Message)
  57. {
  58. BOOL result = FALSE;
  59. // BUGBUG FINISH
  60. return result;
  61. }
  62. STDMETHODIMP_(void) COPOSPinPad::DataEvent(LONG Status)
  63. {
  64. // BUGBUG FINISH
  65. }
  66. STDMETHODIMP_(void) COPOSPinPad::ErrorEvent(LONG ResultCode, LONG ResultCodeExtended, LONG ErrorLocus, LONG* pErrorResponse)
  67. {
  68. // BUGBUG FINISH
  69. }