VirtualBox

Changeset 6247 in vbox


Ignore:
Timestamp:
Jan 4, 2008 7:28:14 PM (17 years ago)
Author:
vboxsync
Message:

r=bird: Put VBOXGUEST_IOCTL_LOG where it belongs. Fixed dupilcate number for VBOXGUEST_IOCTL_WAITEVENT_INTERRUPT_ALL on windows and removed the unnecessary IOCTL_VBOXGUEST_WAITEVENT_INTERRUPT_ALL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGuest.h

    r6246 r6247  
    10061006# define VBOXGUEST_IOCTL_WAITEVENT      VBOXGUEST_IOCTL_CODE(2, sizeof(VBoxGuestWaitEventInfo))
    10071007# define IOCTL_VBOXGUEST_WAITEVENT      VBOXGUEST_IOCTL_WAITEVENT
    1008 # define VBOXGUEST_IOCTL_WAITEVENT_INTERRUPT_ALL \
    1009                                         VBOXGUEST_IOCTL_CODE(5, 0)
    1010 # define IOCTL_VBOXGUEST_WAITEVENT_INTERRUPT_ALL \
    1011                                         VBOXGUEST_IOCTL_WAITEVENT_INTERRUPT_ALL
    10121008#else
    10131009# define IOCTL_VBOXGUEST_WAITEVENT IOCTL_CODE(FILE_DEVICE_UNKNOWN, 2049, METHOD_BUFFERED, FILE_WRITE_ACCESS, sizeof(VBoxGuestWaitEventInfo))
    1014 # define IOCTL_VBOXGUEST_WAITEVENT_INTERRUPT_ALL \
    1015                                         IOCTL_CODE(FILE_DEVICE_UNKNOWN, 2051, METHOD_BUFFERED, \
    1016                                         FILE_WRITE_ACCESS, 0)
     1010#endif
     1011
     1012/** IOCTL to VBoxGuest to wait for any/all (?) VMMDev host notification.
     1013 * @see VBOXGUEST_IOCTL_WAITEVENT */
     1014#ifdef VBOXGUEST_IOCTL_CODE
     1015# define VBOXGUEST_IOCTL_WAITEVENT_INTERRUPT_ALL    VBOXGUEST_IOCTL_CODE(5, 0)
     1016#else
     1017# define VBOXGUEST_IOCTL_WAITEVENT_INTERRUPT_ALL    IOCTL_CODE(FILE_DEVICE_UNKNOWN, 2054, METHOD_BUFFERED, FILE_WRITE_ACCESS, 0)
    10171018#endif
    10181019
     
    10621063#pragma pack()
    10631064
    1064 /** IOCTL to VBoxGuest to control event filter mask */
     1065/** IOCTL to VBoxGuest to control event filter mask. */
    10651066#ifdef VBOXGUEST_IOCTL_CODE
    10661067# define VBOXGUEST_IOCTL_CTL_FILTER_MASK    VBOXGUEST_IOCTL_CODE(4, sizeof(VBoxGuestFilterMaskInfo))
     
    10701071#endif
    10711072
    1072 /** IOCTL to VBoxGuest to check memory ballooning */
     1073/** IOCTL to VBoxGuest to check memory ballooning. */
    10731074#ifdef VBOXGUEST_IOCTL_CODE
    10741075# define VBOXGUEST_IOCTL_CTL_CHECK_BALLOON_MASK     VBOXGUEST_IOCTL_CODE(4, 100)
     
    10771078# define IOCTL_VBOXGUEST_CTL_CHECK_BALLOON          IOCTL_CODE(FILE_DEVICE_UNKNOWN, 2052, METHOD_BUFFERED, FILE_WRITE_ACCESS, 0)
    10781079#endif
     1080
     1081/** IOCTL to VBoxGuest to perform backdoor logging. */
     1082#ifdef VBOXGUEST_IOCTL_CODE
     1083# define VBOXGUEST_IOCTL_LOG(Size)          VBOXGUEST_IOCTL_CODE(6, (Size))
     1084#else
     1085# define VBOXGUEST_IOCTL_LOG(Size)          IOCTL_CODE(FILE_DEVICE_UNKNOWN, 2055, METHOD_BUFFERED, FILE_WRITE_ACCESS, (Size))
     1086#endif
     1087
    10791088
    10801089#ifdef VBOX_HGCM
     
    11151124# define VBOXGUEST_IOCTL_CLIPBOARD_CONNECT  VBOXGUEST_IOCTL_CODE(19, sizeof(uint32_t))
    11161125# define IOCTL_VBOXGUEST_CLIPBOARD_CONNECT  VBOXGUEST_IOCTL_CLIPBOARD_CONNECT
    1117 # define VBOXGUEST_IOCTL_LOG(Size)          VBOXGUEST_IOCTL_CODE(20, (Size))
    11181126#else
    11191127# define IOCTL_VBOXGUEST_HGCM_CONNECT      IOCTL_CODE(FILE_DEVICE_UNKNOWN, 3072, METHOD_BUFFERED, FILE_WRITE_ACCESS, sizeof(VBoxGuestHGCMConnectInfo))
     
    11211129# define IOCTL_VBOXGUEST_HGCM_CALL         IOCTL_CODE(FILE_DEVICE_UNKNOWN, 3074, METHOD_BUFFERED, FILE_WRITE_ACCESS, sizeof(VBoxGuestHGCMCallInfo))
    11221130# define IOCTL_VBOXGUEST_CLIPBOARD_CONNECT IOCTL_CODE(FILE_DEVICE_UNKNOWN, 3075, METHOD_BUFFERED, FILE_WRITE_ACCESS, sizeof(uint32_t))
    1123 # define VBOXGUEST_IOCTL_LOG(Size)         IOCTL_CODE(FILE_DEVICE_UNKNOWN, 3076, METHOD_BUFFERED, FILE_WRITE_ACCESS, (Size))
    11241131#endif
    11251132
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette