sowwy uwu

This commit is contained in:
Hane 2023-07-21 22:43:12 +02:00
commit d3ef419a85

View file

@ -262,7 +262,7 @@ uint64_t estimandoFreq(){
if(status != ERROR_SUCCESS) {
RegCloseKey(key);
return -3
return -3;
}
if (CSTR_EQUAL == CompareStringEx(
@ -294,7 +294,7 @@ uint64_t estimandoFreq(){
LPDWORD PMHz = (LPDWORD)dataContent;
DWORD MHz = *PMHz;
free(dataContent);
RegCloseKey(key);
status = RegCloseKey(key);
return MHz * 1000000;
//break;
}
@ -302,8 +302,8 @@ uint64_t estimandoFreq(){
}
if(status != ERROR_SUCCESS) {
RegCloseKey(key);
return -4
status = RegCloseKey(key);
return -4;
}
}