Changeset 21598 for trunk/include


Ignore:
Timestamp:
Mar 23, 2011, 5:49:23 PM (14 years ago)
Author:
dmik
Message:

win32type.h: Fixed a couple of declarations incompatible with C mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win32type.h

    r21454 r21598  
    183183
    184184// boolean
    185 typedef unsigned long   BOOL32;
    186 typedef unsigned short  BOOL16;
    187 
     185typedef unsigned short  BOOL16_W;
    188186#ifdef __FORCE_BOOL_AS_INT__
    189 typedef int             BOOL;
     187typedef int             BOOL_W;
    190188#else
    191 typedef unsigned long   BOOL;
    192 #endif
    193 
     189typedef unsigned long   BOOL_W;
     190#endif
    194191
    195192#ifndef FALSE
     
    564561 *****************************************************************************/
    565562
    566 //PH: Warning -- OS/2  has BOOL == unsigned long,
    567 //               Win32 has BOOL == int.
    568 typedef int             BOOL32_W;
    569 typedef int             BOOL_W;
    570 
    571 
    572 
    573 
    574 
    575 
    576 
    577563//@@@PH -----------------------------------------------------------------------
    578564#if 0
     
    623609} OVERLAPPED, *LPOVERLAPPED;
    624610
    625 typedef VOID (WIN32API *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD dwErrorCode,
    626                                                          DWORD dwNumberOfBytesTransfered,
    627                                                          LPOVERLAPPED lpOverlapped);
     611typedef VOID (* WIN32API LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD dwErrorCode,
     612                                                          DWORD dwNumberOfBytesTransfered,
     613                                                          LPOVERLAPPED lpOverlapped);
    628614
    629615#endif
     
    13261312
    13271313
    1328 typedef VOID (CALLBACK *TIMERPROC)(HWND hwnd, UINT msg, UINT id, DWORD dwTime);
     1314typedef VOID (* CALLBACK TIMERPROC)(HWND hwnd, UINT msg, UINT id, DWORD dwTime);
    13291315
    13301316typedef struct
Note: See TracChangeset for help on using the changeset viewer.