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

Function KbSetInformationProcess

User-Bridge/API/User-Bridge.cpp:883–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881 }
882
883 BOOL WINAPI KbSetInformationProcess(
884 WdkTypes::HANDLE hProcess,
885 NtTypes::PROCESSINFOCLASS ProcessInfoClass,
886 IN PVOID Buffer,
887 ULONG Size
888 ) {
889 KB_SET_INFORMATION_PROCESS_THREAD_IN Input = {};
890 Input.Handle = hProcess;
891 Input.Buffer = reinterpret_cast<WdkTypes::PVOID>(Buffer);
892 Input.InfoClass = static_cast<ULONG>(ProcessInfoClass);
893 Input.Size = Size;
894 return KbSendRequest(Ctls::KbSetInformationProcess, &Input, sizeof(Input));
895 }
896
897 BOOL WINAPI KbQueryInformationThread(
898 WdkTypes::HANDLE hThread,

Callers

nothing calls this directly

Calls 1

KbSendRequestFunction · 0.85

Tested by

no test coverage detected