VBoxCommon.cpp revision 6eb6d0439d67fd4833f1d058b63bc9a56277b0b2
/* $Id$ */
/** @file
* VBoxCommon - Misc helper routines for install helper.
*/
/*
* Copyright (C) 2008-2010 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.
*/
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <msi.h>
#include <msiquery.h>
{
int ret;
return ret;
}
#endif
{
if (ERROR_MORE_DATA == uiRet)
{
++dwBuffer; /* On output does not include terminating null, so add 1. */
return ERROR_MORE_DATA;
}
return uiRet;
}
{
}