I don't think I've ever successfully linked a library before. I'm using the Code::Blocks IDE and I have installed the Windows SDK. I've tried going to
Settings -> Compiler & Debugger settings -> search directories tab
and adding "...\Microsoft SDKs\Windows\v7.0\Include", but when I try and compile a simple source code including <Windows.h> for example, I get a whole heap of errors.