www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15838] New: Many Win32 API callback functions miss

https://issues.dlang.org/show_bug.cgi?id=15838

          Issue ID: 15838
           Summary: Many Win32 API callback functions miss extern(Windows)
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: jiki red.email.ne.jp

2.070 druntime comes with rich core.sys.windows.* headers for Windows.

So, each of their functions should have an exact linkage type.
Otherwise the calls to them will cause runtime errors.

I found a number of the mismatch for (only) the callback functions,
and will send a PR for it.

--
Mar 27 2016