VBoxMMR.cpp revision 71955773a7f477f9a159a491f765ba97e1f00e1a
/* $Id$ */
/** @file
* VBoxMMR - Multimedia Redirection
*/
/*
* Copyright (C) 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.
*/
#include "VBoxTray.h"
#include "VBoxMMR.h"
struct VBOXMMRCONTEXT
{
};
static VBOXMMRCONTEXT gCtx = {0};
static const char *g_pszMMRDLL = "VBoxMMRHook";
static const char *g_pszMMRPROC = "CBTProc";
{
{
}
{
}
}
int VBoxMMRInit(
const VBOXSERVICEENV *pEnv,
void **ppInstance,
bool *pfStartThread)
{
LogRel2(("VBoxMMR: Initializing\n"));
if (RT_SUCCESS(rc))
{
if (pHook)
{
{
*ppInstance = &gCtx;
return VINF_SUCCESS;
}
}
else
{
LogRel2(("VBoxMMR: Hooking proc not found\n"));
rc = VERR_NOT_FOUND;
}
}
else
return rc;
}
{
}
{
return 0;
}