add @nogc to windows API
Merge pull request #777 from WalterBright/nogc-windows

add @nogc to windows API