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

Function KbReadPortWordString

User-Bridge/API/User-Bridge.cpp:230–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 }
229
230 BOOL WINAPI KbReadPortWordString(USHORT PortNumber, ULONG Count, OUT PUSHORT WordString, ULONG WordStringSizeInBytes)
231 {
232 if (!Count || !WordString || !WordStringSizeInBytes) return FALSE;
233 KB_READ_PORT_STRING_IN Input = {};
234 auto Output = reinterpret_cast<PKB_READ_PORT_STRING_OUT>(WordString);
235 Input.PortNumber = PortNumber;
236 return KbSendRequest(Ctls::KbReadPortString, &Input, sizeof(Input), Output, WordStringSizeInBytes);
237 }
238
239 BOOL WINAPI KbReadPortDwordString(USHORT PortNumber, ULONG Count, OUT PULONG DwordString, ULONG DwordStringSizeInBytes)
240 {

Callers

nothing calls this directly

Calls 1

KbSendRequestFunction · 0.85

Tested by

no test coverage detected