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