Changeset 23988 in vbox for trunk/include/VBox
- Timestamp:
- Oct 22, 2009 2:41:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r23915 r23988 3519 3519 3520 3520 /** 3521 * Register a save state data unit with a live save callback as well. 3522 * 3523 * @returns VBox status. 3524 * @param pDevIns Device instance. 3525 * @param uVersion Data layout version number. 3526 * @param cbGuess The approximate amount of data in the unit. 3527 * Only for progress indicators. 3528 * @param pfnLiveExec Execute live callback, optional. 3529 * @param pfnSaveExec Execute save callback, optional. 3530 * @param pfnLoadExec Execute load callback, optional. 3531 */ 3532 DECLINLINE(int) PDMDevHlpSSMRegister3(PPDMDEVINS pDevIns, uint32_t uVersion, size_t cbGuess, 3533 FNSSMDEVLIVEEXEC pfnLiveExec, PFNSSMDEVSAVEEXEC pfnSaveExec, PFNSSMDEVLOADEXEC pfnLoadExec) 3534 { 3535 return pDevIns->pDevHlpR3->pfnSSMRegister(pDevIns, uVersion, cbGuess, NULL /*pszBefore*/, 3536 NULL /*pfnLivePrep*/, pfnLiveExec, NULL /*pfnLiveDone*/, 3537 NULL /*pfnSavePrep*/, pfnSaveExec, NULL /*pfnSaveDone*/, 3538 NULL /*pfnLoadPrep*/, pfnLoadExec, NULL /*pfnLoadDone*/); 3539 } 3540 3541 /** 3521 3542 * @copydoc PDMDEVHLPR3::pfnSSMRegister 3522 3543 */
Note:
See TracChangeset
for help on using the changeset viewer.