On 4/25/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote: > This works well I think: > struct HWND { } I'll eat my own words. It needs more work than that. E.g. this has to work: const HANDLE INVALID_HANDLE_VALUE = cast(HANDLE) (-1);