Ignore:
Timestamp:
Jan 18, 2012, 11:30:59 AM (14 years ago)
Author:
dmik
Message:

Add DEF_VAL macro to define argument's default values.

This is necessary to use functions with default values in C code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/wprocess.h

    r21916 r21941  
    4040// Set up the TEB structure of the CURRENT (!) thread
    4141//******************************************************************************
    42 BOOL   WIN32API InitializeThread(TEB *teb, BOOL fMainThread = FALSE);
     42BOOL   WIN32API InitializeThread(TEB *teb, BOOL fMainThread DEF_VAL(FALSE));
    4343
    4444void   WIN32API DestroyTEB(TEB *teb);
     
    5151//NOTE: This is not done for Odin32 applications (LX), unless
    5252//      fForceSwitch is TRUE)
    53 USHORT WIN32API SetWin32TIB(BOOL fForceSwitch = TIB_SWITCH_DEFAULT);
     53USHORT WIN32API SetWin32TIB(BOOL fForceSwitch DEF_VAL(TIB_SWITCH_DEFAULT));
    5454void   WIN32API RestoreOS2TIB();
    5555
Note: See TracChangeset for help on using the changeset viewer.