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

Function KbWritePortByte

User-Bridge/API/User-Bridge.cpp:248–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 }
247
248 BOOL WINAPI KbWritePortByte(USHORT PortNumber, UCHAR Value)
249 {
250 KB_WRITE_PORT_IN Input = {};
251 Input.PortNumber = PortNumber;
252 Input.Granularity = sizeof(Value);
253 Input.Byte = Value;
254 return KbSendRequest(Ctls::KbWritePort, &Input, sizeof(Input));
255 }
256
257 BOOL WINAPI KbWritePortWord(USHORT PortNumber, USHORT Value)
258 {

Callers 1

Calls 1

KbSendRequestFunction · 0.85

Tested by

no test coverage detected