CancelWaitableTimer |
VB聲明 |
|
Declare Function CancelWaitableTimer Lib "kernel32" (ByVal hTimer As Long) |
|
說(shuō)明 |
|
這個(gè)函數(shù)用于取消一個(gè)可以等待下去的計(jì)時(shí)器操作。計(jì)時(shí)器保持它當(dāng)前的狀態(tài),而且除非用SetWaitableTimer函數(shù)明確啟動(dòng),否則它不會(huì)重新啟動(dòng) |
|
返回值 |
|
Long,非零表示成功,零表示失敗。會(huì)設(shè)置GetLastError |
|
參數(shù)表 |
|
參數(shù) |
類型及說(shuō)明 |
hTimer |
Long,可等待計(jì)時(shí)器的句柄 |
適用平臺(tái) |
|
Windows NT |
Top |