VirtualBox

Changeset 75769 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 27, 2018 12:30:00 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126971
Message:

VMMDev,HGCM: Give access to VMMDevRequestHeader::fRequestor. bugref:9105

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r75747 r75769  
    6969 * 5.1->6.1 Because pfnCall got a new parameter. Also new helpers. (VBox 6.0)
    7070 * 6.1->6.2 Because pfnCallComplete starts returning a status code (VBox 6.0).
     71 * 6.2->6.3 Because pfnGetRequestor was added (VBox 6.0).
    7172 */
    7273#define VBOX_HGCM_SVC_VERSION_MAJOR (0x0006)
    73 #define VBOX_HGCM_SVC_VERSION_MINOR (0x0002)
     74#define VBOX_HGCM_SVC_VERSION_MINOR (0x0003)
    7475#define VBOX_HGCM_SVC_VERSION ((VBOX_HGCM_SVC_VERSION_MAJOR << 16) + VBOX_HGCM_SVC_VERSION_MINOR)
    7576
     
    110111    /** Access to DBGFR3InfoDeregisterExternal. */
    111112    DECLR3CALLBACKMEMBER(int, pfnInfoDeregister,(void *pvInstance, const char *pszName));
     113
     114    /**
     115     * Retrieves the VMMDevRequestHeader::fRequestor value.
     116     *
     117     * @returns The field value, 0 if invalid call.
     118     * @param   hCall       The call we're checking up on.
     119     */
     120    DECLR3CALLBACKMEMBER(uint32_t, pfnGetRequestor, (VBOXHGCMCALLHANDLE hCall));
    112121
    113122} VBOXHGCMSVCHELPERS;
  • trunk/include/VBox/vmm/pdmifs.h

    r75740 r75769  
    20842084    DECLR3CALLBACKMEMBER(bool, pfnIsCmdRestored,(PPDMIHGCMPORT pInterface, PVBOXHGCMCMD pCmd));
    20852085
     2086    /**
     2087     * Gets the VMMDevRequestHeader::fRequestor value for @a pCmd.
     2088     *
     2089     * @returns The fRequestor value, 0 if invalid parameters.
     2090     * @param   pInterface          Pointer to this interface.
     2091     * @param   pCmd                The command we're in checking on.
     2092     */
     2093    DECLR3CALLBACKMEMBER(uint32_t, pfnGetRequestor,(PPDMIHGCMPORT pInterface, PVBOXHGCMCMD pCmd));
     2094
    20862095} PDMIHGCMPORT;
    20872096/** PDMIHGCMPORT interface ID. */
    2088 # define PDMIHGCMPORT_IID                       "e82b1709-c245-4ccc-1611-0e6d50d93cbc"
     2097# define PDMIHGCMPORT_IID                       "0864e1c5-659b-40c8-2c97-994e2983038e"
    20892098
    20902099
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