Ignore:
Timestamp:
Aug 22, 2014, 1:27:49 PM (11 years ago)
Author:
rousseau
Message:

Added definitions for 'in', 'out' and friends

In Windows PSDK these are in 'specstrings.h'.
In Wine these are in 'imagehlp.h' and 'dbghelp.h'.
While 'imagehlp.h' exists in Odin32, it is not included by default,
so we'll put these in 'windef.h' for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/include/win/windef.h

    r21968 r22078  
    2626
    2727#include <basetsd.h>
     28
     29///-------------------------------------------------------------------[swt-os2]
     30/// In Windows PSDK these are in 'specstrings.h'.
     31/// In Wine these are in 'imagehlp.h' and 'dbghelp.h'.
     32/// While 'imagehlp.h' exists in Odin32, it is not included by default.
     33/// So, we'll put these here for now.
     34/* A set of documentation macros (see also dbghelp.h) */
     35#ifndef __deref_out
     36# define __deref_out
     37#endif
     38#ifndef __deref_out_opt
     39# define __deref_out_opt
     40#endif
     41#ifndef __deref_opt_out
     42# define __deref_opt_out
     43#endif
     44#ifndef __in
     45# define __in
     46#endif
     47#ifndef __in_opt
     48# define __in_opt
     49#endif
     50#ifndef __in_bcount
     51# define __in_bcount(x)
     52#endif
     53#ifndef __in_bcount_opt
     54# define __in_bcount_opt(x)
     55#endif
     56#ifndef __in_ecount
     57# define __in_ecount(x)
     58#endif
     59#ifndef __inout
     60# define __inout
     61#endif
     62#ifndef __inout_opt
     63# define __inout_opt
     64#endif
     65#ifndef __inout_bcount
     66# define __inout_bcount(x)
     67#endif
     68#ifndef __inout_ecount
     69# define __inout_ecount(x)
     70#endif
     71#ifndef __out
     72# define __out
     73#endif
     74#ifndef __out_opt
     75# define __out_opt
     76#endif
     77#ifndef __out_bcount
     78# define __out_bcount(x)
     79#endif
     80#ifndef __out_bcount_opt
     81# define __out_bcount_opt(x)
     82#endif
     83#ifndef __out_ecount
     84# define __out_ecount(x)
     85#endif
     86#ifndef __out_ecount_opt
     87# define __out_ecount_opt(x)
     88#endif
     89#ifndef __out_xcount
     90# define __out_xcount(x)
     91#endif
     92///----------------------------------------------------------------------------
    2893
    2994#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.