VirtualBox

Changeset 75990 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Dec 5, 2018 7:51:01 PM (6 years ago)
Author:
vboxsync
Message:

VMMDev,HGCM: Added cancellation notification and query helper.

File:
1 edited

Legend:

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

    r75853 r75990  
    20852085
    20862086    /**
     2087     * Checks if @a pCmd was cancelled.
     2088     *
     2089     * @returns true if cancelled, false if not.
     2090     * @param   pInterface          Pointer to this interface.
     2091     * @param   pCmd                The command we're checking on.
     2092     */
     2093    DECLR3CALLBACKMEMBER(bool, pfnIsCmdCancelled,(PPDMIHGCMPORT pInterface, PVBOXHGCMCMD pCmd));
     2094
     2095    /**
    20872096     * Gets the VMMDevRequestHeader::fRequestor value for @a pCmd.
    20882097     *
     
    21042113} PDMIHGCMPORT;
    21052114/** PDMIHGCMPORT interface ID. */
    2106 # define PDMIHGCMPORT_IID                       "c9180235-8102-4642-0aa7-f0422124d9b5"
     2115# define PDMIHGCMPORT_IID                       "28c0a201-68cd-4752-9404-bb42a0c09eb7"
    21072116
    21082117
     
    21582167                                       uint32_t cParms, PVBOXHGCMSVCPARM paParms, uint64_t tsArrival));
    21592168
     2169    /**
     2170     * Notification about the guest cancelling a pending request.
     2171     * @param   pInterface  Pointer to this interface.
     2172     * @param   pCmd        A pointer that identifies the command.
     2173     * @param   idclient    The client id returned by the pfnConnect call.
     2174     */
     2175    DECLR3CALLBACKMEMBER(void, pfnCancelled,(PPDMIHGCMCONNECTOR pInterface, PVBOXHGCMCMD pCmd, uint32_t idClient));
     2176
    21602177} PDMIHGCMCONNECTOR;
    21612178/** PDMIHGCMCONNECTOR interface ID. */
    2162 # define PDMIHGCMCONNECTOR_IID                  "a1104758-c888-4437-8f2a-7bac17865b5c"
     2179# define PDMIHGCMCONNECTOR_IID                  "33cb5c91-6a4a-4ad9-3fec-d1f7d413c4a5"
    21632180
    21642181#endif /* VBOX_WITH_HGCM */
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