Changeset 44393 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Jan 25, 2013 9:21:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vmapi.h
r44340 r44393 93 93 * VM error callback function. 94 94 * 95 * @param p VM The VM handle. Can be NULL if an error occurred before96 * successfully creating a VM.95 * @param pUVM The user mode VM handle. Can be NULL if an error 96 * occurred before successfully creating a VM. 97 97 * @param pvUser The user argument. 98 98 * @param rc VBox status code. … … 101 101 * @param args Error message arguments. 102 102 */ 103 typedef DECLCALLBACK(void) FNVMATERROR(P VM pVM, void *pvUser, int rc, RT_SRC_POS_DECL, const char *pszError, va_list args);103 typedef DECLCALLBACK(void) FNVMATERROR(PUVM pUVM, void *pvUser, int rc, RT_SRC_POS_DECL, const char *pszError, va_list args); 104 104 /** Pointer to a VM error callback. */ 105 105 typedef FNVMATERROR *PFNVMATERROR; … … 129 129 * See VMSetRuntimeError for the detailed description of parameters. 130 130 * 131 * @param p VM The VM handle.131 * @param pUVM The user mode VM handle. 132 132 * @param pvUser The user argument. 133 133 * @param fFlags The error flags. … … 136 136 * @param va Error message arguments. 137 137 */ 138 typedef DECLCALLBACK(void) FNVMATRUNTIMEERROR(P VM pVM, void *pvUser, uint32_t fFlags, const char *pszErrorId,138 typedef DECLCALLBACK(void) FNVMATRUNTIMEERROR(PUVM pUVM, void *pvUser, uint32_t fFlags, const char *pszErrorId, 139 139 const char *pszFormat, va_list va); 140 140 /** Pointer to a VM runtime error callback. */ … … 164 164 165 165 /** 166 * VM state c allback function.166 * VM state change callback function. 167 167 * 168 168 * You are not allowed to call any function which changes the VM state from a 169 169 * state callback, except VMR3Destroy(). 170 170 * 171 * @param p VM The VM handle.171 * @param pUVM The user mode VM handle. 172 172 * @param enmState The new state. 173 173 * @param enmOldState The old state. 174 174 * @param pvUser The user argument. 175 175 */ 176 typedef DECLCALLBACK(void) FNVMATSTATE(P VM pVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser);176 typedef DECLCALLBACK(void) FNVMATSTATE(PUVM pUVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser); 177 177 /** Pointer to a VM state callback. */ 178 178 typedef FNVMATSTATE *PFNVMATSTATE; … … 318 318 /** 319 319 * Progress callback. 320 * 320 321 * This will report the completion percentage of an operation. 321 322 * 322 323 * @returns VINF_SUCCESS. 323 324 * @returns Error code to cancel the operation with. 324 * @param p VM The VM handle.325 * @param pUVM The user mode VM handle. 325 326 * @param uPercent Completion percentage (0-100). 326 327 * @param pvUser User specified argument. 327 328 */ 328 typedef DECLCALLBACK(int) FNVMPROGRESS(P VM pVM, unsigned uPercent, void *pvUser);329 typedef DECLCALLBACK(int) FNVMPROGRESS(PUVM pUVM, unsigned uPercent, void *pvUser); 329 330 /** Pointer to a FNVMPROGRESS function. */ 330 331 typedef FNVMPROGRESS *PFNVMPROGRESS; 331 332 /**333 * VM destruction callback.334 * @param pVM The VM which is about to be destroyed.335 * @param pvUser The user parameter specified at registration.336 */337 typedef DECLCALLBACK(void) FNVMATDTOR(PVM pVM, void *pvUser);338 /** Pointer to a VM destruction callback. */339 typedef FNVMATDTOR *PFNVMATDTOR;340 332 341 333
Note:
See TracChangeset
for help on using the changeset viewer.