VirtualBox

Changeset 94772 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 2, 2022 10:12:10 AM (3 years ago)
Author:
vboxsync
Message:

Main: Introduce crypto utilities for handling SSM files, bugref:9955 [build fix, don't include it in VBoxC for now]

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r94771 r94772  
    10661066VBoxC_SOURCES += \
    10671067        $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d \
    1068         src-all/CryptoUtils.cpp \
    10691068        src-all/DisplayPNGUtil.cpp \
    10701069        src-all/DisplayResampleImage.cpp \
  • trunk/src/VBox/Main/include/DisplayUtils.h

    r93444 r94772  
    2424#include "VBox/com/string.h"
    2525
     26#include "CryptoUtils.h"
     27
    2628using namespace com;
    2729
     
    3335#define sSSMDisplayVer5 0x00010005
    3436
    35 int readSavedGuestScreenInfo(const Utf8Str &strStateFilePath, uint32_t u32ScreenId,
     37int readSavedGuestScreenInfo(SsmStream &refSsm, uint32_t u32ScreenId,
    3638                             uint32_t *pu32OriginX, uint32_t *pu32OriginY,
    3739                             uint32_t *pu32Width, uint32_t *pu32Height, uint16_t *pu16Flags);
    3840
    39 int readSavedDisplayScreenshot(const Utf8Str &strStateFilePath, uint32_t u32Type, uint8_t **ppu8Data,
     41int readSavedDisplayScreenshot(&refSsm, uint32_t u32Type, uint8_t **ppu8Data,
    4042                               uint32_t *pcbData, uint32_t *pu32Width, uint32_t *pu32Height);
    4143void freeSavedDisplayScreenshot(uint8_t *pu8Data);
  • trunk/src/VBox/Main/src-all/DisplayUtils.cpp

    r94763 r94772  
    2323#include <VBoxVideo.h>
    2424
    25 int readSavedDisplayScreenshot(const Utf8Str &strStateFilePath, uint32_t u32Type, uint8_t **ppu8Data, uint32_t *pcbData,
     25int readSavedDisplayScreenshot(SsmStream &refSsm, uint32_t u32Type, uint8_t **ppu8Data, uint32_t *pcbData,
    2626                               uint32_t *pu32Width, uint32_t *pu32Height)
    2727{
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