VBoxVMInfoAdditions.cpp revision d65680efa46fa49e8bf14e67b29b782510ff934c
/* $Id$ */
/** @file
* VBoxVMInfoAdditions - Guest Additions information for the host.
*/
/*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* Sun Microsystems, Inc. confidential
* All rights reserved
*/
#include "VBoxService.h"
#include "VBoxUtils.h"
#include "VBoxVMInfo.h"
#include "VBoxVMInfoAdditions.h"
{
return 0;
int rc = 0;
rc = RegOpenKeyExA (HKEY_LOCAL_MACHINE, "SOFTWARE\\Sun\\xVM VirtualBox Guest Additions", 0, KEY_READ, &hKey);
{
return 1;
}
/* Installation directory. */
{
RegCloseKey (hKey);
return 1;
}
/* Flip slashes. */
if (*pszTmp == '\\')
*pszTmp = '/';
/* Revision. */
{
RegCloseKey (hKey);
return 1;
}
/* Version. */
{
RegCloseKey (hKey);
return 1;
}
/* Write information to host. */
RegCloseKey (hKey);
return 0;
}
{
return 0;
char szPropPath[_MAX_PATH] = {0};
/* The file information table. */
{
{
}
};
while (pTable->pszFileName)
{
pTable++;
}
return 0;
}
{
return 0;
}