e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsync/* $Id$ */
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync/** @file
3184fc1a3e65025cd55704cdb1629f4ab1f3ccd2vboxsync * VBoxCommon - Misc helper routines for install helper.
3184fc1a3e65025cd55704cdb1629f4ab1f3ccd2vboxsync */
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync/*
b0e88382fa6cab5a202902e8e3fbbd8a7ce5e4edvboxsync * Copyright (C) 2008-2012 Oracle Corporation
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync *
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * available from http://www.virtualbox.org. This file is free software;
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * you can redistribute it and/or modify it under the terms of the GNU
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * General Public License (GPL) as published by the Free Software
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync */
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync
e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsync#ifndef ___VBoxInstallHelper_Common_h
e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsync#define ___VBoxInstallHelper_Common_h
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync
667f741ffdced56a2059511ce99372ebdd62a115vboxsync#if (_MSC_VER < 1400) /* Provide _stprintf_s to VC < 8.0. */
10330aa61b0abd8a82e3dd9fb2ad064ec64ac900vboxsyncint swprintf_s(WCHAR *buffer, size_t cbBuffer, const WCHAR *format, ...);
667f741ffdced56a2059511ce99372ebdd62a115vboxsync#endif
667f741ffdced56a2059511ce99372ebdd62a115vboxsync
10330aa61b0abd8a82e3dd9fb2ad064ec64ac900vboxsyncUINT VBoxGetProperty(MSIHANDLE a_hModule, WCHAR *a_pwszName, WCHAR *a_pwszValue, DWORD a_dwSize);
10330aa61b0abd8a82e3dd9fb2ad064ec64ac900vboxsyncUINT VBoxSetProperty(MSIHANDLE a_hModule, WCHAR *a_pwszName, WCHAR *a_pwszValue);
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync
e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsync#endif /* !___VBoxInstallHelper_Common_h */
3184fc1a3e65025cd55704cdb1629f4ab1f3ccd2vboxsync