Suspend vs Executive in Second Param to KeWaitForSingleObject

Hey Folks,

I was looking at the usbbulk example in the DDK, and noticed the
following line

waitStatus = KeWaitForSingleObject(
&startDeviceEvent,
Suspended,
KernelMode,
FALSE,
NULL);

What does the Suspended Flag do in this call. I looked up its definition
in the DDK, and did not find a reference. What I did find, was in the
man page for KeWaitForSingleObject, says you should use either Executive
or UserRequest. No mention of Suspended, or any of the other defines
(Which there are many) for this type that are in wdm.h.

Later

-Chris

> What does the Suspended Flag do in this call. I looked up its definition

WaitReason value. Used for some utilities which provide debug printing only.
IIRC does not have any functionality except influencing this output.
Executive is the most common value for it.

Max