VBoxServiceUtils.h revision b0b8c85eb454e2a7ad926bbefda6d908932291e3
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync/* $Id$ */
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync/** @file
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * VBoxServiceUtils - Guest Additions Services (Utilities).
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync */
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync/*
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * Copyright (C) 2009 Sun Microsystems, Inc.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync *
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * available from http://www.virtualbox.org. This file is free software;
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * you can redistribute it and/or modify it under the terms of the GNU
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * General Public License (GPL) as published by the Free Software
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync *
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync * additional information or have any questions.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync */
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#ifndef ___VBoxServiceUtils_h
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#define ___VBoxServiceUtils_h
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#include "VBoxServiceInternal.h"
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#ifdef VBOX_WITH_GUEST_PROPS
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncint VboxServiceWritePropInt(uint32_t uiClientID, const char *pszKey, int iValue);
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncint VboxServiceWriteProp(uint32_t uiClientID, const char *pszKey, const char *pszValue);
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#endif
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#ifdef RT_OS_WINDOWS
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync/** Gets a pre-formatted version string from the VS_FIXEDFILEINFO table. */
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncBOOL VboxServiceGetFileVersionString(LPCWSTR pszPath, LPCWSTR pszFileName, char* pszVersion, UINT uiSize);
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#endif
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync#endif
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync