Why does the following pure C kernel driver code bluescreen me: HANDLE hThread = NULL;…
- User
Why does the following pure C kernel driver code bluescreen me: HANDLE hThread = NULL; OBJECT_ATTRIBUTES objectAttributes; InitializeObjectAttributes(&objectAttributes, NULL, OBJ_KERNEL_HANDLE, NULL, NULL);
codeNTSTATUS statusDriverLoopThread = PsCreateSystemThread( &hThread, 0, &objectAttributes, NULL, NULL, (PKSTART_ROUTINE)DriverLoop, // C-style cast NULL );whereas calling the function directly via DriverLoop() does not? This is inside a a manual mapped driver
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.