status = ZwCreateFile(
OUT &handle,
IN GENERIC_ALL | FILE_APPEND_DATA | SYNCHRONIZE,
IN &objectAttributes,
OUT &ioStatusBlock,
IN NULL,
IN FILE_ATTRIBUTE_NORMAL,
IN FILE_SHARE_READ | FILE_SHARE_WRITE,
IN FILE_OPEN_IF,
IN FILE_SYNCHRONOUS_IO_NONALERT,
IN NULL,
IN 0);
调试信息如下:
ATTEMPTED_SWITCH_FROM_DPC (b8)
A wait operation, attach process, or yield was attempted from a DPC routine.
This is an illegal operation and the stack track will lead to the offending
code and original DPC routine.
Arguments:
Arg1: 00000000, Original thread which is the cause of the failure
Arg2: 00000000, New thread
Arg3: 00000000, Stack address of the original thread
Arg4: 00000000