Or you could just use a compiler and IDE that fully support DirectX and nearly everything else that is Windows-based.
Why people constantly fight with their compilers to do A or B is beyond me.
I don't need the PDF because I'm not using MinGW or anything else like Code::Blocks or many of the other IDEs that are the endless source of 'I can't get this or that to work in my compiler' posts.
To the new people interested in doing Windows game projects, please do yourself a favor and use a well-supported well-documented compiler.