Try compiling with 64bit. If it works, its just the import libs not containing the symbol.
dmd main.d -ofconsole-app.exe -debug -unittest -wi -m64 That's what I'm getting now:console-app.obj : error LNK2019: unresolved external symbol ChoosePixelFormat referenced in function _Dmain
console-app.exe : fatal error LNK1120: 1 unresolved externals