accelBlock.h 486 B

123456789101112131415161718192021222324
  1. #ifndef NULLSOFT_WINAMP_ACCELERATOR_BLOCKER_HEADER
  2. #define NULLSOFT_WINAMP_ACCELERATOR_BLOCKER_HEADER
  3. #include <wtypes.h>
  4. #include <api\application\ifc_messageprocessor.h>
  5. class AcceleratorBlocker : public ifc_messageprocessor
  6. {
  7. public:
  8. AcceleratorBlocker(HWND hwndToBlock);
  9. ~AcceleratorBlocker();
  10. public:
  11. bool ProcessMessage(MSG *pMsg);
  12. HWND GetHwnd() { return hwnd; }
  13. protected:
  14. RECVS_DISPATCH;
  15. protected:
  16. HWND hwnd;
  17. };
  18. #endif// NULLSOFT_WINAMP_ACCELERATOR_BLOCKER_HEADER