64-bit Windows NPEvent change

Josh Aas josh at mozilla.com
Sun Apr 25 17:15:26 PDT 2010

Mozilla made the following change to the Windows NPEvent structure for 64-bit compatibility. Let me know if you have any concerns.

 #elif defined(XP_WIN)
 typedef struct _NPEvent
   uint16_t event;
-  uint32_t wParam;
-  uint32_t lParam;
+  uintptr_t wParam;
+  uintptr_t lParam;
 } NPEvent;

Josh Aas
Software Engineer
Mozilla Corporation

More information about the plugin-futures mailing list