/*************************************************** ZwWaitForSingleObject ZwWaitForSingleObject waits for an object to become signaled. ***************************************************/ NTSYSAPI NTSTATUS NTAPI ZwWaitForSingleObject( IN HANDLE Handle, IN BOOLEAN Alertable, IN PLARGE_INTEGER Timeout OPTIONAL ); /***************************************************** Timeout Optionally points to a value that specifies the absolute or relative time at which the wait is to be timed out. A negative value specifies an interval relative to the current time.The value is expressed in units of 100 nanoseconds. Absolute times track any changes in the system time; relative times are not affected by system time changes. If Timeout is a null pointer, the wait will not timeout. *****************************************************/ 注意:Timeout 使用100纳秒(nanosecond)作为单位 /*********************************************** 1秒=1000毫秒(ms) 1毫秒=1/1,000秒(s) 1秒=1,000,000 微秒(μs) 1微秒=1/1,000,000秒(s) 1秒=1,000,000,000 纳秒(ns) 1纳秒=1/1,000,000,000秒(s) 1秒=1,000,000,000,000 皮秒(ps) 1皮秒=1/1,000,000,000,000秒(s) ***********************************************/