Specifies the outcome of the function. The value is nonzero if the event was killed. It is 0 if the KillTimer member function could not find the specified timer event.
Specifies the outcome of the function. The value is nonzero if the event was killed. It is 0 if the KillTimer member function could not find the specified timer event.
不会有异常,通过返回值来识别是否正确。
if (!KillTimer(1))
MessageBox("Failed!");