看到有这样一句void CALLBACK TimerProc (HWND hwnd, UINT message, UINT iTimerID, DWORD dwTime)
CALLBACK是什么呢?函数吗?怎么函数名后面还有TimerProc,我不明白void CALLBACK TimerProc 到底是什么意思?怎么有两个函数名?
CALLBACK是什么呢?函数吗?怎么函数名后面还有TimerProc,我不明白void CALLBACK TimerProc 到底是什么意思?怎么有两个函数名?
另外 CALLBACK还起到了说明这个函数是回调函数的作用
void:函数返回值
CALLBACK:__stdcall,这个宏定义说明他是作为回调函数
TimerProc:函数名