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.

43 lines
1.1 KiB

  1. // Gemplus (C) 1999
  2. // Version 1.0
  3. // Author: Sergey Ivanov
  4. // Date of creation - 18.05.1999
  5. // Change log:
  6. //
  7. #ifndef INT_INT
  8. #define INT_INT
  9. #include "generic.h"
  10. #pragma PAGEDCODE
  11. class CInterrupt
  12. {
  13. public:
  14. NTSTATUS m_Status;
  15. SAFE_DESTRUCTORS();
  16. virtual VOID dispose(){self_delete();};
  17. protected:
  18. CInterrupt(){};
  19. virtual ~CInterrupt(){};
  20. public:
  21. virtual NTSTATUS connect(OUT PKINTERRUPT *InterruptObject,
  22. IN PKSERVICE_ROUTINE ServiceRoutine,
  23. IN PVOID ServiceContext,
  24. IN PKSPIN_LOCK SpinLock OPTIONAL,
  25. IN ULONG Vector,
  26. IN KIRQL Irql,
  27. IN KIRQL SynchronizeIrql,
  28. IN KINTERRUPT_MODE InterruptMode,
  29. IN BOOLEAN ShareVector,
  30. IN KAFFINITY ProcessorEnableMask,
  31. IN BOOLEAN FloatingSave
  32. ) {return STATUS_SUCCESS;};
  33. virtual VOID disconnect(IN PKINTERRUPT InterruptObject) {};
  34. virtual VOID initializeDpcRequest(IN PDEVICE_OBJECT pFdo,IN PDEFERRED_FUNCTION DpcForIsr) {};
  35. virtual BOOLEAN synchronizeExecution ( IN PKINTERRUPT Interrupt,
  36. IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine,
  37. IN PVOID SynchronizeContext) {return FALSE;};
  38. };
  39. #endif//CInterrupt