mirror of
https://github.com/a0rtega/pafish
synced 2024-11-28 17:03:16 +03:00
Removing Copy and Paste artifacts
This commit is contained in:
parent
7dd7563aee
commit
144e204c65
@ -20,8 +20,6 @@ void ToUpper(unsigned char* Pstr) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int vbox_reg_key1() {
|
int vbox_reg_key1() {
|
||||||
HKEY regkey;
|
HKEY regkey;
|
||||||
LONG retu;
|
LONG retu;
|
||||||
@ -134,10 +132,7 @@ int vbox_reg_key5() {
|
|||||||
HKEY regkey;
|
HKEY regkey;
|
||||||
LONG retu;
|
LONG retu;
|
||||||
char value[1024];
|
char value[1024];
|
||||||
int i;
|
|
||||||
DWORD size;
|
|
||||||
|
|
||||||
size = sizeof(value);
|
|
||||||
retu = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\ACPI\\DSDT\\VBOX__", 0, KEY_READ, ®key);
|
retu = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\ACPI\\DSDT\\VBOX__", 0, KEY_READ, ®key);
|
||||||
if (retu == ERROR_SUCCESS) {
|
if (retu == ERROR_SUCCESS) {
|
||||||
return 0;
|
return 0;
|
||||||
@ -248,11 +243,7 @@ int vbox_reg_key6() {
|
|||||||
int vbox_reg_key7() {
|
int vbox_reg_key7() {
|
||||||
HKEY regkey;
|
HKEY regkey;
|
||||||
LONG retu;
|
LONG retu;
|
||||||
char value[1024];
|
|
||||||
int i;
|
|
||||||
DWORD size;
|
|
||||||
|
|
||||||
size = sizeof(value);
|
|
||||||
retu = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\ACPI\\FADT\\VBOX__", 0, KEY_READ, ®key);
|
retu = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\ACPI\\FADT\\VBOX__", 0, KEY_READ, ®key);
|
||||||
if (retu == ERROR_SUCCESS) {
|
if (retu == ERROR_SUCCESS) {
|
||||||
return 0;
|
return 0;
|
||||||
@ -268,11 +259,7 @@ int vbox_reg_key7() {
|
|||||||
int vbox_reg_key8() {
|
int vbox_reg_key8() {
|
||||||
HKEY regkey;
|
HKEY regkey;
|
||||||
LONG retu;
|
LONG retu;
|
||||||
char value[1024];
|
|
||||||
int i;
|
|
||||||
DWORD size;
|
|
||||||
|
|
||||||
size = sizeof(value);
|
|
||||||
retu = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\ACPI\\RSDT\\VBOX__", 0, KEY_READ, ®key);
|
retu = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\ACPI\\RSDT\\VBOX__", 0, KEY_READ, ®key);
|
||||||
if (retu == ERROR_SUCCESS) {
|
if (retu == ERROR_SUCCESS) {
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user