Changeset 21389 for trunk/include


Ignore:
Timestamp:
Jul 14, 2010, 12:39:55 AM (15 years ago)
Author:
dmik
Message:

ULONG_PTR and friends are integer types rather than pointers to integer.

Location:
trunk/include/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/commctrl.h

    r10534 r21389  
    674674/* Subclassing stuff */
    675675#ifdef __WIN32OS2__
    676 typedef LRESULT (* CALLBACK SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD);
     676typedef LRESULT (* CALLBACK SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD_PTR);
    677677#else
    678678typedef LRESULT (CALLBACK *SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD_PTR);
  • trunk/include/win/windef.h

    r21378 r21389  
    226226#ifndef INT_PTR_D
    227227#define INT_PTR_D
    228 typedef INT *           INT_PTR;
     228typedef int             INT_PTR, *PINT_PTR;
    229229#endif
    230230typedef unsigned int    UINT;
     
    232232#ifndef UINT_PTR_D
    233233#define UINT_PTR_D
    234 typedef UINT *          UINT_PTR;
     234typedef unsigned int    UINT_PTR, *PUINT_PTR;
    235235#endif
    236236typedef unsigned short  WORD;
     
    238238#ifndef DWORD_PTR_D
    239239#define DWORD_PTR_D
    240 typedef unsigned long * DWORD_PTR, *PDWORD_PTR;
     240typedef unsigned long   DWORD_PTR, *PDWORD_PTR;
    241241#endif
    242242typedef unsigned long   ULONG;
Note: See TracChangeset for help on using the changeset viewer.