VBoxCommon.cpp revision b0e88382fa6cab5a202902e8e3fbbd8a7ce5e4ed
/* $Id$ */
/** @file
* VBoxCommon - Misc helper routines for install helper.
*/
/*
* Copyright (C) 2008-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <msi.h>
#include <msiquery.h>
{
int ret;
return ret;
}
#endif
{
if (uiRet == ERROR_MORE_DATA)
{
++dwBuffer; /* On output does not include terminating null, so add 1. */
return ERROR_MORE_DATA;
}
return uiRet;
}
{
}