#318 winbase.h and ULONG_PTR

Patch_committed
closed-fixed
Danny Smith
w32api (251)
2007-01-28
2007-01-03
Gisle Vanem
No

<winbase.h> have some troublesome use of 'DWORD' where
it should have been 'ULONG_PTR'. E.g.:

WINBASEAPI DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,DWORD);

is defined in MSDN [*] as taking a ULONG_PTR in the last argument.

[*] http://msdn2.microsoft.com/en-us/library/ms684954.aspx

Note: I checked every patched line against the MSDN documentation (no looking at VC's headers where done).

Discussion

  • Gisle Vanem
    Gisle Vanem
    2007-01-03

    MingW's <winbase.h>

     
    Attachments
  • Danny Smith
    Danny Smith
    2007-01-28

    Logged In: YES
    user_id=11494
    Originator: NO

    Thanks
    Committed to CVS
    Danny

     
  • Danny Smith
    Danny Smith
    2007-01-28

    • assigned_to: nobody --> dannysmith
    • status: open --> closed-fixed