A: 

If you have this line somewhere before the inclusion of <windows.h>

#define WIN32_LEAN_AND_MEAN 

Then comment it out.

Samuel_xL
thanks you solved my problem i just didn't read your whole answer
Ramiz Toma