I got confused in the SetTimer () function.
SetTimer () takes three parameters:
SetTimer(1,2000,Timerflow);
However, I saw another version of SetTimer that takes four parameters:
SetTimer(NULL,1,2000,Timerflow);
What is the difference between these two functions?
I know SetTimer () Three parameters. But when I try to use the four SetTimer () parameters, I get an error:
error C2660: 'SetTimer' : function does not take 4 parameters
So what is the main difference and what causes this error?
adam
source share