Did you try including <windows.h> as two of my Google results suggested.

Tim S.