首页
社区
课程
招聘
[旧帖] [求助]问问这个函数怎么用! 0.00雪花
发表于: 2011-12-17 17:57 4300

[旧帖] [求助]问问这个函数怎么用! 0.00雪花

2011-12-17 17:57
4300
NtSetTimer(
  IN  HANDLE TimerHandle
  IN  PLARGE_INTEGER DueTime
  IN  PTIMER_APC_ROUTINE TimerApcRoutine OPTIONAL
  IN  PVOID TimerContext OPTIONAL
  IN  BOOLEAN WakeTimer
  IN  LONG Period OPTIONAL
  OUT PBOOLEAN PreviousState OPTIONAL
  );

有例子就好了!

[课程]FART 脱壳王!加量不加价!FART作者讲授!

收藏
免费 0
支持
分享
最新回复 (4)
雪    币: 622
活跃值: (294)
能力值: ( LV13,RANK:410 )
在线值:
发帖
回帖
粉丝
2
ZwSetTimer
ZwSetTimer sets properties of and activates a timer.
NTSYSAPI
NTSTATUS
NTAPI
ZwSetTimer(
IN HANDLE TimerHandle,
IN PLARGE_INTEGER DueTime,
IN PTIMER_APC_ROUTINE TimerApcRoutine OPTIONAL,
IN PVOID TimerContext,
IN BOOLEAN Resume,
IN LONG Period,
OUT PBOOLEAN PreviousState OPTIONAL
);
Parameters
TimerHandle
A handle to a timer object.The handle must grant TIMER_MODIFY_STATE access.
DueTime
Points to a value that specifies the absolute or relative time at which the timer is to be
signaled. 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.
TimerApcRoutine
Specifies an optional timer APC routine.The timer APC routine has the following
prototype:
VOID (APIENTRY *PTIMER_APC_ROUTINE)(PVOID TimerContext,
ULONG TimerLowValue,
ULONG TimerHighValue);
TimerContext
A void pointer that will be passed as argument to the timer APC routine.
Resume
Specifies whether to restore a system in suspended power conservation mode when
the timer state is set to signaled.
Period
The period of the timer, in milliseconds. If Period is zero, the timer is signaled once. If
Period is greater than zero, the timer is periodic.
PreviousState
Optionally points to a variable that receives the signal state of the timer.A value of
true means that the timer is signaled.
1996 CH09 11.24.99 09:55 Page 213
214 Synchronization: ZwSetTimer
Return Value
Returns STATUS_SUCCESS, STATUS_TIMER_RESUME_IGNORED or an error status, such as
STATUS_ACCESS_DENIED or STATUS_INVALID_HANDLE.
Related Win32 Functions
SetWaitableTimer.
Remarks
SetWaitableTimer exposes most of the functionality of ZwSetTimer.
2011-12-17 18:30
0
雪    币: 615
活跃值: (530)
能力值: ( LV4,RANK:40 )
在线值:
发帖
回帖
粉丝
3
要什么水准才能看懂二楼的阿拉伯文(msdn),要几级??学多久??
2011-12-17 20:26
0
雪    币: 230
活跃值: (15)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
.....有中文的吗!
2011-12-18 13:32
0
雪    币: 89
活跃值: (31)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
拜托。。。。这是日文好不好还阿拉伯文那。没学问真可怕
2011-12-21 13:52
0
游客
登录 | 注册 方可回帖
返回
//