On Sunday, May 13, 2012 11:19:12 Paulo Pinto wrote: > Am 12.05.2012 20:26, schrieb Walter Bright: > > On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote: > >> What are the plans to finish the WinAPI in druntime? It's grossly > >> lacking at the moment. > > > > Pull requests for improvements are welcome! > > Is core.sys.windows.windows the right module for it? > > Somehow I would expect for the code to live in phobos std.windows module.
No. The C OS function declarations go in druntime. The same goes for all of the POSIX functions as well as any other system functions specific to Linux, Mac OS X, or FreeBSD. Any Windows stuff in Phobos which uses Windows OS functions should be wrappping OS functions rather than simply being declarations for them. - Jonathan M Davis
