Changeset 2982 for trunk/include


Ignore:
Timestamp:
Mar 3, 2000, 12:14:24 PM (26 years ago)
Author:
sandervl
Message:

updates

Location:
trunk/include
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/os2wrap.h

    r2080 r2982  
    1 /* $Id: os2wrap.h,v 1.13 1999-12-15 09:25:12 achimha Exp $ */
     1/* $Id: os2wrap.h,v 1.14 2000-03-03 11:14:22 sandervl Exp $ */
    22#ifndef __OS2WRAP_H__
    33#define __OS2WRAP_H__
     
    88
    99#if (__IBMC__ > 300)
    10 // VA3.6: inline is a C++ keywork, must be translated to _inline or _Inline or __inline in C code
     10// VA3.6: inline is a C++ keyword, must be translated to _inline or _Inline or __inline in C code
    1111#define inline _inline
    1212#endif
    1313
    1414#ifdef INCL_DOSMEMMGR
     15
     16APIRET APIENTRY DosAliasMem(PVOID pb, ULONG cb, PPVOID ppbAlias, ULONG fl);
     17
     18inline APIRET _DosAliasMem(PVOID pb, ULONG cb, PPVOID ppbAlias, ULONG fl)
     19{
     20 APIRET yyrc;
     21 USHORT sel = RestoreOS2FS();
     22
     23    yyrc = DosAliasMem(pb, cb, ppbAlias, fl);
     24    SetFS(sel);
     25
     26    return yyrc;
     27}
     28
     29#undef  DosAliasMem
     30#define DosAliasMem _DosAliasMem
     31
    1532inline ULONG _DosAllocMem(PPVOID a, ULONG b, ULONG c)
    1633{
  • trunk/include/win32type.h

    r2957 r2982  
    1 /* $Id: win32type.h,v 1.34 2000-03-01 13:31:36 sandervl Exp $ */
     1/* $Id: win32type.h,v 1.35 2000-03-03 11:14:24 sandervl Exp $ */
    22
    33/*
     
    363363#define HQUEUE16 WORD
    364364
     365typedef unsigned long HKEY;
     366typedef HKEY* LPHKEY;
     367typedef DWORD REGSAM;
     368
    365369// other
    366370#ifndef HWND
  • trunk/include/winconst.h

    r2793 r2982  
    1 /* $Id: winconst.h,v 1.26 2000-02-15 14:38:07 sandervl Exp $ */
     1/* $Id: winconst.h,v 1.27 2000-03-03 11:14:24 sandervl Exp $ */
    22
    33/*
     
    10581058#define SND_PURGE_W             0x00000040L /* purge all sounds */
    10591059#define SND_APPLICATION_W       0x00000080L /* look for application specific association */
     1060
     1061
     1062#define REG_NONE                         0  /* no type */
     1063#define REG_SZ                           1  /* string type (ASCII) */
     1064#define REG_EXPAND_SZ                    2  /* string, includes %ENVVAR% (expanded by caller) (ASCII) */
     1065#define REG_BINARY                       3  /* binary format, callerspecific */
     1066                                /* YES, REG_DWORD == REG_DWORD_LITTLE_ENDIAN */
     1067#define REG_DWORD                        4  /* DWORD in little endian format */
     1068#define REG_DWORD_LITTLE_ENDIAN          4  /* DWORD in little endian format */
     1069#define REG_DWORD_BIG_ENDIAN             5  /* DWORD in big endian format  */
     1070#define REG_LINK                         6  /* symbolic link (UNICODE) */
     1071#define REG_MULTI_SZ                     7  /* multiple strings, delimited by \0, terminated by \0\0 (ASCII) */
     1072#define REG_RESOURCE_LIST                8  /* resource list? huh? */
     1073#define REG_FULL_RESOURCE_DESCRIPTOR     9  /* full resource descriptor? huh? */
     1074
     1075#define KEY_ALL_ACCESS 0x0000003f
     1076
     1077#define HKEY_CLASSES_ROOT       ((HKEY) 0x80000000)
     1078#define HKEY_CURRENT_USER       ((HKEY) 0x80000001)
     1079#define HKEY_LOCAL_MACHINE      ((HKEY) 0x80000002)
     1080#define HKEY_USERS              ((HKEY) 0x80000003)
     1081#define HKEY_PERFORMANCE_DATA   ((HKEY) 0x80000004)
     1082#define HKEY_CURRENT_CONFIG     ((HKEY) 0x80000005)
     1083#define HKEY_DYN_DATA           ((HKEY) 0x80000006)
Note: See TracChangeset for help on using the changeset viewer.