VirtualBox

Changeset 23988 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 22, 2009 2:41:27 PM (15 years ago)
Author:
vboxsync
Message:

pdmdev.h: Added PDMDevHlpSSMRegister3

File:
1 edited

Legend:

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

    r23915 r23988  
    35193519
    35203520/**
     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 */
     3532DECLINLINE(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/**
    35213542 * @copydoc PDMDEVHLPR3::pfnSSMRegister
    35223543 */
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