| 757 | namespace Descriptors |
| 758 | { |
| 759 | BOOL WINAPI KbGetEprocess(ULONG ProcessId, OUT WdkTypes::PEPROCESS* Process) |
| 760 | { |
| 761 | if (!Process) return FALSE; |
| 762 | KB_GET_EPROCESS_IN Input = {}; |
| 763 | KB_GET_EPROCESS_OUT Output = {}; |
| 764 | Input.ProcessId = ProcessId; |
| 765 | BOOL Status = KbSendRequest(Ctls::KbGetEprocess, &Input, sizeof(Input), &Output, sizeof(Output)); |
| 766 | *Process = Output.Process; |
| 767 | return Status; |
| 768 | } |
| 769 | |
| 770 | BOOL WINAPI KbGetEthread(ULONG ThreadId, OUT WdkTypes::PETHREAD* Thread) |
| 771 | { |
nothing calls this directly
no test coverage detected