sowwy uwu
This commit is contained in:
parent
8b9e1a38cb
commit
d3ef419a85
1 changed files with 4 additions and 4 deletions
|
|
@ -262,7 +262,7 @@ uint64_t estimandoFreq(){
|
||||||
|
|
||||||
if(status != ERROR_SUCCESS) {
|
if(status != ERROR_SUCCESS) {
|
||||||
RegCloseKey(key);
|
RegCloseKey(key);
|
||||||
return -3
|
return -3;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CSTR_EQUAL == CompareStringEx(
|
if (CSTR_EQUAL == CompareStringEx(
|
||||||
|
|
@ -294,7 +294,7 @@ uint64_t estimandoFreq(){
|
||||||
LPDWORD PMHz = (LPDWORD)dataContent;
|
LPDWORD PMHz = (LPDWORD)dataContent;
|
||||||
DWORD MHz = *PMHz;
|
DWORD MHz = *PMHz;
|
||||||
free(dataContent);
|
free(dataContent);
|
||||||
RegCloseKey(key);
|
status = RegCloseKey(key);
|
||||||
return MHz * 1000000;
|
return MHz * 1000000;
|
||||||
//break;
|
//break;
|
||||||
}
|
}
|
||||||
|
|
@ -302,8 +302,8 @@ uint64_t estimandoFreq(){
|
||||||
|
|
||||||
}
|
}
|
||||||
if(status != ERROR_SUCCESS) {
|
if(status != ERROR_SUCCESS) {
|
||||||
RegCloseKey(key);
|
status = RegCloseKey(key);
|
||||||
return -4
|
return -4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue