VBoxCommon.h revision 3184fc1a3e65025cd55704cdb1629f4ab1f3ccd2
e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsync/* $Id$ */
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync/** @file
3184fc1a3e65025cd55704cdb1629f4ab1f3ccd2vboxsync * VBoxCommon - Misc helper routines for install helper.
3184fc1a3e65025cd55704cdb1629f4ab1f3ccd2vboxsync */
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync/*
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync * Copyright (C) 2006-2010 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. */
667f741ffdced56a2059511ce99372ebdd62a115vboxsyncint _stprintf_s(TCHAR *buffer, size_t cbBuffer, const TCHAR *format, ...);
667f741ffdced56a2059511ce99372ebdd62a115vboxsync#endif
667f741ffdced56a2059511ce99372ebdd62a115vboxsync
e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsyncUINT VBoxGetProperty(MSIHANDLE a_hModule, TCHAR *a_pszName, TCHAR *a_pValue, DWORD a_dwSize);
e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsyncUINT VBoxSetProperty(MSIHANDLE a_hModule, TCHAR *a_pszName, TCHAR *a_pValue);
18470279db8a9fdd714617adbe1aa8b63cc80aeevboxsync
e29d9e7eb32ae73d5ad265ea1a10961ec7ab327bvboxsync#endif /* !___VBoxInstallHelper_Common_h */
3184fc1a3e65025cd55704cdb1629f4ab1f3ccd2vboxsync