VBoxMPRegistry.cpp revision cdc96d35638069033427e653d010afd7442a60cf
/* $Id$ */
/** @file
* VBox WDDM Miniport registry related functions
*/
/*
* Copyright (C) 2011 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 "common/VBoxMPCommon.h"
{
if (Status == STATUS_SUCCESS)
{
if(Status == STATUS_SUCCESS)
return NO_ERROR;
}
/* fall-back to make the subsequent VBoxVideoCmnRegXxx calls treat the fail accordingly
* basically needed to make as less modifications to the current XPDM code as possible */
return ERROR_INVALID_PARAMETER;
}
{
if (!Reg)
{
return ERROR_INVALID_PARAMETER;
}
}
{
/* seems like the new code assumes the Reg functions zeroes up the value on failure */
*pVal = 0;
if (!Reg)
{
return ERROR_INVALID_PARAMETER;
}
}
{
if (!Reg)
{
return ERROR_INVALID_PARAMETER;
}
}