I'm using LockSetForegroundWindow so that I can use SetForegroundWindow in my program.
When I make the call to LockSetForegroundWindow(LSFW_UNLOCK) in WinMain after creating my window, the compiler tells me C:\ (...) error: `LSFW_UNLOCK' undeclared (first use this function)| and C:\ (...) error: `LockSetForegroundWindow' undeclared (first use this function). I included windows.h at the top of the program.
This happens in Dev-C++ and Code::Blocks. I already tried reinstalling MinGW.