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

Function KbReadPortDwordString

User-Bridge/API/User-Bridge.cpp:239–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 }
238
239 BOOL WINAPI KbReadPortDwordString(USHORT PortNumber, ULONG Count, OUT PULONG DwordString, ULONG DwordStringSizeInBytes)
240 {
241 if (!Count || !DwordString || !DwordStringSizeInBytes) return FALSE;
242 KB_READ_PORT_STRING_IN Input = {};
243 auto Output = reinterpret_cast<PKB_READ_PORT_STRING_OUT>(DwordString);
244 Input.PortNumber = PortNumber;
245 return KbSendRequest(Ctls::KbReadPortString, &Input, sizeof(Input), Output, DwordStringSizeInBytes);
246 }
247
248 BOOL WINAPI KbWritePortByte(USHORT PortNumber, UCHAR Value)
249 {

Callers

nothing calls this directly

Calls 1

KbSendRequestFunction · 0.85

Tested by

no test coverage detected