Ignore:
Timestamp:
Nov 26, 2002, 11:53:12 AM (23 years ago)
Author:
sandervl
Message:

Added debug wrappers for all exports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/font.cpp

    r8871 r9429  
    1 /* $Id: font.cpp,v 1.26 2002-07-15 10:02:28 sandervl Exp $ */
     1/* $Id: font.cpp,v 1.27 2002-11-26 10:53:08 sandervl Exp $ */
    22
    33/*
     
    147147//******************************************************************************
    148148//******************************************************************************
    149 ODINFUNCTIONNODBG14(HFONT,  CreateFontA, int,    nHeight,
    150                                     int,    nWidth,
    151                                     int,    nEscapement,
    152                                     int,    nOrientation,
    153                                     int,    fnWeight,
    154                                     DWORD,  fdwItalic,
    155                                     DWORD,  fdwUnderline,
    156                                     DWORD,  fdwStrikeOut,
    157                                     DWORD,  fdwCharSet,
    158                                     DWORD,  fdwOutputPrecision,
    159                                     DWORD,  fdwClipPrecision,
    160                                     DWORD,  fdwQuality,
    161                                     DWORD,  fdwPitchAndFamily,
    162                                     LPCSTR, lpszFace)
     149HFONT WIN32API CreateFontA(int  nHeight,
     150                           int    nWidth,
     151                           int    nEscapement,
     152                           int    nOrientation,
     153                           int    fnWeight,
     154                           DWORD  fdwItalic,
     155                           DWORD  fdwUnderline,
     156                           DWORD  fdwStrikeOut,
     157                           DWORD  fdwCharSet,
     158                           DWORD  fdwOutputPrecision,
     159                           DWORD  fdwClipPrecision,
     160                           DWORD  fdwQuality,
     161                           DWORD  fdwPitchAndFamily,
     162                           LPCSTR lpszFace)
    163163{
    164164  CHAR  lpstrFaceNew[LF_FACESIZE];
     
    201201//******************************************************************************
    202202//******************************************************************************
    203 ODINFUNCTIONNODBG14(HFONT,  CreateFontW,
    204                int,    nHeight,
    205                int,    nWidth,
    206                int,    nEscapement,
    207                int,    nOrientation,
    208                int,    fnWeight,
    209                DWORD,  fdwItalic,
    210                DWORD,  fdwUnderline,
    211                DWORD,  fdwStrikeOut,
    212                DWORD,  fdwCharSet,
    213                DWORD,  fdwOutputPrecision,
    214                DWORD,  fdwClipPrecision,
    215                DWORD,  fdwQuality,
    216                DWORD,  fdwPitchAndFamily,
    217                LPCWSTR,lpszFace)
     203HFONT WIN32API CreateFontW(int     nHeight,
     204                           int     nWidth,
     205                           int     nEscapement,
     206                           int     nOrientation,
     207                           int     fnWeight,
     208                           DWORD   fdwItalic,
     209                           DWORD   fdwUnderline,
     210                           DWORD   fdwStrikeOut,
     211                           DWORD   fdwCharSet,
     212                           DWORD   fdwOutputPrecision,
     213                           DWORD   fdwClipPrecision,
     214                           DWORD   fdwQuality,
     215                           DWORD   fdwPitchAndFamily,
     216                           LPCWSTR lpszFace)
    218217{
    219218  char *astring;
     
    249248//******************************************************************************
    250249//******************************************************************************
    251 ODINFUNCTION1(HFONT,CreateFontIndirectA,const LOGFONTA*, lplf)
     250HFONT WIN32API CreateFontIndirectA(const LOGFONTA* lplf)
    252251{
    253252  HFONT    hFont;
     
    284283//******************************************************************************
    285284//******************************************************************************
    286 ODINFUNCTION1(HFONT, CreateFontIndirectW,const LOGFONTW *, lplf)
     285HFONT WIN32API CreateFontIndirectW(const LOGFONTW * lplf)
    287286{
    288287  LOGFONTA afont;
     
    433432//******************************************************************************
    434433//******************************************************************************
    435 ODINFUNCTION4(int, EnumFontsA,
    436               HDC, hdc,
    437               LPCSTR, arg2,
    438               FONTENUMPROCA, arg3,
    439               LPARAM,  arg4)
     434int WIN32API EnumFontsA(HDC hdc,
     435                        LPCSTR arg2,
     436                        FONTENUMPROCA arg3,
     437                        LPARAM  arg4)
    440438{
    441439  //@@@PH shouldn't this rather be O32_EnumFonts ?
     
    444442//******************************************************************************
    445443//******************************************************************************
    446 ODINFUNCTION4(int, EnumFontsW,
    447               HDC, hdc,
    448               LPCWSTR, arg2,
    449               FONTENUMPROCW, arg3,
    450               LPARAM,  arg4)
     444int WIN32API EnumFontsW(HDC hdc,
     445                        LPCWSTR arg2,
     446                        FONTENUMPROCW arg3,
     447                        LPARAM  arg4)
    451448{
    452449  //@@@PH shouldn't this rather be O32_EnumFonts ?
     
    455452//******************************************************************************
    456453//******************************************************************************
    457 ODINFUNCTION4(int, EnumFontFamiliesA,
    458               HDC, hdc,
    459               LPCSTR, lpszFontFamily,
    460               FONTENUMPROCA, arg3,
    461               LPARAM, arg4)
     454int WIN32API EnumFontFamiliesA(HDC hdc,
     455                               LPCSTR lpszFontFamily,
     456                               FONTENUMPROCA arg3,
     457                               LPARAM arg4)
    462458{
    463459  ENUMUSERDATA enumData;
     
    478474//******************************************************************************
    479475//******************************************************************************
    480 ODINFUNCTION4(int, EnumFontFamiliesW,
    481               HDC, hdc,
    482               LPCWSTR, lpszFontFamilyW,
    483               FONTENUMPROCW, arg3,
    484               LPARAM, arg4)
     476int WIN32API EnumFontFamiliesW(HDC hdc,
     477                               LPCWSTR lpszFontFamilyW,
     478                               FONTENUMPROCW arg3,
     479                               LPARAM arg4)
    485480{
    486481  CHAR         lpstrFamilyNew[LF_FACESIZE] = "";
     
    503498//******************************************************************************
    504499//******************************************************************************
    505 ODINFUNCTION5(INT, EnumFontFamiliesExA,
    506               HDC, hdc,
    507               LPLOGFONTA, arg2,
    508               FONTENUMPROCEXA, arg3,
    509               LPARAM, arg4,
    510               DWORD, dwFlags)
     500INT WIN32API EnumFontFamiliesExA(HDC hdc,
     501                                 LPLOGFONTA arg2,
     502                                 FONTENUMPROCEXA arg3,
     503                                 LPARAM arg4,
     504                                 DWORD dwFlags)
    511505{
    512506  ENUMUSERDATA enumData;
     
    525519//******************************************************************************
    526520//******************************************************************************
    527 ODINFUNCTION5(INT, EnumFontFamiliesExW,
    528               HDC, hdc,
    529               LPLOGFONTW, arg2,
    530               FONTENUMPROCEXW, arg3,
    531               LPARAM, arg4,
    532               DWORD, dwFlags)
     521INT WIN32API EnumFontFamiliesExW(HDC hdc,
     522                                 LPLOGFONTW arg2,
     523                                 FONTENUMPROCEXW arg3,
     524                                 LPARAM arg4,
     525                                 DWORD dwFlags)
    533526{
    534527  ENUMUSERDATA enumData;
     
    549542//******************************************************************************
    550543//******************************************************************************
    551 ODINFUNCTION5(DWORD, GetFontData,
    552               HDC, hdc,
    553               DWORD, dwTable,
    554               DWORD, dwOffset,
    555               LPVOID, lpvBuffer,
    556               DWORD, dbData)
     544DWORD WIN32API GetFontData(HDC hdc, DWORD dwTable,
     545                           DWORD dwOffset,
     546                           LPVOID lpvBuffer,
     547                           DWORD dbData)
    557548{
    558549  dprintf(("GDI32: GetFontData, not implemented (GDI_ERROR)\n"));
     
    563554//******************************************************************************
    564555//******************************************************************************
    565 ODINFUNCTION1(int, AddFontResourceA,
    566               LPCSTR, szFont)
     556int WIN32API AddFontResourceA(LPCSTR szFont)
    567557{
    568558    HINSTANCE hInstance;
     
    579569//******************************************************************************
    580570//******************************************************************************
    581 ODINFUNCTION1(int, AddFontResourceW,
    582               LPCWSTR, szFont)
     571int WIN32API AddFontResourceW(LPCWSTR szFont)
    583572{
    584573 char *astring = UnicodeToAsciiString((LPWSTR)szFont);
     
    593582//******************************************************************************
    594583//******************************************************************************
    595 ODINFUNCTION1(BOOL, RemoveFontResourceA,
    596               LPCSTR, arg1)
     584BOOL WIN32API RemoveFontResourceA(LPCSTR arg1)
    597585{
    598586    dprintf(("GDI32: RemoveFontResourceA %s\n", arg1));
     
    601589//******************************************************************************
    602590//******************************************************************************
    603 ODINFUNCTION1(BOOL, RemoveFontResourceW,
    604               LPCWSTR, szFont)
     591BOOL WIN32API RemoveFontResourceW(LPCWSTR szFont)
    605592{
    606593 char *astring = UnicodeToAsciiString((LPWSTR)szFont);
     
    628615 *****************************************************************************/
    629616
    630 ODINFUNCTION4(BOOL, CreateScalableFontResourceA,
    631               DWORD, fdwHidden,
    632               LPCSTR, lpszFontRes,
    633               LPCSTR, lpszFontFile,
    634               LPCSTR, lpszCurrentPath)
     617BOOL WIN32API CreateScalableFontResourceA(DWORD fdwHidden,
     618                                          LPCSTR lpszFontRes,
     619                                          LPCSTR lpszFontFile,
     620                                          LPCSTR lpszCurrentPath)
    635621{
    636622  dprintf(("GDI32: CreateScalableFontResourceA not implemented.\n"));
     
    656642 *****************************************************************************/
    657643
    658 ODINFUNCTION4(BOOL, CreateScalableFontResourceW,
    659               DWORD, fdwHidden,
    660               LPCWSTR, lpszFontRes,
    661               LPCWSTR, lpszFontFile,
    662               LPCWSTR, lpszCurrentPath)
     644BOOL WIN32API CreateScalableFontResourceW(DWORD fdwHidden,
     645                                          LPCWSTR lpszFontRes,
     646                                          LPCWSTR lpszFontFile,
     647                                          LPCWSTR lpszCurrentPath)
    663648{
    664649  dprintf(("GDI32: CreateScalableFontResourceW not implemented.\n"));
     
    683668 *****************************************************************************/
    684669
    685 ODINFUNCTION1(DWORD, GetFontLanguageInfo,
    686               HDC, hdc)
     670DWORD WIN32API GetFontLanguageInfo(HDC hdc)
    687671{
    688672  dprintf(("GDI32: GetFontLanguageInfo(%08xh) not implemented.\n",
     
    714698 * DWORD flags  determines interpretation of lpSrc
    715699 */
    716 ODINFUNCTION3(BOOL, TranslateCharsetInfo,
    717               LPDWORD, lpSrc,
    718               LPCHARSETINFO, lpCs,
    719               DWORD, flags)
     700BOOL WIN32API TranslateCharsetInfo(LPDWORD lpSrc, LPCHARSETINFO lpCs,
     701                                   DWORD flags)
    720702{
    721703    int index = 0;
Note: See TracChangeset for help on using the changeset viewer.