Changeset 21916 for trunk/src/gdi32


Ignore:
Timestamp:
Dec 18, 2011, 10:28:22 PM (14 years ago)
Author:
dmik
Message:

Merge branch gcc-kmk to trunk.

Location:
trunk
Files:
5 deleted
15 edited
5 copied

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 bin
        2 Makefile.inc
         1env.cmd
         2LocalConfig.kmk
    • Property svn:mergeinfo set to
      /branches/gcc-kmkmergedeligible
  • trunk/src/gdi32/dbglocal.cpp

    r10373 r21916  
    2020USHORT DbgEnabledLvl2GDI32[DBG_MAXFILES] = {0};
    2121
    22 static char *DbgFileNames[DBG_MAXFILES] =
     22static const char *DbgFileNames[DBG_MAXFILES] =
    2323{
    2424"gdi32",
  • trunk/src/gdi32/dbgwrap.cpp

    r10582 r21916  
    1616
    1717#define DBG_LOCALLOG    DBG_trace
    18 #include <dbglocal.h>
     18#include "dbglocal.h"
    1919
    2020#define DBGWRAP_MODULE "GDI32"
  • trunk/src/gdi32/devcontext.cpp

    r21630 r21916  
    145145      devmode.dmDriverExtra      = arg4->dmDriverExtra;
    146146      devmode.dmFields           = arg4->dmFields;
    147 #if (__IBMCPP__ == 360)
     147#if defined (__GNUC__) || (__IBMCPP__ == 360)
    148148      devmode.dmOrientation   = arg4->dmOrientation;
    149149      devmode.dmPaperSize     = arg4->dmPaperSize;
     
    258258      devmode.dmDriverExtra      = arg4->dmDriverExtra;
    259259      devmode.dmFields           = arg4->dmFields;
    260 #if (__IBMCPP__ == 360)
     260#if defined (__GNUC__) || (__IBMCPP__ == 360)
    261261      devmode.dmOrientation      = arg4->dmOrientation;
    262262      devmode.dmPaperSize        = arg4->dmPaperSize;
     
    446446        dprintf(("devmode.dmDriverExtra %x", lpInitData->dmDriverExtra));
    447447        dprintf(("devmode.dmFields %x", lpInitData->dmFields));
    448 #if (__IBMCPP__ == 360)
     448#if defined (__GNUC__) || (__IBMCPP__ == 360)
    449449        dprintf(("devmode.dmOrientation %x", lpInitData->dmOrientation));
    450450        dprintf(("devmode.dmPaperSize %x", lpInitData->dmPaperSize));
  • trunk/src/gdi32/font.cpp

    r10612 r21916  
    3636#include "unicode.h"
    3737#include <heapstring.h>
    38 #include <win\options.h>
     38#include <win/options.h>
    3939#include <wprocess.h>
    4040#include <odininst.h>
  • trunk/src/gdi32/fontres.cpp

    r21304 r21916  
    7070
    7171    FntLock();
    72     for(int i=0;i<MAX_PUBLICFONTS;i++) {
     72    int i;
     73    for(i=0;i<MAX_PUBLICFONTS;i++) {
    7374        if(strcmp(publicfonts[i].szFaceName, lfFaceName) == 0) {
    7475#ifdef DEBUG
     
    328329    }
    329330    FntLock();
    330     for(int i=0;i<MAX_PUBLICFONTS;i++) {
     331    int i;
     332    for(i=0;i<MAX_PUBLICFONTS;i++) {
    331333        if(strcmp(publicfonts[i].szFontResName, lpszFont) == 0) 
    332334        {
  • trunk/src/gdi32/ft2supp.cpp

    r21628 r21916  
    4848// Constructor
    4949//******************************************************************************
    50 CFT2Module::CFT2Module(char* sModuleName): bEnabled(FALSE), hftModule(0), pfnGetGlyphIndices(NULL),
     50CFT2Module::CFT2Module(const char* sModuleName): bEnabled(FALSE), hftModule(0), pfnGetGlyphIndices(NULL),
    5151                pfnFt2GetTextExtentW(NULL), pfnFt2EnableFontEngine(NULL),
    5252                pfnFt2GetGlyphOutline(NULL), pfnFt2CharStringPosAtA(NULL),
     
    183183//******************************************************************************
    184184//******************************************************************************
    185 PFN CFT2Module::QueryProcAddress(char * procname)
     185PFN CFT2Module::QueryProcAddress(const char * procname)
    186186{
    187187    APIRET rc;
  • trunk/src/gdi32/ft2supp.h

    r21304 r21916  
    5656   // Handle for our module
    5757   HMODULE hftModule;
    58    char  *pszModuleName;
     58   const char *pszModuleName;
    5959
    6060   PFN_FT2GETGLYPHINDICES  pfnGetGlyphIndices;
     
    7474   BOOL    bEnabled;
    7575   PFT2FN QueryProcAddress( int );
    76    PFT2FN QueryProcAddress( char* );
     76   PFT2FN QueryProcAddress( const char* );
    7777
    7878 public:
    7979   // Constructor
    80    CFT2Module( char* modulename = FT2LIBNAME );
     80   CFT2Module( const char* modulename = FT2LIBNAME );
    8181   ~CFT2Module();
    8282   void init();
  • trunk/src/gdi32/gdi32.cpp

    r10594 r21916  
    391391VOID dumpROP2(INT rop2)
    392392{
    393   CHAR *name;
     393  const char *name;
    394394
    395395  switch (rop2)
     
    549549//******************************************************************************
    550550//******************************************************************************
    551 char *GetDeviceCapsString(int nIndex)
     551const char *GetDeviceCapsString(int nIndex)
    552552{
    553553    switch(nIndex) {
  • trunk/src/gdi32/gdi32dbg.def

    r21630 r21916  
    1616
    1717EXPORTS
    18     _GDI_CallDevInstall16@20                                 @100 NONAME
    19     _GDI_CallExtDeviceModePropSheet16@16                     @101 NONAME
    20     _GDI_CallExtDeviceMode16@28                              @102 NONAME
    21     _GDI_CallAdvancedSetupDialog16@16                        @103 NONAME
    22     _GDI_CallDeviceCapabilities16@20                         @104 NONAME
    23 
    24     AbortDoc                   = _DbgAbortDoc@4                 @105
    25     AbortPath                  = _DbgAbortPath@4                @106
    26     AddFontResourceA           = _DbgAddFontResourceA@4         @107
    27     AddFontResourceW           = _DbgAddFontResourceW@4         @108
    28     AngleArc                   = _DbgAngleArc@24                @109
    29     AnimatePalette             = _DbgAnimatePalette@16          @110
    30     Arc                        = _DbgArc@36                     @111
    31     ArcTo                      = _DbgArcTo@36                   @112
    32     BeginPath                  = _DbgBeginPath@4                @113
    33     BitBlt                     = _DbgBitBlt@36                  @114
     18    "_GDI_CallDevInstall16@20"                               @100 NONAME
     19    "_GDI_CallExtDeviceModePropSheet16@16"                   @101 NONAME
     20    "_GDI_CallExtDeviceMode16@28"                            @102 NONAME
     21    "_GDI_CallAdvancedSetupDialog16@16"                      @103 NONAME
     22    "_GDI_CallDeviceCapabilities16@20"                       @104 NONAME
     23
     24    AbortDoc                   = "_DbgAbortDoc@4"               @105
     25    AbortPath                  = "_DbgAbortPath@4"              @106
     26    AddFontResourceA           = "_DbgAddFontResourceA@4"       @107
     27    AddFontResourceW           = "_DbgAddFontResourceW@4"       @108
     28    AngleArc                   = "_DbgAngleArc@24"              @109
     29    AnimatePalette             = "_DbgAnimatePalette@16"        @110
     30    Arc                        = "_DbgArc@36"                   @111
     31    ArcTo                      = "_DbgArcTo@36"                 @112
     32    BeginPath                  = "_DbgBeginPath@4"              @113
     33    BitBlt                     = "_DbgBitBlt@36"                @114
    3434;    ByeByeGDI                  = _DbgByeByeGDI@??               @115
    35     CancelDC                   = _DbgCancelDC@4                 @116
    36     CheckColorsInGamut         = _DbgCheckColorsInGamut@16      @117
    37     ChoosePixelFormat          = _DbgChoosePixelFormat@8        @118
    38     Chord                      = _DbgChord@36                   @119
    39     CloseEnhMetaFile           = _DbgCloseEnhMetaFile@4         @120
    40     CloseFigure                = _DbgCloseFigure@4              @121
    41     CloseMetaFile              = _DbgCloseMetaFile@4            @122
    42     ColorMatchToTarget         = _DbgColorMatchToTarget@12      @123
    43     CombineRgn                 = _DbgCombineRgn@16              @124
    44     CombineTransform           = _DbgCombineTransform@12        @125
    45     CopyEnhMetaFileA           = _DbgCopyEnhMetaFileA@8         @126
    46     CopyEnhMetaFileW           = _DbgCopyEnhMetaFileW@8         @127
    47     CopyMetaFileA              = _DbgCopyMetaFileA@8            @128
    48     CopyMetaFileW              = _DbgCopyMetaFileW@8            @129
    49     CreateBitmap               = _DbgCreateBitmap@20            @130
    50     CreateBitmapIndirect       = _DbgCreateBitmapIndirect@4     @131
    51     CreateBrushIndirect        = _DbgCreateBrushIndirect@4      @132
    52     CreateColorSpaceA          = _DbgCreateColorSpaceA@4        @133
    53     CreateColorSpaceW          = _DbgCreateColorSpaceW@4        @134
    54     CreateCompatibleBitmap     = _DbgCreateCompatibleBitmap@12  @135
    55     CreateCompatibleDC         = _DbgCreateCompatibleDC@4       @136
    56     CreateDCA                  = _DbgCreateDCA@16               @137
    57     CreateDCW                  = _DbgCreateDCW@16               @138
    58     CreateDIBPatternBrush      = _DbgCreateDIBPatternBrush@8    @139
    59     CreateDIBPatternBrushPt    = _DbgCreateDIBPatternBrushPt@8  @140
    60     CreateDIBSection           = _DbgCreateDIBSection@24        @141
    61     CreateDIBitmap             = _DbgCreateDIBitmap@24          @142
    62     CreateDiscardableBitmap    = _DbgCreateDiscardableBitmap@12 @143
    63     CreateEllipticRgn          = _DbgCreateEllipticRgn@16       @144
    64     CreateEllipticRgnIndirect  = _DbgCreateEllipticRgnIndirect@4 @145
    65     CreateEnhMetaFileA         = _DbgCreateEnhMetaFileA@16      @146
    66     CreateEnhMetaFileW         = _DbgCreateEnhMetaFileW@16      @147
    67     CreateFontA                = _DbgCreateFontA@56             @148
    68     CreateFontIndirectA        = _DbgCreateFontIndirectA@4      @149
    69     CreateFontIndirectW        = _DbgCreateFontIndirectW@4      @150
    70     CreateFontW                = _DbgCreateFontW@56             @151
    71     CreateHalftonePalette      = _DbgCreateHalftonePalette@4    @152
    72     CreateHatchBrush           = _DbgCreateHatchBrush@8         @153
    73     CreateICA                  = _DbgCreateICA@16               @154
    74     CreateICW                  = _DbgCreateICW@16               @155
    75     CreateMetaFileA            = _DbgCreateMetaFileA@4          @156
    76     CreateMetaFileW            = _DbgCreateMetaFileW@4          @157
    77     CreatePalette              = _DbgCreatePalette@4            @158
    78     CreatePatternBrush         = _DbgCreatePatternBrush@4       @159
    79     CreatePen                  = _DbgCreatePen@12               @160
    80     CreatePenIndirect          = _DbgCreatePenIndirect@4        @161
    81     CreatePolyPolygonRgn       = _DbgCreatePolyPolygonRgn@16    @162
    82     CreatePolygonRgn           = _DbgCreatePolygonRgn@12        @163
    83     CreateRectRgn              = _DbgCreateRectRgn@16           @164
    84     CreateRectRgnIndirect      = _DbgCreateRectRgnIndirect@4    @165
    85     CreateRoundRectRgn         = _DbgCreateRoundRectRgn@24      @166
    86     CreateScalableFontResourceA  = _DbgCreateScalableFontResourceA@16 @167
    87     CreateScalableFontResourceW  = _DbgCreateScalableFontResourceW@16 @168
    88     CreateSolidBrush           = _DbgCreateSolidBrush@4         @169
    89     DPtoLP                     = _DbgDPtoLP@12                  @170
    90     DeleteColorSpace           = _DbgDeleteColorSpace@4         @171
    91     DeleteDC                   = _DbgDeleteDC@4                 @172
    92     DeleteEnhMetaFile          = _DbgDeleteEnhMetaFile@4        @173
    93     DeleteMetaFile             = _DbgDeleteMetaFile@4           @174
    94     DeleteObject               = _DbgDeleteObject@4             @175
    95     DescribePixelFormat        = _DbgDescribePixelFormat@16     @176
     35    CancelDC                   = "_DbgCancelDC@4"               @116
     36    CheckColorsInGamut         = "_DbgCheckColorsInGamut@16"    @117
     37    ChoosePixelFormat          = "_DbgChoosePixelFormat@8"      @118
     38    Chord                      = "_DbgChord@36"                 @119
     39    CloseEnhMetaFile           = "_DbgCloseEnhMetaFile@4"       @120
     40    CloseFigure                = "_DbgCloseFigure@4"            @121
     41    CloseMetaFile              = "_DbgCloseMetaFile@4"          @122
     42    ColorMatchToTarget         = "_DbgColorMatchToTarget@12"    @123
     43    CombineRgn                 = "_DbgCombineRgn@16"            @124
     44    CombineTransform           = "_DbgCombineTransform@12"      @125
     45    CopyEnhMetaFileA           = "_DbgCopyEnhMetaFileA@8"       @126
     46    CopyEnhMetaFileW           = "_DbgCopyEnhMetaFileW@8"       @127
     47    CopyMetaFileA              = "_DbgCopyMetaFileA@8"          @128
     48    CopyMetaFileW              = "_DbgCopyMetaFileW@8"          @129
     49    CreateBitmap               = "_DbgCreateBitmap@20"          @130
     50    CreateBitmapIndirect       = "_DbgCreateBitmapIndirect@4"   @131
     51    CreateBrushIndirect        = "_DbgCreateBrushIndirect@4"    @132
     52    CreateColorSpaceA          = "_DbgCreateColorSpaceA@4"      @133
     53    CreateColorSpaceW          = "_DbgCreateColorSpaceW@4"      @134
     54    CreateCompatibleBitmap     = "_DbgCreateCompatibleBitmap@12"  @135
     55    CreateCompatibleDC         = "_DbgCreateCompatibleDC@4"     @136
     56    CreateDCA                  = "_DbgCreateDCA@16"             @137
     57    CreateDCW                  = "_DbgCreateDCW@16"             @138
     58    CreateDIBPatternBrush      = "_DbgCreateDIBPatternBrush@8"  @139
     59    CreateDIBPatternBrushPt    = "_DbgCreateDIBPatternBrushPt@8"  @140
     60    CreateDIBSection           = "_DbgCreateDIBSection@24"      @141
     61    CreateDIBitmap             = "_DbgCreateDIBitmap@24"        @142
     62    CreateDiscardableBitmap    = "_DbgCreateDiscardableBitmap@12" @143
     63    CreateEllipticRgn          = "_DbgCreateEllipticRgn@16"     @144
     64    CreateEllipticRgnIndirect  = "_DbgCreateEllipticRgnIndirect@4" @145
     65    CreateEnhMetaFileA         = "_DbgCreateEnhMetaFileA@16"    @146
     66    CreateEnhMetaFileW         = "_DbgCreateEnhMetaFileW@16"    @147
     67    CreateFontA                = "_DbgCreateFontA@56"           @148
     68    CreateFontIndirectA        = "_DbgCreateFontIndirectA@4"    @149
     69    CreateFontIndirectW        = "_DbgCreateFontIndirectW@4"    @150
     70    CreateFontW                = "_DbgCreateFontW@56"           @151
     71    CreateHalftonePalette      = "_DbgCreateHalftonePalette@4"  @152
     72    CreateHatchBrush           = "_DbgCreateHatchBrush@8"       @153
     73    CreateICA                  = "_DbgCreateICA@16"             @154
     74    CreateICW                  = "_DbgCreateICW@16"             @155
     75    CreateMetaFileA            = "_DbgCreateMetaFileA@4"        @156
     76    CreateMetaFileW            = "_DbgCreateMetaFileW@4"        @157
     77    CreatePalette              = "_DbgCreatePalette@4"          @158
     78    CreatePatternBrush         = "_DbgCreatePatternBrush@4"     @159
     79    CreatePen                  = "_DbgCreatePen@12"             @160
     80    CreatePenIndirect          = "_DbgCreatePenIndirect@4"      @161
     81    CreatePolyPolygonRgn       = "_DbgCreatePolyPolygonRgn@16"  @162
     82    CreatePolygonRgn           = "_DbgCreatePolygonRgn@12"      @163
     83    CreateRectRgn              = "_DbgCreateRectRgn@16"         @164
     84    CreateRectRgnIndirect      = "_DbgCreateRectRgnIndirect@4"  @165
     85    CreateRoundRectRgn         = "_DbgCreateRoundRectRgn@24"    @166
     86    CreateScalableFontResourceA  = "_DbgCreateScalableFontResourceA@16" @167
     87    CreateScalableFontResourceW  = "_DbgCreateScalableFontResourceW@16" @168
     88    CreateSolidBrush           = "_DbgCreateSolidBrush@4"       @169
     89    DPtoLP                     = "_DbgDPtoLP@12"                @170
     90    DeleteColorSpace           = "_DbgDeleteColorSpace@4"       @171
     91    DeleteDC                   = "_DbgDeleteDC@4"               @172
     92    DeleteEnhMetaFile          = "_DbgDeleteEnhMetaFile@4"      @173
     93    DeleteMetaFile             = "_DbgDeleteMetaFile@4"         @174
     94    DeleteObject               = "_DbgDeleteObject@4"           @175
     95    DescribePixelFormat        = "_DbgDescribePixelFormat@16"   @176
    9696;    DeviceCapabilitiesEx       = _DbgDeviceCapabilitiesEx@??    @177
    9797;    DeviceCapabilitiesExA      = _DbgDeviceCapabilitiesExA@??   @178
    9898;    DeviceCapabilitiesExW      = _DbgDeviceCapabilitiesExW@??   @179
    99     DrawEscape                 = _DbgDrawEscape@16              @180
    100     Ellipse                    = _DbgEllipse@20                 @181
    101     EndDoc                     = _DbgEndDoc@4                   @182
    102     EndPage                    = _DbgEndPage@4                  @183
    103     EndPath                    = _DbgEndPath@4                  @184
    104     EnumEnhMetaFile            = _DbgEnumEnhMetaFile@20         @185
    105     EnumFontFamiliesA          = _DbgEnumFontFamiliesA@16       @186
    106     EnumFontFamiliesExA        = _DbgEnumFontFamiliesExA@20     @187
    107     EnumFontFamiliesExW        = _DbgEnumFontFamiliesExW@20     @188
    108     EnumFontFamiliesW          = _DbgEnumFontFamiliesW@16       @189
    109     EnumFontsA                 = _DbgEnumFontsA@16              @190
    110     EnumFontsW                 = _DbgEnumFontsW@16              @191
    111     EnumICMProfilesA           = _DbgEnumICMProfilesA@12        @192
    112     EnumICMProfilesW           = _DbgEnumICMProfilesW@12        @193
    113     EnumMetaFile               = _DbgEnumMetaFile@16            @194
    114     EnumObjects                = _DbgEnumObjects@16             @195
    115     EqualRgn                   = _DbgEqualRgn@8                 @196
    116     Escape                     = _DbgEscape@20                  @197
    117     ExcludeClipRect            = _DbgExcludeClipRect@20         @198
    118     ExtCreatePen               = _DbgExtCreatePen@20            @199
    119     ExtCreateRegion            = _DbgExtCreateRegion@12         @200
    120     ExtEscape                  = _DbgExtEscape@24               @201
    121     ExtFloodFill               = _DbgExtFloodFill@20            @202
    122     ExtSelectClipRgn           = _DbgExtSelectClipRgn@12        @203
    123     ExtTextOutA                = _DbgExtTextOutA@32             @204
    124     ExtTextOutW                = _DbgExtTextOutW@32             @205
    125     FillPath                   = _DbgFillPath@4                 @206
    126     FillRgn                    = _DbgFillRgn@12                 @207
    127     FixBrushOrgEx              = _DbgFixBrushOrgEx@16           @208
    128     FlattenPath                = _DbgFlattenPath@4              @209
    129     FloodFill                  = _DbgFloodFill@16               @210
    130     FrameRgn                   = _DbgFrameRgn@20                @211
    131     GdiComment                 = _DbgGdiComment@12              @212
    132     GdiFlush                   = _DbgGdiFlush@0                 @213
    133     GdiGetBatchLimit           = _DbgGdiGetBatchLimit@0         @214
     99    DrawEscape                 = "_DbgDrawEscape@16"            @180
     100    Ellipse                    = "_DbgEllipse@20"               @181
     101    EndDoc                     = "_DbgEndDoc@4"                 @182
     102    EndPage                    = "_DbgEndPage@4"                @183
     103    EndPath                    = "_DbgEndPath@4"                @184
     104    EnumEnhMetaFile            = "_DbgEnumEnhMetaFile@20"       @185
     105    EnumFontFamiliesA          = "_DbgEnumFontFamiliesA@16"     @186
     106    EnumFontFamiliesExA        = "_DbgEnumFontFamiliesExA@20"   @187
     107    EnumFontFamiliesExW        = "_DbgEnumFontFamiliesExW@20"   @188
     108    EnumFontFamiliesW          = "_DbgEnumFontFamiliesW@16"     @189
     109    EnumFontsA                 = "_DbgEnumFontsA@16"            @190
     110    EnumFontsW                 = "_DbgEnumFontsW@16"            @191
     111    EnumICMProfilesA           = "_DbgEnumICMProfilesA@12"      @192
     112    EnumICMProfilesW           = "_DbgEnumICMProfilesW@12"      @193
     113    EnumMetaFile               = "_DbgEnumMetaFile@16"          @194
     114    EnumObjects                = "_DbgEnumObjects@16"           @195
     115    EqualRgn                   = "_DbgEqualRgn@8"               @196
     116    Escape                     = "_DbgEscape@20"                @197
     117    ExcludeClipRect            = "_DbgExcludeClipRect@20"       @198
     118    ExtCreatePen               = "_DbgExtCreatePen@20"          @199
     119    ExtCreateRegion            = "_DbgExtCreateRegion@12"       @200
     120    ExtEscape                  = "_DbgExtEscape@24"             @201
     121    ExtFloodFill               = "_DbgExtFloodFill@20"          @202
     122    ExtSelectClipRgn           = "_DbgExtSelectClipRgn@12"      @203
     123    ExtTextOutA                = "_DbgExtTextOutA@32"           @204
     124    ExtTextOutW                = "_DbgExtTextOutW@32"           @205
     125    FillPath                   = "_DbgFillPath@4"               @206
     126    FillRgn                    = "_DbgFillRgn@12"               @207
     127    FixBrushOrgEx              = "_DbgFixBrushOrgEx@16"         @208
     128    FlattenPath                = "_DbgFlattenPath@4"            @209
     129    FloodFill                  = "_DbgFloodFill@16"             @210
     130    FrameRgn                   = "_DbgFrameRgn@20"              @211
     131    GdiComment                 = "_DbgGdiComment@12"            @212
     132    GdiFlush                   = "_DbgGdiFlush@0"               @213
     133    GdiGetBatchLimit           = "_DbgGdiGetBatchLimit@0"       @214
    134134;    GdiPlayDCScript            = _DbgGdiPlayDCScript@??         @215
    135135;    GdiPlayJournal             = _DbgGdiPlayJournal@??          @216
    136136;    GdiPlayScript              = _DbgGdiPlayScript@??           @217
    137     GdiSetBatchLimit           = _DbgGdiSetBatchLimit@4         @218
    138     GetArcDirection            = _DbgGetArcDirection@4          @219
    139     GetAspectRatioFilterEx     = _DbgGetAspectRatioFilterEx@8  @220
    140     GetBitmapBits              = _DbgGetBitmapBits@12           @221
    141     GetBitmapDimensionEx       = _DbgGetBitmapDimensionEx@8     @222
    142     GetBkColor                 = _DbgGetBkColor@4               @223
    143     GetBkMode                  = _DbgGetBkMode@4                @224
    144     GetBoundsRect              = _DbgGetBoundsRect@12           @225
    145     GetBrushOrgEx              = _DbgGetBrushOrgEx@8            @226
    146     GetCharABCWidthsA          = _DbgGetCharABCWidthsA@16       @227
    147     GetCharABCWidthsFloatA     = _DbgGetCharABCWidthsFloatA@16  @228
    148     GetCharABCWidthsFloatW     = _DbgGetCharABCWidthsFloatW@16 @229
    149     GetCharABCWidthsW          = _DbgGetCharABCWidthsW@16       @230
    150     GetCharWidth32A            = _DbgGetCharWidth32A@16         @231
    151     GetCharWidth32W            = _DbgGetCharWidth32W@16         @232
    152     GetCharWidthA              = _DbgGetCharWidth32A@16         @233
    153     GetCharWidthFloatA         = _DbgGetCharWidthFloatA@16      @234
    154     GetCharWidthFloatW         = _DbgGetCharWidthFloatW@16      @235
    155     GetCharWidthW              = _DbgGetCharWidth32W@16         @236
    156     GetCharacterPlacementA     = _DbgGetCharacterPlacementA@24  @237
    157     GetCharacterPlacementW     = _DbgGetCharacterPlacementW@24  @238
    158     GetClipBox                 = _DbgGetClipBox@8               @239
    159     GetClipRgn                 = _DbgGetClipRgn@8               @240
    160     GetColorAdjustment         = _DbgGetColorAdjustment@8       @241
    161     GetColorSpace              = _DbgGetColorSpace@4            @242
    162     GetCurrentObject           = _DbgGetCurrentObject@8         @243
    163     GetCurrentPositionEx       = _DbgGetCurrentPositionEx@8     @244
    164     GetDCOrgEx                 = _DbgGetDCOrgEx@8               @245
    165     GetDIBColorTable           = _DbgGetDIBColorTable@16        @246
    166     GetDIBits                  = _DbgGetDIBits@28               @247
    167     GetDeviceCaps              = _DbgGetDeviceCaps@8            @248
    168     GetDeviceGammaRamp         = _DbgGetDeviceGammaRamp@8       @249
    169     GetEnhMetaFileA            = _DbgGetEnhMetaFileA@4          @250
    170     GetEnhMetaFileBits         = _DbgGetEnhMetaFileBits@12       @251
    171     GetEnhMetaFileDescriptionA  = _DbgGetEnhMetaFileDescriptionA@12 @252
    172     GetEnhMetaFileDescriptionW  = _DbgGetEnhMetaFileDescriptionW@12 @253
    173     GetEnhMetaFileHeader       = _DbgGetEnhMetaFileHeader@12    @254
    174     GetEnhMetaFilePaletteEntries  = _DbgGetEnhMetaFilePaletteEntries@12 @255
    175     GetEnhMetaFileW            = _DbgGetEnhMetaFileW@4          @256
    176     GetFontData                = _DbgGetFontData@20             @257
    177     GetFontLanguageInfo        = _DbgGetFontLanguageInfo@4      @258
     137    GdiSetBatchLimit           = "_DbgGdiSetBatchLimit@4"       @218
     138    GetArcDirection            = "_DbgGetArcDirection@4"        @219
     139    GetAspectRatioFilterEx     = "_DbgGetAspectRatioFilterEx@8" @220
     140    GetBitmapBits              = "_DbgGetBitmapBits@12"         @221
     141    GetBitmapDimensionEx       = "_DbgGetBitmapDimensionEx@8"   @222
     142    GetBkColor                 = "_DbgGetBkColor@4"             @223
     143    GetBkMode                  = "_DbgGetBkMode@4"              @224
     144    GetBoundsRect              = "_DbgGetBoundsRect@12"         @225
     145    GetBrushOrgEx              = "_DbgGetBrushOrgEx@8"          @226
     146    GetCharABCWidthsA          = "_DbgGetCharABCWidthsA@16"     @227
     147    GetCharABCWidthsFloatA     = "_DbgGetCharABCWidthsFloatA@16"  @228
     148    GetCharABCWidthsFloatW     = "_DbgGetCharABCWidthsFloatW@16" @229
     149    GetCharABCWidthsW          = "_DbgGetCharABCWidthsW@16"     @230
     150    GetCharWidth32A            = "_DbgGetCharWidth32A@16"       @231
     151    GetCharWidth32W            = "_DbgGetCharWidth32W@16"       @232
     152    GetCharWidthA              = "_DbgGetCharWidth32A@16"       @233
     153    GetCharWidthFloatA         = "_DbgGetCharWidthFloatA@16"    @234
     154    GetCharWidthFloatW         = "_DbgGetCharWidthFloatW@16"    @235
     155    GetCharWidthW              = "_DbgGetCharWidth32W@16"       @236
     156    GetCharacterPlacementA     = "_DbgGetCharacterPlacementA@24"  @237
     157    GetCharacterPlacementW     = "_DbgGetCharacterPlacementW@24"  @238
     158    GetClipBox                 = "_DbgGetClipBox@8"             @239
     159    GetClipRgn                 = "_DbgGetClipRgn@8"             @240
     160    GetColorAdjustment         = "_DbgGetColorAdjustment@8"     @241
     161    GetColorSpace              = "_DbgGetColorSpace@4"          @242
     162    GetCurrentObject           = "_DbgGetCurrentObject@8"       @243
     163    GetCurrentPositionEx       = "_DbgGetCurrentPositionEx@8"   @244
     164    GetDCOrgEx                 = "_DbgGetDCOrgEx@8"             @245
     165    GetDIBColorTable           = "_DbgGetDIBColorTable@16"      @246
     166    GetDIBits                  = "_DbgGetDIBits@28"             @247
     167    GetDeviceCaps              = "_DbgGetDeviceCaps@8"          @248
     168    GetDeviceGammaRamp         = "_DbgGetDeviceGammaRamp@8"     @249
     169    GetEnhMetaFileA            = "_DbgGetEnhMetaFileA@4"        @250
     170    GetEnhMetaFileBits         = "_DbgGetEnhMetaFileBits@12"     @251
     171    GetEnhMetaFileDescriptionA  = "_DbgGetEnhMetaFileDescriptionA@12" @252
     172    GetEnhMetaFileDescriptionW  = "_DbgGetEnhMetaFileDescriptionW@12" @253
     173    GetEnhMetaFileHeader       = "_DbgGetEnhMetaFileHeader@12"  @254
     174    GetEnhMetaFilePaletteEntries  = "_DbgGetEnhMetaFilePaletteEntries@12" @255
     175    GetEnhMetaFileW            = "_DbgGetEnhMetaFileW@4"        @256
     176    GetFontData                = "_DbgGetFontData@20"           @257
     177    GetFontLanguageInfo        = "_DbgGetFontLanguageInfo@4"    @258
    178178;    GetFontResourceInfo        = _DbgGetFontResourceInfo@??     @259
    179     GetGlyphOutline            = _DbgGetGlyphOutlineA@28        @260
    180     GetGlyphOutlineA           = _DbgGetGlyphOutlineA@28        @261
    181     GetGlyphOutlineW           = _DbgGetGlyphOutlineW@28        @262
    182     GetGraphicsMode            = _DbgGetGraphicsMode@4          @263
    183     GetICMProfileA             = _DbgGetICMProfileA@12          @264
    184     GetICMProfileW             = _DbgGetICMProfileW@12          @265
    185     GetKerningPairs            = _DbgGetKerningPairsA@12        @266
    186     GetKerningPairsA           = _DbgGetKerningPairsA@12        @267
    187     GetKerningPairsW           = _DbgGetKerningPairsA@12        @268
    188     GetLogColorSpaceA          = _DbgGetLogColorSpaceA@12       @269
    189     GetLogColorSpaceW          = _DbgGetLogColorSpaceW@12       @270
    190     GetMapMode                 = _DbgGetMapMode@4               @271
    191     GetMetaFileA               = _DbgGetMetaFileA@4             @272
    192     GetMetaFileBitsEx          = _DbgGetMetaFileBitsEx@12       @273
    193     GetMetaFileW               = _DbgGetMetaFileW@4             @274
    194     GetMetaRgn                 = _DbgGetMetaRgn@8               @275
    195     GetMiterLimit              = _DbgGetMiterLimit@8            @276
    196     GetNearestColor            = _DbgGetNearestColor@8          @277
    197     GetNearestPaletteIndex     = _DbgGetNearestPaletteIndex@8  @278
    198     GetObjectA                 = _DbgGetObjectA@12              @279
    199     GetObjectType              = _DbgGetObjectType@4            @280
    200     GetObjectW                 = _DbgGetObjectW@12              @281
    201     GetOutlineTextMetricsA     = _DbgGetOutlineTextMetricsA@12  @282
    202     GetOutlineTextMetricsW     = _DbgGetOutlineTextMetricsW@12  @283
    203     GetPaletteEntries          = _DbgGetPaletteEntries@16       @284
    204     GetPath                    = _DbgGetPath@16                 @285
    205     GetPixel                   = _DbgGetPixel@12                @286
    206     GetPixelFormat             = _DbgGetPixelFormat@4           @287
    207     GetPolyFillMode            = _DbgGetPolyFillMode@4          @288
    208     GetROP2                    = _DbgGetROP2@4                  @289
    209     GetRandomRgn               = _DbgGetRandomRgn@12            @290
    210     GetRasterizerCaps          = _DbgGetRasterizerCaps@8        @291
    211     GetRegionData              = _DbgGetRegionData@12           @292
    212     GetRgnBox                  = _DbgGetRgnBox@8                @293
    213     GetStockObject             = _DbgGetStockObject@4           @294
    214     GetStretchBltMode          = _DbgGetStretchBltMode@4        @295
    215     GetSystemPaletteEntries    = _DbgGetSystemPaletteEntries@16 @296
    216     GetSystemPaletteUse        = _DbgGetSystemPaletteUse@4      @297
    217     GetTextAlign               = _DbgGetTextAlign@4             @298
    218     GetTextCharacterExtra      = _DbgGetTextCharacterExtra@4    @299
    219     GetTextCharset             = _DbgGetTextCharset@4           @300
    220     GetTextCharsetInfo         = _DbgGetTextCharsetInfo@12      @301
    221     GetTextColor               = _DbgGetTextColor@4             @302
    222     GetTextExtentExPointA      = _DbgGetTextExtentExPointA@28  @303
    223     GetTextExtentExPointW      = _DbgGetTextExtentExPointW@28  @304
    224     GetTextExtentPoint32A      = _DbgGetTextExtentPoint32A@16  @305
    225     GetTextExtentPoint32W      = _DbgGetTextExtentPoint32W@16  @306
    226     GetTextExtentPointA        = _DbgGetTextExtentPointA@16     @307
    227     GetTextExtentPointW        = _DbgGetTextExtentPointW@16     @308
    228     GetTextFaceA               = _DbgGetTextFaceA@12            @309
    229     GetTextFaceW               = _DbgGetTextFaceW@12            @310
    230     GetTextMetricsA            = _DbgGetTextMetricsA@8          @311
    231     GetTextMetricsW            = _DbgGetTextMetricsW@8          @312
    232     GetViewportExtEx           = _DbgGetViewportExtEx@8         @313
    233     GetViewportOrgEx           = _DbgGetViewportOrgEx@8         @314
    234     GetWinMetaFileBits         = _DbgGetWinMetaFileBits@20      @315
    235     GetWindowExtEx             = _DbgGetWindowExtEx@8           @316
    236     GetWindowOrgEx             = _DbgGetWindowOrgEx@8          @317
    237     GetWorldTransform          = _DbgGetWorldTransform@8        @318
    238     IntersectClipRect          = _DbgIntersectClipRect@20       @319
    239     InvertRgn                  = _DbgInvertRgn@8                @320
    240     LPtoDP                     = _DbgLPtoDP@12                  @321
    241     LineDDA                    = _DbgLineDDA@24                 @322
    242     LineTo                     = _DbgLineTo@12                  @323
    243     MaskBlt                    = _DbgMaskBlt@48                 @324
    244     ModifyWorldTransform       = _DbgModifyWorldTransform@12    @325
    245     MoveToEx                   = _DbgMoveToEx@16                @326
    246     OffsetClipRgn              = _DbgOffsetClipRgn@12           @327
    247     OffsetRgn                  = _DbgOffsetRgn@12               @328
    248     OffsetViewportOrgEx        = _DbgOffsetViewportOrgEx@16     @329
    249     OffsetWindowOrgEx          = _DbgOffsetWindowOrgEx@16       @330
    250     PaintRgn                   = _DbgPaintRgn@8                 @331
    251     PatBlt                     = _DbgPatBlt@24                  @332
    252     PathToRegion               = _DbgPathToRegion@4             @333
    253     Pie                        = _DbgPie@36                     @334
    254     PlayEnhMetaFile            = _DbgPlayEnhMetaFile@12         @335
    255     PlayEnhMetaFileRecord      = _DbgPlayEnhMetaFileRecord@16  @336
    256     PlayMetaFile               = _DbgPlayMetaFile@8             @337
    257     PlayMetaFileRecord         = _DbgPlayMetaFileRecord@16      @338
    258     PlgBlt                     = _DbgPlgBlt@40                  @339
    259     PolyBezier                 = _DbgPolyBezier@12              @340
    260     PolyBezierTo               = _DbgPolyBezierTo@12            @341
    261     PolyDraw                   = _DbgPolyDraw@16                @342
    262     PolyPolygon                = _DbgPolyPolygon@16             @343
    263     PolyPolyline               = _DbgPolyPolyline@16            @344
    264     PolyTextOutA               = _DbgPolyTextOutA@12            @345
    265     PolyTextOutW               = _DbgPolyTextOutW@12            @346
    266     Polygon                    = _DbgPolygon@12                 @347
    267     Polyline                   = _DbgPolyline@12                @348
    268     PolylineTo                 = _DbgPolylineTo@12              @349
    269     PtInRegion                 = _DbgPtInRegion@12              @350
    270     PtVisible                  = _DbgPtVisible@12               @351
    271     RealizePalette             = _DbgRealizePalette@4           @352
    272     RectInRegion               = _DbgRectInRegion@8             @353
    273     RectVisible                = _DbgRectVisible@8              @354
    274     Rectangle                  = _DbgRectangle@20               @355
    275     RemoveFontResourceA        = _DbgRemoveFontResourceA@4      @356
    276     RemoveFontResourceW        = _DbgRemoveFontResourceW@4      @357
    277     ResetDCA                   = _DbgResetDCA@8                 @358
    278     ResetDCW                   = _DbgResetDCW@8                 @359
    279     ResizePalette              = _DbgResizePalette@8            @360
    280     RestoreDC                  = _DbgRestoreDC@8                @361
    281     RoundRect                  = _DbgRoundRect@28               @362
    282     SaveDC                     = _DbgSaveDC@4                   @363
    283     ScaleViewportExtEx         = _DbgScaleViewportExtEx@24      @364
    284     ScaleWindowExtEx           = _DbgScaleWindowExtEx@24        @365
    285     SelectClipPath             = _DbgSelectClipPath@8           @366
    286     SelectClipRgn              = _DbgSelectClipRgn@8            @367
    287     SelectObject               = _DbgSelectObject@8             @368
    288     SelectPalette              = _DbgSelectPalette@12           @369
    289     SetAbortProc               = _DbgSetAbortProc@8             @370
    290     SetArcDirection            = _DbgSetArcDirection@8          @371
    291     SetBitmapBits              = _DbgSetBitmapBits@12           @372
    292     SetBitmapDimensionEx       = _DbgSetBitmapDimensionEx@16    @373
    293     SetBkColor                 = _DbgSetBkColor@8               @374
    294     SetBkMode                  = _DbgSetBkMode@8                @375
    295     SetBoundsRect              = _DbgSetBoundsRect@12           @376
    296     SetBrushOrgEx              = _DbgSetBrushOrgEx@16           @377
    297     SetColorAdjustment         = _DbgSetColorAdjustment@8       @378
    298     SetColorSpace              = _DbgSetColorSpace@8            @379
    299     SetDIBColorTable           = _DbgSetDIBColorTable@16        @380
    300     SetDIBits                  = _DbgSetDIBits@28               @381
    301     SetDIBitsToDevice          = _DbgSetDIBitsToDevice@48       @382
    302     SetDeviceGammaRamp         = _DbgSetDeviceGammaRamp@8       @383
    303     SetEnhMetaFileBits         = _DbgSetEnhMetaFileBits@8       @384
     179    GetGlyphOutline            = "_DbgGetGlyphOutlineA@28"      @260
     180    GetGlyphOutlineA           = "_DbgGetGlyphOutlineA@28"      @261
     181    GetGlyphOutlineW           = "_DbgGetGlyphOutlineW@28"      @262
     182    GetGraphicsMode            = "_DbgGetGraphicsMode@4"        @263
     183    GetICMProfileA             = "_DbgGetICMProfileA@12"        @264
     184    GetICMProfileW             = "_DbgGetICMProfileW@12"        @265
     185    GetKerningPairs            = "_DbgGetKerningPairsA@12"      @266
     186    GetKerningPairsA           = "_DbgGetKerningPairsA@12"      @267
     187    GetKerningPairsW           = "_DbgGetKerningPairsA@12"      @268
     188    GetLogColorSpaceA          = "_DbgGetLogColorSpaceA@12"     @269
     189    GetLogColorSpaceW          = "_DbgGetLogColorSpaceW@12"     @270
     190    GetMapMode                 = "_DbgGetMapMode@4"             @271
     191    GetMetaFileA               = "_DbgGetMetaFileA@4"           @272
     192    GetMetaFileBitsEx          = "_DbgGetMetaFileBitsEx@12"     @273
     193    GetMetaFileW               = "_DbgGetMetaFileW@4"           @274
     194    GetMetaRgn                 = "_DbgGetMetaRgn@8"             @275
     195    GetMiterLimit              = "_DbgGetMiterLimit@8"          @276
     196    GetNearestColor            = "_DbgGetNearestColor@8"        @277
     197    GetNearestPaletteIndex     = "_DbgGetNearestPaletteIndex@8" @278
     198    GetObjectA                 = "_DbgGetObjectA@12"            @279
     199    GetObjectType              = "_DbgGetObjectType@4"          @280
     200    GetObjectW                 = "_DbgGetObjectW@12"            @281
     201    GetOutlineTextMetricsA     = "_DbgGetOutlineTextMetricsA@12"  @282
     202    GetOutlineTextMetricsW     = "_DbgGetOutlineTextMetricsW@12"  @283
     203    GetPaletteEntries          = "_DbgGetPaletteEntries@16"     @284
     204    GetPath                    = "_DbgGetPath@16"               @285
     205    GetPixel                   = "_DbgGetPixel@12"              @286
     206    GetPixelFormat             = "_DbgGetPixelFormat@4"         @287
     207    GetPolyFillMode            = "_DbgGetPolyFillMode@4"        @288
     208    GetROP2                    = "_DbgGetROP2@4"                @289
     209    GetRandomRgn               = "_DbgGetRandomRgn@12"          @290
     210    GetRasterizerCaps          = "_DbgGetRasterizerCaps@8"      @291
     211    GetRegionData              = "_DbgGetRegionData@12"         @292
     212    GetRgnBox                  = "_DbgGetRgnBox@8"              @293
     213    GetStockObject             = "_DbgGetStockObject@4"         @294
     214    GetStretchBltMode          = "_DbgGetStretchBltMode@4"      @295
     215    GetSystemPaletteEntries    = "_DbgGetSystemPaletteEntries@16" @296
     216    GetSystemPaletteUse        = "_DbgGetSystemPaletteUse@4"    @297
     217    GetTextAlign               = "_DbgGetTextAlign@4"           @298
     218    GetTextCharacterExtra      = "_DbgGetTextCharacterExtra@4"  @299
     219    GetTextCharset             = "_DbgGetTextCharset@4"         @300
     220    GetTextCharsetInfo         = "_DbgGetTextCharsetInfo@12"    @301
     221    GetTextColor               = "_DbgGetTextColor@4"           @302
     222    GetTextExtentExPointA      = "_DbgGetTextExtentExPointA@28" @303
     223    GetTextExtentExPointW      = "_DbgGetTextExtentExPointW@28" @304
     224    GetTextExtentPoint32A      = "_DbgGetTextExtentPoint32A@16" @305
     225    GetTextExtentPoint32W      = "_DbgGetTextExtentPoint32W@16" @306
     226    GetTextExtentPointA        = "_DbgGetTextExtentPointA@16"   @307
     227    GetTextExtentPointW        = "_DbgGetTextExtentPointW@16"   @308
     228    GetTextFaceA               = "_DbgGetTextFaceA@12"          @309
     229    GetTextFaceW               = "_DbgGetTextFaceW@12"          @310
     230    GetTextMetricsA            = "_DbgGetTextMetricsA@8"        @311
     231    GetTextMetricsW            = "_DbgGetTextMetricsW@8"        @312
     232    GetViewportExtEx           = "_DbgGetViewportExtEx@8"       @313
     233    GetViewportOrgEx           = "_DbgGetViewportOrgEx@8"       @314
     234    GetWinMetaFileBits         = "_DbgGetWinMetaFileBits@20"    @315
     235    GetWindowExtEx             = "_DbgGetWindowExtEx@8"         @316
     236    GetWindowOrgEx             = "_DbgGetWindowOrgEx@8"        @317
     237    GetWorldTransform          = "_DbgGetWorldTransform@8"      @318
     238    IntersectClipRect          = "_DbgIntersectClipRect@20"     @319
     239    InvertRgn                  = "_DbgInvertRgn@8"              @320
     240    LPtoDP                     = "_DbgLPtoDP@12"                @321
     241    LineDDA                    = "_DbgLineDDA@24"               @322
     242    LineTo                     = "_DbgLineTo@12"                @323
     243    MaskBlt                    = "_DbgMaskBlt@48"               @324
     244    ModifyWorldTransform       = "_DbgModifyWorldTransform@12"  @325
     245    MoveToEx                   = "_DbgMoveToEx@16"              @326
     246    OffsetClipRgn              = "_DbgOffsetClipRgn@12"         @327
     247    OffsetRgn                  = "_DbgOffsetRgn@12"             @328
     248    OffsetViewportOrgEx        = "_DbgOffsetViewportOrgEx@16"   @329
     249    OffsetWindowOrgEx          = "_DbgOffsetWindowOrgEx@16"     @330
     250    PaintRgn                   = "_DbgPaintRgn@8"               @331
     251    PatBlt                     = "_DbgPatBlt@24"                @332
     252    PathToRegion               = "_DbgPathToRegion@4"           @333
     253    Pie                        = "_DbgPie@36"                   @334
     254    PlayEnhMetaFile            = "_DbgPlayEnhMetaFile@12"       @335
     255    PlayEnhMetaFileRecord      = "_DbgPlayEnhMetaFileRecord@16" @336
     256    PlayMetaFile               = "_DbgPlayMetaFile@8"           @337
     257    PlayMetaFileRecord         = "_DbgPlayMetaFileRecord@16"    @338
     258    PlgBlt                     = "_DbgPlgBlt@40"                @339
     259    PolyBezier                 = "_DbgPolyBezier@12"            @340
     260    PolyBezierTo               = "_DbgPolyBezierTo@12"          @341
     261    PolyDraw                   = "_DbgPolyDraw@16"              @342
     262    PolyPolygon                = "_DbgPolyPolygon@16"           @343
     263    PolyPolyline               = "_DbgPolyPolyline@16"          @344
     264    PolyTextOutA               = "_DbgPolyTextOutA@12"          @345
     265    PolyTextOutW               = "_DbgPolyTextOutW@12"          @346
     266    Polygon                    = "_DbgPolygon@12"               @347
     267    Polyline                   = "_DbgPolyline@12"              @348
     268    PolylineTo                 = "_DbgPolylineTo@12"            @349
     269    PtInRegion                 = "_DbgPtInRegion@12"            @350
     270    PtVisible                  = "_DbgPtVisible@12"             @351
     271    RealizePalette             = "_DbgRealizePalette@4"         @352
     272    RectInRegion               = "_DbgRectInRegion@8"           @353
     273    RectVisible                = "_DbgRectVisible@8"            @354
     274    Rectangle                  = "_DbgRectangle@20"             @355
     275    RemoveFontResourceA        = "_DbgRemoveFontResourceA@4"    @356
     276    RemoveFontResourceW        = "_DbgRemoveFontResourceW@4"    @357
     277    ResetDCA                   = "_DbgResetDCA@8"               @358
     278    ResetDCW                   = "_DbgResetDCW@8"               @359
     279    ResizePalette              = "_DbgResizePalette@8"          @360
     280    RestoreDC                  = "_DbgRestoreDC@8"              @361
     281    RoundRect                  = "_DbgRoundRect@28"             @362
     282    SaveDC                     = "_DbgSaveDC@4"                 @363
     283    ScaleViewportExtEx         = "_DbgScaleViewportExtEx@24"    @364
     284    ScaleWindowExtEx           = "_DbgScaleWindowExtEx@24"      @365
     285    SelectClipPath             = "_DbgSelectClipPath@8"         @366
     286    SelectClipRgn              = "_DbgSelectClipRgn@8"          @367
     287    SelectObject               = "_DbgSelectObject@8"           @368
     288    SelectPalette              = "_DbgSelectPalette@12"         @369
     289    SetAbortProc               = "_DbgSetAbortProc@8"           @370
     290    SetArcDirection            = "_DbgSetArcDirection@8"        @371
     291    SetBitmapBits              = "_DbgSetBitmapBits@12"         @372
     292    SetBitmapDimensionEx       = "_DbgSetBitmapDimensionEx@16"  @373
     293    SetBkColor                 = "_DbgSetBkColor@8"             @374
     294    SetBkMode                  = "_DbgSetBkMode@8"              @375
     295    SetBoundsRect              = "_DbgSetBoundsRect@12"         @376
     296    SetBrushOrgEx              = "_DbgSetBrushOrgEx@16"         @377
     297    SetColorAdjustment         = "_DbgSetColorAdjustment@8"     @378
     298    SetColorSpace              = "_DbgSetColorSpace@8"          @379
     299    SetDIBColorTable           = "_DbgSetDIBColorTable@16"      @380
     300    SetDIBits                  = "_DbgSetDIBits@28"             @381
     301    SetDIBitsToDevice          = "_DbgSetDIBitsToDevice@48"     @382
     302    SetDeviceGammaRamp         = "_DbgSetDeviceGammaRamp@8"     @383
     303    SetEnhMetaFileBits         = "_DbgSetEnhMetaFileBits@8"     @384
    304304;    SetFontEnumeration         = _DbgSetFontEnumeration@??      @385
    305     SetGraphicsMode            = _DbgSetGraphicsMode@8          @386
    306     SetICMMode                 = _DbgSetICMMode@8               @387
    307     SetICMProfileA             = _DbgSetICMProfileA@8           @388
    308     SetICMProfileW             = _DbgSetICMProfileW@8           @389
    309     SetMapMode                 = _DbgSetMapMode@8               @390
    310     SetMapperFlags             = _DbgSetMapperFlags@8           @391
    311     SetMetaFileBitsEx          = _DbgSetMetaFileBitsEx@8        @392
    312     SetMetaRgn                 = _DbgSetMetaRgn@4               @393
    313     SetMiterLimit              = _DbgSetMiterLimit@12           @394
    314     SetObjectOwner             = _DbgSetObjectOwner@8           @395
    315     SetPaletteEntries          = _DbgSetPaletteEntries@16       @396
    316     SetPixel                   = _DbgSetPixel@16                @397
    317     SetPixelFormat             = _DbgSetPixelFormat@12          @398
    318     SetPixelV                  = _DbgSetPixelV@16               @399
    319     SetPolyFillMode            = _DbgSetPolyFillMode@8          @400
    320     SetROP2                    = _DbgSetROP2@8                  @401
    321     SetRectRgn                 = _DbgSetRectRgn@20              @402
    322     SetStretchBltMode          = _DbgSetStretchBltMode@8        @403
    323     SetSystemPaletteUse        = _DbgSetSystemPaletteUse@8      @404
    324     SetTextAlign               = _DbgSetTextAlign@8             @405
    325     SetTextCharacterExtra      = _DbgSetTextCharacterExtra@8    @406
    326     SetTextColor               = _DbgSetTextColor@8             @407
    327     SetTextJustification       = _DbgSetTextJustification@12    @408
    328     SetViewportExtEx           = _DbgSetViewportExtEx@16        @409
    329     SetViewportOrgEx           = _DbgSetViewportOrgEx@16        @410
    330     SetWinMetaFileBits         = _DbgSetWinMetaFileBits@16      @411
    331     SetWindowExtEx             = _DbgSetWindowExtEx@16          @412
    332     SetWindowOrgEx             = _DbgSetWindowOrgEx@16          @413
    333     SetWorldTransform          = _DbgSetWorldTransform@8        @414
    334     StartDocA                  = _DbgStartDocA@8                @415
    335     StartDocW                  = _DbgStartDocW@8                @416
    336     StartPage                  = _DbgStartPage@4                @417
    337     StretchBlt                 = _DbgStretchBlt@44              @418
    338     StretchDIBits              = _DbgStretchDIBits@52           @419
    339     StrokeAndFillPath          = _DbgStrokeAndFillPath@4        @420
    340     StrokePath                 = _DbgStrokePath@4               @421
    341     SwapBuffers                = _DbgSwapBuffers@4              @422
    342     TextOutA                   = _DbgTextOutA@20                @423
    343     TextOutW                   = _DbgTextOutW@20                @424
    344     TranslateCharsetInfo       = _DbgTranslateCharsetInfo@12    @425
    345     UnrealizeObject            = _DbgUnrealizeObject@4          @426
    346     UpdateColors               = _DbgUpdateColors@4             @427
    347     UpdateICMRegKey            = _DbgUpdateICMRegKeyA@16         @428
    348     UpdateICMRegKeyA           = _DbgUpdateICMRegKeyA@16        @429
    349     UpdateICMRegKeyW           = _DbgUpdateICMRegKeyW@16        @430
    350     WidenPath                  = _DbgWidenPath@4               @431
     305    SetGraphicsMode            = "_DbgSetGraphicsMode@8"        @386
     306    SetICMMode                 = "_DbgSetICMMode@8"             @387
     307    SetICMProfileA             = "_DbgSetICMProfileA@8"         @388
     308    SetICMProfileW             = "_DbgSetICMProfileW@8"         @389
     309    SetMapMode                 = "_DbgSetMapMode@8"             @390
     310    SetMapperFlags             = "_DbgSetMapperFlags@8"         @391
     311    SetMetaFileBitsEx          = "_DbgSetMetaFileBitsEx@8"      @392
     312    SetMetaRgn                 = "_DbgSetMetaRgn@4"             @393
     313    SetMiterLimit              = "_DbgSetMiterLimit@12"         @394
     314    SetObjectOwner             = "_DbgSetObjectOwner@8"         @395
     315    SetPaletteEntries          = "_DbgSetPaletteEntries@16"     @396
     316    SetPixel                   = "_DbgSetPixel@16"              @397
     317    SetPixelFormat             = "_DbgSetPixelFormat@12"        @398
     318    SetPixelV                  = "_DbgSetPixelV@16"             @399
     319    SetPolyFillMode            = "_DbgSetPolyFillMode@8"        @400
     320    SetROP2                    = "_DbgSetROP2@8"                @401
     321    SetRectRgn                 = "_DbgSetRectRgn@20"            @402
     322    SetStretchBltMode          = "_DbgSetStretchBltMode@8"      @403
     323    SetSystemPaletteUse        = "_DbgSetSystemPaletteUse@8"    @404
     324    SetTextAlign               = "_DbgSetTextAlign@8"           @405
     325    SetTextCharacterExtra      = "_DbgSetTextCharacterExtra@8"  @406
     326    SetTextColor               = "_DbgSetTextColor@8"           @407
     327    SetTextJustification       = "_DbgSetTextJustification@12"  @408
     328    SetViewportExtEx           = "_DbgSetViewportExtEx@16"      @409
     329    SetViewportOrgEx           = "_DbgSetViewportOrgEx@16"      @410
     330    SetWinMetaFileBits         = "_DbgSetWinMetaFileBits@16"    @411
     331    SetWindowExtEx             = "_DbgSetWindowExtEx@16"        @412
     332    SetWindowOrgEx             = "_DbgSetWindowOrgEx@16"        @413
     333    SetWorldTransform          = "_DbgSetWorldTransform@8"      @414
     334    StartDocA                  = "_DbgStartDocA@8"              @415
     335    StartDocW                  = "_DbgStartDocW@8"              @416
     336    StartPage                  = "_DbgStartPage@4"              @417
     337    StretchBlt                 = "_DbgStretchBlt@44"            @418
     338    StretchDIBits              = "_DbgStretchDIBits@52"         @419
     339    StrokeAndFillPath          = "_DbgStrokeAndFillPath@4"      @420
     340    StrokePath                 = "_DbgStrokePath@4"             @421
     341    SwapBuffers                = "_DbgSwapBuffers@4"            @422
     342    TextOutA                   = "_DbgTextOutA@20"              @423
     343    TextOutW                   = "_DbgTextOutW@20"              @424
     344    TranslateCharsetInfo       = "_DbgTranslateCharsetInfo@12"  @425
     345    UnrealizeObject            = "_DbgUnrealizeObject@4"        @426
     346    UpdateColors               = "_DbgUpdateColors@4"           @427
     347    UpdateICMRegKey            = "_DbgUpdateICMRegKeyA@16"       @428
     348    UpdateICMRegKeyA           = "_DbgUpdateICMRegKeyA@16"      @429
     349    UpdateICMRegKeyW           = "_DbgUpdateICMRegKeyW@16"      @430
     350    WidenPath                  = "_DbgWidenPath@4"             @431
    351351;    gdiPlaySpoolStream         = _DbggdiPlaySpoolStream@??      @432
    352352;    pfnRealizePalette          = _DbgpfnRealizePalette@??       @433
    353353;    pfnSelectPalette           = _DbgpfnSelectPalette@??        @434
    354     GetGlyphIndicesA           = _GetGlyphIndicesA@20            @435
    355     GetGlyphIndicesW           = _GetGlyphIndicesW@20            @436
    356     SetFreeTypeIntegration     = _SetFreeTypeIntegration@4    @437
     354    GetGlyphIndicesA           = "_GetGlyphIndicesA@20"          @435
     355    GetGlyphIndicesW           = "_GetGlyphIndicesW@20"          @436
     356    SetFreeTypeIntegration     = "_SetFreeTypeIntegration@4"  @437
    357357;
    358358; ENDOFEXPORTS
     
    364364; Internal functions. (starts at 1200)
    365365;
    366     _ObjAllocateHandle@12                                       @1201 NONAME
    367     _ObjDeleteHandle@8                                          @1202 NONAME
    368     _ObjQueryHandleData@8                                       @1203 NONAME
    369     _ObjQueryHandleType@4                                       @1204 NONAME
    370     _ObjSetHandleFlag@12                                        @1205 NONAME
    371     _ObjSetHandleData@12                                        @1206 NONAME
    372     _ObjQueryHandleFlags@4                                      @1207 NONAME
     366    "_ObjAllocateHandle@12"                                     @1201 NONAME
     367    "_ObjDeleteHandle@8"                                        @1202 NONAME
     368    "_ObjQueryHandleData@8"                                     @1203 NONAME
     369    "_ObjQueryHandleType@4"                                     @1204 NONAME
     370    "_ObjSetHandleFlag@12"                                      @1205 NONAME
     371    "_ObjSetHandleData@12"                                      @1206 NONAME
     372    "_ObjQueryHandleFlags@4"                                    @1207 NONAME
    373373
    374374;
    375375; Function exported to USER32
    376376;
    377     _setWinDeviceRegionFromPMDeviceRegion@16                    @1211 NONAME
    378 
    379     _UnselectGDIObjects@4                                       @1212 NONAME
     377    "_setWinDeviceRegionFromPMDeviceRegion@16"                  @1211 NONAME
     378
     379    "_UnselectGDIObjects@4"                                     @1212 NONAME
    380380   
    381     OSLibGpiSetCp__FUlT1                                        @1213 NONAME
    382     _ConvertRGB555to565@12                                      @1214 NONAME
    383 
    384     _DbgFillRect@12                                             @1215 NONAME
    385     _DbgFrameRect@12                                            @1216 NONAME
    386     _DbgInvertRect@8                                            @1217 NONAME
    387 
    388     _GdiCombineVisRgn@12                                        @1218 NONAME
    389     _GdiSetVisRgn@8                                             @1219 NONAME
    390     _GdiCombineVisRgnClipRgn@12                                 @1220 NONAME
    391 
    392     _GetPMQueueName@12                                          @1221 NONAME
     381    OSLibGpiSetCp                                               @1213 NONAME
     382    "_ConvertRGB555to565@12"                                    @1214 NONAME
     383
     384    "_DbgFillRect@12"                                           @1215 NONAME
     385    "_DbgFrameRect@12"                                          @1216 NONAME
     386    "_DbgInvertRect@8"                                          @1217 NONAME
     387
     388    "_GdiCombineVisRgn@12"                                      @1218 NONAME
     389    "_GdiSetVisRgn@8"                                           @1219 NONAME
     390    "_GdiCombineVisRgnClipRgn@12"                               @1220 NONAME
     391
     392    "_GetPMQueueName@12"                                        @1221 NONAME
  • trunk/src/gdi32/objhandle.cpp

    r21524 r21916  
    313313//******************************************************************************
    314314#ifdef DEBUG
    315 void dumpObjectType(char *szType, DWORD dwType)
     315void dumpObjectType(const char *szType, DWORD dwType)
    316316{
    317317    for(int i=0;i<MAX_OBJECT_HANDLES;i++) {
     
    445445//******************************************************************************
    446446#ifdef DEBUG
    447 static char *gditypenames[] = {
     447static const char *gditypenames[] = {
    448448"NULL",
    449449"OBJ_PEN",
     
    462462};
    463463
    464 char *DbgGetGDITypeName(DWORD handleType)
     464const char *DbgGetGDITypeName(DWORD handleType)
    465465{
    466466    if(handleType <= OBJ_ENHMETAFILE) {
  • trunk/src/gdi32/oslibgpi.cpp

    r21304 r21916  
    428428}
    429429
    430 ULONG OSLibGpiQueryCp(HDC hdc)
     430ULONG SYSTEM OSLibGpiQueryCp(HDC hdc)
    431431{
    432432  return GpiQueryCp(hdc);
    433433}
    434434
    435 BOOL OSLibGpiSetCp(HDC hdc, ULONG codepage)
     435BOOL SYSTEM OSLibGpiSetCp(HDC hdc, ULONG codepage)
    436436{
    437437  return GpiSetCp(hdc, codepage);
  • trunk/src/gdi32/oslibgpi.h

    r10374 r21916  
    213213BOOL drawLinePoint(PVOID pHps,PPOINTLOS2 pt,LONG color);
    214214
    215 ULONG OSLibGpiQueryCp(HDC hdc);
    216 BOOL  OSLibGpiSetCp(HDC hdc, ULONG codepage);
     215ULONG SYSTEM OSLibGpiQueryCp(HDC hdc);
     216BOOL  SYSTEM OSLibGpiSetCp(HDC hdc, ULONG codepage);
    217217
    218218#define OSLIB_CAPS_HORIZONTAL_RESOLUTION      8L      /* pels per meter  */
  • trunk/src/gdi32/printer.cpp

    r21304 r21916  
    6262{
    6363    int rc;
    64     char *lpszEscape = NULL;
     64    const char *lpszEscape = NULL;
    6565
    6666    switch(nEscape)
  • trunk/src/gdi32/region.cpp

    r21331 r21916  
    13401340    PRECTL  pRectl     = new RECTL[pData->rdh.nCount];
    13411341    PRECT pDataRects = (PRECT)pData->Buffer;
    1342     for(int i=0; i < pData->rdh.nCount; i++) {
     1342    int i;
     1343    for(i=0; i < pData->rdh.nCount; i++) {
    13431344        MapWin32ToOS2Rect(pDataRects[i], pRectl[i]);
    13441345    }
Note: See TracChangeset for help on using the changeset viewer.