VirtualBox

source: vbox/trunk/src/VBox/Installer/win/InstallHelper/VBoxCommon.h@ 32020

Last change on this file since 32020 was 31857, checked in by vboxsync, 15 years ago

VBoxInstallerHelper/win: Move _stprintf_s to common code base.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 KB
Line 
1/* $Id: */
2/** @file
3* VBoxCommon - Misc helper routines for install helper.
4*/
5
6/*
7 * Copyright (C) 2006-2010 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef __VBoxInstallHelper_Common_h__
19#define __VBoxInstallHelper_Common_h__
20
21#if (_MSC_VER < 1400) /* Provide _stprintf_s to VC < 8.0. */
22int _stprintf_s(TCHAR *buffer, size_t cbBuffer, const TCHAR *format, ...);
23#endif
24
25UINT VBoxGetProperty(MSIHANDLE a_hModule, TCHAR* a_pszName, TCHAR* a_pValue, DWORD a_dwSize);
26UINT VBoxSetProperty(MSIHANDLE a_hModule, TCHAR* a_pszName, TCHAR* a_pValue);
27
28#endif /* __VBoxInstallHelper_Common_h__ */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette