Changeset 30226 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Timestamp:
- Jun 16, 2010 1:58:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r30169 r30226 110 110 typedef UCHAR VBOXVCMNIRQL, *PVBOXVCMNIRQL; 111 111 112 typedef PEVENT VBOXVCMNEVENT, *PVBOXVCMNEVENT; 112 typedef PEVENT VBOXVCMNEVENT; 113 typedef VBOXVCMNEVENT *PVBOXVCMNEVENT; 113 114 114 115 typedef struct _DEVICE_EXTENSION * VBOXCMNREG; … … 132 133 typedef KIRQL VBOXVCMNIRQL, *PVBOXVCMNIRQL; 133 134 134 typedef KEVENT VBOXVCMNEVENT, *PVBOXVCMNEVENT; 135 typedef KEVENT VBOXVCMNEVENT; 136 typedef VBOXVCMNEVENT *PVBOXVCMNEVENT; 135 137 136 138 typedef HANDLE VBOXCMNREG; … … 335 337 /* XPDM-WDDM common API */ 336 338 337 typedef PEVENT VBOXVCMNEVENT, *PVBOXVCMNEVENT; 339 typedef PEVENT VBOXVCMNEVENT; 340 typedef VBOXVCMNEVENT *PVBOXVCMNEVENT; 338 341 339 342 DECLINLINE(VOID) VBoxVideoCmnPortWriteUchar(IN PUCHAR Port, IN UCHAR Value) … … 404 407 DECLINLINE(LONG) VBoxVideoCmnEventSet(IN PDEVICE_EXTENSION pDeviceExtension, IN PVBOXVCMNEVENT pEvent) 405 408 { 406 return pDeviceExtension->u.primary.VideoPortProcs.pfnSetEvent(pDeviceExtension, *pEvent);409 return pDeviceExtension->u.primary.VideoPortProcs.pfnSetEvent(pDeviceExtension, (VBOXPEVENT)*pEvent); /** @todo slightly bogus cast */ 407 410 } 408 411 … … 413 416 fFlags |= INITIAL_EVENT_SIGNALED; 414 417 415 return pDeviceExtension->u.primary.VideoPortProcs.pfnCreateEvent(pDeviceExtension, fFlags, NULL, pEvent);418 return pDeviceExtension->u.primary.VideoPortProcs.pfnCreateEvent(pDeviceExtension, fFlags, NULL, (VBOXPEVENT *)pEvent); /** @todo slightly bogus cast */ 416 419 } 417 420 418 421 DECLINLINE(VP_STATUS) VBoxVideoCmnEventDelete(IN PDEVICE_EXTENSION pDeviceExtension, IN PVBOXVCMNEVENT pEvent) 419 422 { 420 return pDeviceExtension->u.primary.VideoPortProcs.pfnDeleteEvent(pDeviceExtension, *pEvent);423 return pDeviceExtension->u.primary.VideoPortProcs.pfnDeleteEvent(pDeviceExtension, (VBOXPEVENT)*pEvent); /** @todo slightly bogus cast */ 421 424 } 422 425
Note:
See TracChangeset
for help on using the changeset viewer.