VirtualBox

Ignore:
Timestamp:
Apr 28, 2022 5:59:53 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151124
Message:

Main/ConsoleImpl: Some helpers to retain and release the cryptographic interface (mirrors the implementation in VirtualBoxImpl required for the NVRAM store). Loading the actual extension pack plugin is missing still, bugref:9955

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r94660 r94742  
    7676# include <VBox/vrdpusb.h>
    7777#endif
     78#include <VBox/VBoxCryptoIf.h>
    7879
    7980#if    defined(VBOX_WITH_GUEST_PROPS) || defined(VBOX_WITH_SHARED_CLIPBOARD) \
     
    322323    HRESULT i_setDiskEncryptionKeys(const Utf8Str &strCfg);
    323324
     325    HRESULT i_retainCryptoIf(PCVBOXCRYPTOIF *ppCryptoIf);
     326    HRESULT i_releaseCryptoIf(PCVBOXCRYPTOIF pCryptoIf);
    324327
    325328#ifdef VBOX_WITH_GUEST_PROPS
     
    10861089    Bstr mstrUuid;
    10871090
     1091    /** @name Members related to the cryptographic support interface.
     1092     * @{ */
     1093    /** The loaded module handle if loaded. */
     1094    RTLDRMOD                            mhLdrModCrypto;
     1095    /** Reference counter tracking how many users of the cryptographic support
     1096     * are there currently. */
     1097    volatile uint32_t                   mcRefsCrypto;
     1098    /** Pointer to the cryptographic support interface. */
     1099    PCVBOXCRYPTOIF                      mpCryptoIf;
     1100    /** @} */
     1101
    10881102#ifdef VBOX_WITH_DRAG_AND_DROP
    10891103    HGCMSVCEXTHANDLE m_hHgcmSvcExtDragAndDrop;
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