VirtualBox

Changeset 1711 in vbox for trunk/include


Ignore:
Timestamp:
Mar 27, 2007 8:35:21 AM (18 years ago)
Author:
vboxsync
Message:

HGCM cleanup.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r1650 r1711  
    914914/** The HGCM is saving state. */
    915915#define VINF_HGCM_SAVE_STATE                        (2906)
     916/** Requested service already exists. */
     917#define VERR_HGCM_SERVICE_EXISTS                    (-2907)
    916918
    917919/** @} */
  • trunk/include/VBox/hgcmsvc.h

    r905 r1711  
    4545 * 1.1->2.1 Because the pfnConnect now also has the pvClient parameter.
    4646 * 2.1->2.2 Because pfnSaveState and pfnLoadState were added
     47 * 2.2->3.1 Because pfnHostCall is now synchronous, returns rc, and parameters were changed
    4748 */
    4849#define VBOX_HGCM_SVC_VERSION_MINOR (0x0001)
    49 #define VBOX_HGCM_SVC_VERSION_MAJOR (0x0002)
     50#define VBOX_HGCM_SVC_VERSION_MAJOR (0x0003)
    5051#define VBOX_HGCM_SVC_VERSION ((VBOX_HGCM_SVC_VERSION_MAJOR << 16) + VBOX_HGCM_SVC_VERSION_MINOR)
    5152
     
    139140     *  Return code is passed to pfnCallComplete callback.
    140141     */
    141     DECLCALLBACKMEMBER(void, pfnHostCall) (VBOXHGCMCALLHANDLE callHandle, uint32_t u32ClientID, void *pvClient, uint32_t function, uint32_t cParms, VBOXHGCMSVCPARM paParms[]);
     142    DECLCALLBACKMEMBER(int, pfnHostCall) (uint32_t function, uint32_t cParms, VBOXHGCMSVCPARM paParms[]);
    142143 
    143144    /** Inform the service about a VM save operation. */
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