MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / KbReadPortByteString

Function KbReadPortByteString

User-Bridge/API/User-Bridge.cpp:221–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220
221 BOOL WINAPI KbReadPortByteString(USHORT PortNumber, ULONG Count, OUT PUCHAR ByteString, ULONG ByteStringSizeInBytes)
222 {
223 if (!Count || !ByteString || !ByteStringSizeInBytes) return FALSE;
224 KB_READ_PORT_STRING_IN Input = {};
225 auto Output = reinterpret_cast<PKB_READ_PORT_STRING_OUT>(ByteString);
226 Input.PortNumber = PortNumber;
227 return KbSendRequest(Ctls::KbReadPortString, &Input, sizeof(Input), Output, ByteStringSizeInBytes);
228 }
229
230 BOOL WINAPI KbReadPortWordString(USHORT PortNumber, ULONG Count, OUT PUSHORT WordString, ULONG WordStringSizeInBytes)
231 {

Callers

nothing calls this directly

Calls 1

KbSendRequestFunction · 0.85

Tested by

no test coverage detected