4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync/** @file
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * Display helper declarations
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync */
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync/*
c7814cf6e1240a519cbec0441e033d0e2470ed00vboxsync * Copyright (C) 2010-2012 Oracle Corporation
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync *
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * available from http://www.virtualbox.org. This file is free software;
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * you can redistribute it and/or modify it under the terms of the GNU
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * General Public License (GPL) as published by the Free Software
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync */
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync#include "VBox/com/string.h"
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsyncusing namespace com;
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync#define sSSMDisplayScreenshotVer 0x00010001
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync#define sSSMDisplayVer 0x00010001
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync#define sSSMDisplayVer2 0x00010002
95e1d48d8f545557b5acbab1a0b3882b3f343649vboxsync#define sSSMDisplayVer3 0x00010003
3357eeed76d19616f784af90f42755da2b54bc4dvboxsync#define sSSMDisplayVer4 0x00010004
8f2ab0bbc3c24aabc5f84a83f7293380c635cdfavboxsync#define sSSMDisplayVer5 0x00010005
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync
09e9d76da1662c2b9ae96525440ea47ea60663e4vboxsyncint readSavedGuestScreenInfo(const Utf8Str &strStateFilePath, uint32_t u32ScreenId,
09e9d76da1662c2b9ae96525440ea47ea60663e4vboxsync uint32_t *pu32OriginX, uint32_t *pu32OriginY,
09e9d76da1662c2b9ae96525440ea47ea60663e4vboxsync uint32_t *pu32Width, uint32_t *pu32Height, uint16_t *pu16Flags);
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsyncint readSavedDisplayScreenshot(const Utf8Str &strStateFilePath, uint32_t u32Type, uint8_t **ppu8Data, uint32_t *pcbData, uint32_t *pu32Width, uint32_t *pu32Height);
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsyncvoid freeSavedDisplayScreenshot(uint8_t *pu8Data);
4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3vboxsync