VBoxComEvents.cpp revision 939774a6cffc83ff3407a4678b56df359df8db28
/** @file
*
* COM Events Helper routines.
*/
/*
* Copyright (C) 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 "VBoxComEvents.h"
// for IIDs
#include "VirtualBoxImpl.h"
{
}
{
}
{
int i;
hr = ::LoadRegTypeLib(LIBID_VirtualBox, kTypeLibraryMajorVersion, kTypeLibraryMinorVersion, LOCALE_SYSTEM_DEFAULT, &ptlib);
return hr;
return hr;
return hr;
for (i=0; i<cFuncs; i++)
{
break;
break;
/* We only allow firing event callbacks */
{
}
}
return hr;
}
{
{
return S_OK;
}
else
{
*did = 0;
return VBOX_E_OBJECT_NOT_FOUND;
}
}
{
return hr;
return hr;
}