MCPcopy Create free account
hub / github.com/Spuckwaffel/Kernel-Thread-Driver / Await_Approval

Function Await_Approval

UM/Driver.h:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26bool Await_Approval() {
27 while (STATUS_CODE == 4 || STATUS_CODE == 5 || STATUS_CODE == 6) {
28 Sleep(0);
29 }
30 if (STATUS_CODE == 1) { //success
31 return true;
32 }
33 if (STATUS_CODE == 2) { //error
34 return false;
35 }
36}
37
38void Disconnect() {
39 std::cout << "disconnecting..." << std::endl;

Callers 3

ReadFunction · 0.85
initTargetFunction · 0.85
GetBaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected