VirtualBox

Changeset 26650 in vbox for trunk/include


Ignore:
Timestamp:
Feb 19, 2010 1:42:35 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57860
Message:

pdmifs,DevPS2,DrvMouseQueue,MouseImpl: hungarian changes and some other cleanups.

File:
1 edited

Legend:

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

    r26638 r26650  
    279279
    280280
    281 /** PDMIMOUSEPORT interface ID. */
    282 #define PDMIMOUSEPORT_IID "f8d45ecc-bd6f-4a8d-b262-b85498e7f143"
    283281/** Pointer to a mouse port interface. */
    284282typedef struct PDMIMOUSEPORT *PPDMIMOUSEPORT;
     
    291289    /**
    292290     * Puts a mouse event.
    293      * This is called by the source of mouse events. The event will be passed up until the
    294      * topmost driver, which then calls the registered event handler.
    295      *
    296      * @returns VBox status code.
     291     *
     292     * This is called by the source of mouse events.  The event will be passed up
     293     * until the topmost driver, which then calls the registered event handler.
     294     *
     295     * @returns VBox status code.  Return VERR_TRY_AGAIN if you cannot process the
     296     *          event now and want it to be repeated at a later point.
     297     *
    297298     * @param   pInterface          Pointer to this interface structure.
    298      * @param   i32DeltaX       The X delta.
    299      * @param   i32DeltaY       The Y delta.
    300      * @param   i32DeltaZ       The Z delta.
    301      * @param   i32DeltaW       The W (horizontal scroll button) delta.
    302      * @param   fButtonStates   The button states, see the PDMIMOUSEPORT_BUTTON_* \#defines.
    303      * @thread  The emulation thread.
    304      */
    305     DECLR3CALLBACKMEMBER(int, pfnPutEvent,(PPDMIMOUSEPORT pInterface, int32_t i32DeltaX, int32_t i32DeltaY, int32_t i32DeltaZ, int32_t i32DeltaW, uint32_t fButtonStates));
     299     * @param   iDeltaX             The X delta.
     300     * @param   iDeltaY             The Y delta.
     301     * @param   iDeltaZ             The Z delta.
     302     * @param   iDeltaW             The W (horizontal scroll button) delta.
     303     * @param   fButtonStates       The button states, see the PDMIMOUSEPORT_BUTTON_* \#defines.
     304     */
     305    DECLR3CALLBACKMEMBER(int, pfnPutEvent,(PPDMIMOUSEPORT pInterface, int32_t iDeltaX, int32_t iDeltaY, int32_t iDeltaZ, int32_t iDeltaW, uint32_t fButtonStates));
    306306    /**
    307307     * Puts an absolute mouse event.
    308      * This is called by the source of mouse events. The event will be passed up until the
    309      * topmost driver, which then calls the registered event handler.
    310      *
    311      * @returns VBox status code.
     308     *
     309     * This is called by the source of mouse events.  The event will be passed up
     310     * until the topmost driver, which then calls the registered event handler.
     311     *
     312     * @returns VBox status code.  Return VERR_TRY_AGAIN if you cannot process the
     313     *          event now and want it to be repeated at a later point.
     314     *
    312315     * @param   pInterface          Pointer to this interface structure.
    313      * @param   i32cX               The X value, in the range 0 to 0xffff.
    314      * @param   i32cY               The Y value, in the range 0 to 0xffff.
    315      * @param   i32DeltaZ           The Z delta.
    316      * @param   i32DeltaW           The W (horizontal scroll button) delta.
     316     * @param   uX                  The X value, in the range 0 to 0xffff.
     317     * @param   uY                  The Y value, in the range 0 to 0xffff.
     318     * @param   iDeltaZ             The Z delta.
     319     * @param   iDeltaW             The W (horizontal scroll button) delta.
    317320     * @param   fButtonStates       The button states, see the PDMIMOUSEPORT_BUTTON_* \#defines.
    318      * @thread  The emulation thread.
    319      */
    320     DECLR3CALLBACKMEMBER(int, pfnPutEventAbs,(PPDMIMOUSEPORT pInterface, uint32_t i32cX, uint32_t i32cY, int32_t i32DeltaZ, int32_t i32DeltaW, uint32_t fButtonStates));
     321     */
     322    DECLR3CALLBACKMEMBER(int, pfnPutEventAbs,(PPDMIMOUSEPORT pInterface, uint32_t uX, uint32_t uY, int32_t iDeltaZ, int32_t iDeltaW, uint32_t fButtonStates));
    321323} PDMIMOUSEPORT;
     324/** PDMIMOUSEPORT interface ID. */
     325#define PDMIMOUSEPORT_IID                       "442136fe-6f3c-49ec-9964-259b378ffa64"
    322326
    323327/** Mouse button defines for PDMIMOUSEPORT::pfnPutEvent.
     
    340344{
    341345    /**
    342      * Notifies the the downstream driver when the guest switches the device into or out of absolute mode.
     346     * Notifies the the downstream driver when the guest switches the device into or
     347     * out of absolute mode.
    343348     *
    344349     * @param   pInterface      Pointer to the this interface.
    345      * @param   fAbs            Whether absolute mode is currently enabled
    346      */
    347     DECLR3CALLBACKMEMBER(void, pfnAbsModeChange,(PPDMIMOUSECONNECTOR pInterface, bool fAbs));
     350     * @param   fEnabled        Whether absolute mode is currently enabled.
     351     */
     352    DECLR3CALLBACKMEMBER(void, pfnAbsModeChange,(PPDMIMOUSECONNECTOR pInterface, bool fEnabled));
    348353
    349354} PDMIMOUSECONNECTOR;
    350 
    351355/** PDMIMOUSECONNECTOR interface ID.  */
    352 #define PDMIMOUSECONNECTOR_IID                  "39e48c1c-1514-4ac6-8a9c-88034d36ae98"
     356#define PDMIMOUSECONNECTOR_IID                  "6b7be703-c1de-40a2-a977-0ef68d8760ca"
    353357
    354358
     
    372376     * @param   pInterface          Pointer to this interface structure.
    373377     * @param   u8KeyCode           The keycode to queue.
    374      * @thread  The emulation thread.
    375378     */
    376379    DECLR3CALLBACKMEMBER(int, pfnPutEvent,(PPDMIKEYBOARDPORT pInterface, uint8_t u8KeyCode));
Note: See TracChangeset for help on using the changeset viewer.

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