On Thursday, 23 January 2014 at 17:22:55 UTC, AntonSotov wrote:
alias int function (void*, long) WNDENUMPROC; extern (Windows) int EnumWindows(WNDENUMPROC, long);
These shouldn't be longs. You could call them LPARAM (import core.sys.windows.windows) or int.
A "long" in C is actually an "int" in D. D's "long" is more like C's "long long".
