WinAPI grossly lacking in core.c.windows.windows

Jonathan M Davis jmdavisProg at gmx.com
Sat May 12 11:43:11 PDT 2012


On Saturday, May 12, 2012 22:28:12 Gor Gyolchanyan wrote:
> There is a very good binding of WinAPI in dsource.org in bindings project.
> It's aim is to precisely replicate the WinAPI's headers.
> What are the requirements of the druntime WinAPI? What needs to be done to
> get the existing binding into druntime?

What kind of requirements are you worried about? We want all of the Win32 API 
bindings in druntime in an organized manner (my first guess would be according 
to the dll or header that they come from in C, but I don't know how the 
bindings project does it or necessarily what the best way is). I don't believe 
that what's currently in druntime is necessarily organized properly (I don't 
think that where new declarations go has been all that organized), so some 
stuff will likely have to be moved around when the WinAPI bindings are merged 
in (with the appropriate deprecation path used for any declarations that must 
be moved). But really, it's just a question of someone taking the time and 
making the effort to merge the WinAPI bindings into druntime and creating a 
pull request for it.

- Jonathan M Davis


More information about the Digitalmars-d mailing list