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

Function Read

UM/Driver.h:48–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47template<class T>
48T Read(uint64_t read_address) {
49 readd Data;
50 T response = { };
51 Data.output = (ULONG64)&response;
52
53 Data.address = read_address;
54
55 Data.size = sizeof(response);
56
57 STRUCT_OFFSET_ADDRESS = &Data;
58 STATUS_CODE = 4;
59 if (Await_Approval()) {
60 return response;
61 }
62 return response;
63}
64
65
66void Connect() {

Callers

nothing calls this directly

Calls 1

Await_ApprovalFunction · 0.85

Tested by

no test coverage detected