Changeset 21899 for branches/gcc-kmk/src


Ignore:
Timestamp:
Dec 15, 2011, 5:15:52 PM (14 years ago)
Author:
dmik
Message:

Port UXTHEME and VDMDBG to GCC/kBuild.

Location:
branches/gcc-kmk/src
Files:
2 added
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/Makefile.kmk

    r21898 r21899  
    7373include $(PATH_SUB_CURRENT)/twain_32/Makefile.kmk
    7474include $(PATH_SUB_CURRENT)/urlmon/Makefile.kmk
     75include $(PATH_SUB_CURRENT)/uxtheme/Makefile.kmk
     76include $(PATH_SUB_CURRENT)/vdmdbg/Makefile.kmk
    7577
    7678include $(FILE_KBUILD_SUB_FOOTER)
  • branches/gcc-kmk/src/uxtheme/initterm.cpp

    r21842 r21899  
    1 /* $Id: inituxtheme.cpp,v 1.1 2002-04-10 18:35:18 bird Exp $ */
     1/* $Id: initterm.cpp,v 1.1 2002-04-10 18:35:18 bird Exp $ */
    22/*
    3  * DLL entry point
     3 * UXTHEME DLL entry point
    44 *
    55 * Copyright 1998 Sander van Leeuwen
    66 * Copyright 1998 Peter Fitzsimmons
    77 *
    8  *
    98 * Project Odin Software License can be found in LICENSE.TXT
    10  *
    119 */
    1210
    13 /*-------------------------------------------------------------*/
    14 /* INITERM.C -- Source for a custom dynamic link library       */
    15 /*              initialization and termination (_DLL_InitTerm) */
    16 /*              function.                                      */
    17 /*                                                             */
    18 /* When called to perform initialization, this sample function */
    19 /* gets storage for an array of integers, and initializes its  */
    20 /* elements with random integers.  At termination time, it     */
    21 /* frees the array.  Substitute your own special processing.   */
    22 /*-------------------------------------------------------------*/
    23 
    24 
    25 /* Include files */
    2611#define  INCL_DOSMODULEMGR
    2712#define  INCL_DOSPROCESS
     
    3722#include <initdll.h>
    3823
    39 extern "C" {
    40     //Win32 resource table (produced by wrc)
    41     extern DWORD uxtheme_PEResTab;
    42 }
     24// Win32 resource table (produced by wrc)
     25extern DWORD uxtheme_PEResTab;
    4326
    4427static HMODULE dllHandle = 0;
    4528
    46 //******************************************************************************
    47 //******************************************************************************
    4829BOOL WINAPI LibMainUxTheme(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
    4930{
    5031    switch (fdwReason)
    5132    {
    52         case DLL_PROCESS_ATTACH:
    53         case DLL_THREAD_ATTACH:
    54         case DLL_THREAD_DETACH:
    55         case DLL_PROCESS_DETACH:
    56             return TRUE;
     33    case DLL_PROCESS_ATTACH:
     34    case DLL_THREAD_ATTACH:
     35    case DLL_THREAD_DETACH:
     36    case DLL_PROCESS_DETACH:
     37        return TRUE;
    5738    }
    5839    return FALSE;
    5940}
    60 /****************************************************************************/
    61 /* _DLL_InitTerm is the function that gets called by the operating system   */
    62 /* loader when it loads and frees this DLL for each process that accesses   */
    63 /* this DLL.  However, it only gets called the first time the DLL is loaded */
    64 /* and the last time it is freed for a particular process.  The system      */
    65 /* linkage convention MUST be used because the operating system loader is   */
    66 /* calling this function.                                                   */
    67 /****************************************************************************/
    68 ULONG APIENTRY inittermUxTheme(ULONG hModule, ULONG ulFlag)
     41
     42ULONG SYSTEM DLL_InitUxTheme(ULONG hModule)
    6943{
    70     APIRET rc;
     44    CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    7145
    72     /*-------------------------------------------------------------------------*/
    73     /* If ulFlag is zero then the DLL is being loaded so initialization should */
    74     /* be performed.  If ulFlag is 1 then the DLL is being freed so            */
    75     /* termination should be performed.                                        */
    76     /*-------------------------------------------------------------------------*/
     46    dllHandle = RegisterLxDll(hModule, LibMainUxTheme, (PVOID)&uxtheme_PEResTab);
     47    if (dllHandle == 0)
     48        return -1;
    7749
    78     switch (ulFlag)
    79     {
    80         case 0 :
    81             dllHandle = RegisterLxDll(hModule, LibMainUxTheme, (PVOID)&uxtheme_PEResTab);
    82             if (dllHandle == 0)
    83                 return 0UL;
    84             break;
    85         case 1 :
    86             if (dllHandle)
    87                 UnregisterLxDll(dllHandle);
    88             break;
    89         default  :
    90             return 0UL;
    91     }
    92 
    93     /***********************************************************/
    94     /* A non-zero value must be returned to indicate success.  */
    95     /***********************************************************/
    96     return 1UL;
     50    return 0;
    9751}
    9852
     53void SYSTEM DLL_TermUxTheme(ULONG hModule)
     54{
     55    if (dllHandle)
     56       UnregisterLxDll(dllHandle);
     57}
     58
     59ULONG SYSTEM DLL_Init(ULONG hModule)
     60{
     61    if (DLL_InitDefault(hModule) == -1)
     62        return -1;
     63    return DLL_InitUxTheme(hModule);
     64}
     65
     66void SYSTEM DLL_Term(ULONG hModule)
     67{
     68    DLL_TermUxTheme(hModule);
     69    DLL_TermDefault(hModule);
     70}
  • branches/gcc-kmk/src/uxtheme/uxtheme.cpp

    r8220 r21899  
    429429)
    430430{
    431     dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n", hTheme));
     431    dprintf(("UXTHEME: %s(%x) - stub\n",  __FUNCTION__, hTheme));
    432432    return S_OK;
    433433}
     
    455455)
    456456{
    457     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     457    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     458             __FUNCTION__,
    458459             hTheme,
    459460             hdc,
     
    491492)
    492493{
    493     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     494    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     495             __FUNCTION__,
    494496             hTheme,
    495497             hdc,
     
    529531)
    530532{
    531     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     533    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     534             __FUNCTION__,
    532535             hTheme,
    533536             hdc,
     
    556559)
    557560{
    558     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
     561    dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n",
     562             __FUNCTION__,
    559563             hwnd,
    560564             hdc,
     
    591595)
    592596{
    593     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     597    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     598             __FUNCTION__,
    594599             hTheme,
    595600             hdc,
     
    618623)
    619624{
    620     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
     625    dprintf(("UXTHEME: %s(%x,%x) - stub\n",
     626             __FUNCTION__,
    621627             hwnd,
    622628             dwFlags));
     
    636642)
    637643{
    638     dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n",
     644    dprintf(("UXTHEME: %s(%x) - stub\n",
     645             __FUNCTION__,
    639646             fEnable));
    640647    return S_OK;
     
    663670)
    664671{
    665     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     672    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     673             __FUNCTION__,
    666674             pszThemeFileName,
    667675             dwMaxNameChars,
     
    682690DWORD WIN32API GetThemeAppProperties(VOID)
    683691{
    684     dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
     692    dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__));
    685693    return 0;
    686694}
     
    708716)
    709717{
    710     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     718    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     719             __FUNCTION__,
    711720             hTheme,
    712721             hdc,
     
    740749)
    741750{
    742     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     751    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     752             __FUNCTION__,
    743753             hTheme,
    744754             hdc,
     
    772782)
    773783{
    774     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     784    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     785             __FUNCTION__,
    775786             hTheme,
    776787             hdc,
     
    802813)
    803814{
    804     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     815    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     816             __FUNCTION__,
    805817             hTheme,
    806818             iPartId,
     
    831843)
    832844{
    833     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     845    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     846             __FUNCTION__,
    834847             hTheme,
    835848             iPartId,
     
    858871)
    859872{
    860     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x) - stub\n",
     873    dprintf(("UXTHEME: %s(%x,%x,%x,%x) - stub\n",
     874             __FUNCTION__,
    861875             pszThemeName,
    862876             pszPropertyName,
     
    886900)
    887901{
    888     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     902    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     903             __FUNCTION__,
    889904             hTheme,
    890905             iPartId,
     
    917932)
    918933{
    919     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     934    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     935             __FUNCTION__,
    920936             hTheme,
    921937             iPartId,
     
    949965)
    950966{
    951     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     967    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     968             __FUNCTION__,
    952969             hTheme,
    953970             hdc,
     
    979996)
    980997{
    981     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     998    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     999             __FUNCTION__,
    9821000             hTheme,
    9831001             iPartId,
     
    10081026)
    10091027{
    1010     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     1028    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     1029             __FUNCTION__,
    10111030             hTheme,
    10121031             iPartId,
     
    10411060)
    10421061{
    1043     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1062    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1063             __FUNCTION__,
    10441064             hTheme,
    10451065             hdc,
     
    10741094)
    10751095{
    1076     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     1096    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     1097             __FUNCTION__,
    10771098             hTheme,
    10781099             hdc,
     
    11081129)
    11091130{
    1110     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1131    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1132             __FUNCTION__,
    11111133             hTheme,
    11121134             hdc,
     
    11391161)
    11401162{
    1141     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     1163    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     1164             __FUNCTION__,
    11421165             hTheme,
    11431166             iPartId,
     
    11681191)
    11691192{
    1170     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     1193    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     1194             __FUNCTION__,
    11711195             hTheme,
    11721196             iPartId,
     
    11971221)
    11981222{
    1199     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     1223    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     1224             __FUNCTION__,
    12001225             hTheme,
    12011226             iPartId,
     
    12281253)
    12291254{
    1230     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x) - stub\n",
     1255    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x) - stub\n",
     1256             __FUNCTION__,
    12311257             hTheme,
    12321258             iPartId,
     
    12521278)
    12531279{
    1254     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1280    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1281             __FUNCTION__,
    12551282             hTheme,
    12561283             iBoolID));
     
    12721299)
    12731300{
    1274     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
     1301    dprintf(("UXTHEME: %s(%x,%x) - stub\n",
     1302             __FUNCTION__,
    12751303             hTheme,
    12761304             iColorID));
     
    12921320)
    12931321{
    1294     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
     1322    dprintf(("UXTHEME: %s(%x,%x) - stub\n",
     1323             __FUNCTION__,
    12951324             hTheme,
    12961325             iColorID));
     
    13151344)
    13161345{
    1317     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
     1346    dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n",
     1347             __FUNCTION__,
    13181348             hTheme,
    13191349             iFontID,
     
    13381368)
    13391369{
    1340     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
     1370    dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n",
     1371             __FUNCTION__,
    13411372             hTheme,
    13421373             iIntID,
     
    13591390)
    13601391{
    1361     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n",
     1392    dprintf(("UXTHEME: %s(%x,%x) - stub\n",
     1393             __FUNCTION__,
    13621394             hTheme,
    13631395             iSizeID));
     
    13831415)
    13841416{
    1385     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x) - stub\n",
     1417    dprintf(("UXTHEME: %s(%x,%x,%x,%x) - stub\n",
     1418             __FUNCTION__,
    13861419             hTheme,
    13871420             iStringID,
     
    14191452)
    14201453{
    1421     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1454    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1455             __FUNCTION__,
    14221456             hTheme,
    14231457             hdc,
     
    14521486)
    14531487{
    1454     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n",
     1488    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n",
     1489             __FUNCTION__,
    14551490             hTheme,
    14561491             hdc,
     
    14731508)
    14741509{
    1475     dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n",
     1510    dprintf(("UXTHEME: %s(%x) - stub\n",
     1511             __FUNCTION__,
    14761512             hWnd));
    14771513    return NULL;
     
    15061542)
    15071543{
    1508     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1544    dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x,%x,%x,%x,%x) - stub\n",
     1545             __FUNCTION__,
    15091546             hTheme,
    15101547             hdc,
     
    15281565BOOL WIN32API IsAppThemed(VOID)
    15291566{
    1530     dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
     1567    dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__));
    15311568    return FALSE;
    15321569}
     
    15421579BOOL WIN32API IsThemeActive(VOID)
    15431580{
    1544     dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
     1581    dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__));
    15451582    return FALSE;
    15461583}
     
    15621599)
    15631600{
    1564     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
     1601    dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n",
     1602             __FUNCTION__,
    15651603             hTheme,
    15661604             iPartId,
     
    15771615BOOL WIN32API IsThemeDialogTextureEnabled(VOID)
    15781616{
    1579     dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));
     1617    dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__));
    15801618    return FALSE;
    15811619}
     
    15971635)
    15981636{
    1599     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
     1637    dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n",
     1638             __FUNCTION__,
    16001639             hTheme,
    16011640             iPartId,
     
    16181657)
    16191658{
    1620     dprintf(("UXTHEME: " __FUNCTION__ "(%x, %x) - stub - returns NULL\n",
     1659    dprintf(("UXTHEME: %s(%x, %x) - stub - returns NULL\n",
     1660             __FUNCTION__,
    16211661             hwnd,
    16221662             pszClassList));
     
    16361676)
    16371677{
    1638     dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n",
     1678    dprintf(("UXTHEME: %s(%x) - stub\n",
     1679             __FUNCTION__,
    16391680             dwFlags));
    16401681}
     
    16561697)
    16571698{
    1658     dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n",
     1699    dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n",
     1700             __FUNCTION__,
    16591701             hwnd,
    16601702             pszSubAppName,
  • branches/gcc-kmk/src/uxtheme/uxtheme.def

    r8220 r21899  
    33DESCRIPTION 'Odin32 System DLL - UxTheme'
    44
    5 PROTMODE
    65DATA MULTIPLE NONSHARED READWRITE LOADONCALL
    76CODE LOADONCALL
     
    1211;     Entry     3:  Offset: 000259F5 (0) EXPORTED
    1312;     Entry     4:  Offset: 00025973 (0) EXPORTED
    14         CloseThemeData          = _CloseThemeData@4                     @5      ;     Entry     5:  Offset: 000032D0 (0) EXPORTED (CloseThemeData)
    15         DrawThemeBackground     = _DrawThemeBackground@24               @6      ;     Entry     6:  Offset: 0000122C (0) EXPORTED (DrawThemeBackground)
     13        CloseThemeData          = "_CloseThemeData@4"                   @5      ;     Entry     5:  Offset: 000032D0 (0) EXPORTED (CloseThemeData)
     14        DrawThemeBackground     = "_DrawThemeBackground@24"             @6      ;     Entry     6:  Offset: 0000122C (0) EXPORTED (DrawThemeBackground)
    1615;     Entry     7:  Offset: 00025E18 (0) EXPORTED
    1716;     Entry     8:  Offset: 00025A50 (0) EXPORTED
     
    1918;     Entry    10:  Offset: 0000A8B2 (0) EXPORTED
    2019;     Entry    11:  Offset: 0002639B (0) EXPORTED
    21         DrawThemeEdge           = _DrawThemeEdge@32                     @12     ;     Entry    12:  Offset: 0001A989 (0) EXPORTED (DrawThemeEdge)
     20        DrawThemeEdge           = "_DrawThemeEdge@32"                   @12     ;     Entry    12:  Offset: 0001A989 (0) EXPORTED (DrawThemeEdge)
    2221;     Entry    13:  Offset: 0001D0A8 (0) EXPORTED
    2322;     Entry    14:  Offset: 000261D4 (0) EXPORTED
     
    4443;     Entry    35:  Offset: 0001C606 (0) EXPORTED
    4544;     Entry    36:  Offset: 00026459 (0) EXPORTED
    46         DrawThemeIcon           = _DrawThemeIcon@28                     @37     ;     Entry    37:  Offset: 00025C6A (0) EXPORTED (DrawThemeIcon)
    47         DrawThemeParentBackground = _DrawThemeParentBackground@12       @38     ;     Entry    38:  Offset: 0000637F (0) EXPORTED (DrawThemeParentBackground)
    48         DrawThemeText           = _DrawThemeText@36                     @39     ;     Entry    39:  Offset: 00001665 (0) EXPORTED (DrawThemeText)
    49         EnableThemeDialogTexture = _EnableThemeDialogTexture@8          @40     ;     Entry    40:  Offset: 00008EBF (0) EXPORTED (EnableThemeDialogTexture)
    50         EnableTheming           = _EnableTheming@4                      @41     ;     Entry    41:  Offset: 000265CB (0) EXPORTED (EnableTheming)
    51         GetCurrentThemeName     = _GetCurrentThemeName@24               @42
     45        DrawThemeIcon           = "_DrawThemeIcon@28"                   @37     ;     Entry    37:  Offset: 00025C6A (0) EXPORTED (DrawThemeIcon)
     46        DrawThemeParentBackground = "_DrawThemeParentBackground@12"     @38     ;     Entry    38:  Offset: 0000637F (0) EXPORTED (DrawThemeParentBackground)
     47        DrawThemeText           = "_DrawThemeText@36"                   @39     ;     Entry    39:  Offset: 00001665 (0) EXPORTED (DrawThemeText)
     48        EnableThemeDialogTexture = "_EnableThemeDialogTexture@8"        @40     ;     Entry    40:  Offset: 00008EBF (0) EXPORTED (EnableThemeDialogTexture)
     49        EnableTheming           = "_EnableTheming@4"                    @41     ;     Entry    41:  Offset: 000265CB (0) EXPORTED (EnableTheming)
     50        GetCurrentThemeName     = "_GetCurrentThemeName@24"             @42
    5251;     Entry    43:  Offset: 0000293F (0) EXPORTED
    5352;     Entry    44:  Offset: 00003C54 (0) EXPORTED
     
    5655;     Entry    47:  Offset: 000047EB (0) EXPORTED
    5756;     Entry    48:  Offset: 00026355 (0) EXPORTED
    58         GetThemeAppProperties         = _GetThemeAppProperties@0        @49
    59         GetThemeBackgroundContentRect = _GetThemeBackgroundContentRect@24 @50
    60         GetThemeBackgroundExtent      = _GetThemeBackgroundExtent@24    @51
    61         GetThemeBackgroundRegion      = _GetThemeBackgroundRegion@24    @52
    62         GetThemeBool                  = _GetThemeBool@20                @53
    63         GetThemeColor                 = _GetThemeColor@20               @54
    64         GetThemeDocumentationProperty = _GetThemeDocumentationProperty@16 @55
    65         GetThemeEnumValue             = _GetThemeEnumValue@20           @56
    66         GetThemeFilename              = _GetThemeFilename@24            @57
    67         GetThemeFont                  = _GetThemeFont@24                @58
    68         GetThemeInt                   = _GetThemeInt@20                 @59
     57        GetThemeAppProperties         = "_GetThemeAppProperties@0"      @49
     58        GetThemeBackgroundContentRect = "_GetThemeBackgroundContentRect@24" @50
     59        GetThemeBackgroundExtent      = "_GetThemeBackgroundExtent@24"  @51
     60        GetThemeBackgroundRegion      = "_GetThemeBackgroundRegion@24"  @52
     61        GetThemeBool                  = "_GetThemeBool@20"              @53
     62        GetThemeColor                 = "_GetThemeColor@20"             @54
     63        GetThemeDocumentationProperty = "_GetThemeDocumentationProperty@16" @55
     64        GetThemeEnumValue             = "_GetThemeEnumValue@20"         @56
     65        GetThemeFilename              = "_GetThemeFilename@24"          @57
     66        GetThemeFont                  = "_GetThemeFont@24"              @58
     67        GetThemeInt                   = "_GetThemeInt@20"               @59
    6968;     Entry    60:  Offset: 0002647E (0) EXPORTED
    7069;     Entry    61:  Offset: 0001A8C5 (0) EXPORTED
    7170;     Entry    62:  Offset: 0001C368 (0) EXPORTED
    7271;     Entry    63:  Offset: 0002561F (0) EXPORTED
    73         GetThemeIntList         = _GetThemeIntList@20                   @64
    74         GetThemeMargins         = _GetThemeMargins@28                   @65
    75         GetThemeMetric          = _GetThemeMetric@24                    @66
    76         GetThemePartSize        = _GetThemePartSize@28                  @67
    77         GetThemePosition        = _GetThemePosition@20                  @68
    78         GetThemePropertyOrigin  = _GetThemePropertyOrigin@20            @69
    79         GetThemeRect            = _GetThemeRect@20                      @70
    80         GetThemeString          = _GetThemeString@24                    @71
    81         GetThemeSysBool         = _GetThemeSysBool@8                    @72
    82         GetThemeSysColor        = _GetThemeSysColor@8                   @73
    83         GetThemeSysColorBrush   = _GetThemeSysColorBrush@8              @74
    84         GetThemeSysFont         = _GetThemeSysFont@12                   @75
    85         GetThemeSysInt          = _GetThemeSysInt@12                    @76
    86         GetThemeSysSize         = _GetThemeSysSize@8                    @77
    87         GetThemeSysString       = _GetThemeSysString@16                 @78
    88         GetThemeTextExtent      = _GetThemeTextExtent@36                @79
    89         GetThemeTextMetrics     = _GetThemeTextMetrics@20               @80
    90         GetWindowTheme          = _GetWindowTheme@4                     @81
    91         HitTestThemeBackground  = _HitTestThemeBackground@40            @82
    92         IsAppThemed             = _IsAppThemed@0                        @83
    93         IsThemeActive           = _IsThemeActive@0                      @84
    94         IsThemeBackgroundPartiallyTransparent = _IsThemeBackgroundPartiallyTransparent@12 @85
    95         IsThemeDialogTextureEnabled = _IsThemeDialogTextureEnabled@0    @86
    96         IsThemePartDefined      = _IsThemePartDefined@12                @87
    97         OpenThemeData           = _OpenThemeData@8                      @88
    98         SetThemeAppProperties   = _SetThemeAppProperties@4              @89
    99         SetWindowTheme          = _SetWindowTheme@12                    @90
     72        GetThemeIntList         = "_GetThemeIntList@20"                 @64
     73        GetThemeMargins         = "_GetThemeMargins@28"                 @65
     74        GetThemeMetric          = "_GetThemeMetric@24"                  @66
     75        GetThemePartSize        = "_GetThemePartSize@28"                @67
     76        GetThemePosition        = "_GetThemePosition@20"                @68
     77        GetThemePropertyOrigin  = "_GetThemePropertyOrigin@20"          @69
     78        GetThemeRect            = "_GetThemeRect@20"                    @70
     79        GetThemeString          = "_GetThemeString@24"                  @71
     80        GetThemeSysBool         = "_GetThemeSysBool@8"                  @72
     81        GetThemeSysColor        = "_GetThemeSysColor@8"                 @73
     82        GetThemeSysColorBrush   = "_GetThemeSysColorBrush@8"            @74
     83        GetThemeSysFont         = "_GetThemeSysFont@12"                 @75
     84        GetThemeSysInt          = "_GetThemeSysInt@12"                  @76
     85        GetThemeSysSize         = "_GetThemeSysSize@8"                  @77
     86        GetThemeSysString       = "_GetThemeSysString@16"               @78
     87        GetThemeTextExtent      = "_GetThemeTextExtent@36"              @79
     88        GetThemeTextMetrics     = "_GetThemeTextMetrics@20"             @80
     89        GetWindowTheme          = "_GetWindowTheme@4"                   @81
     90        HitTestThemeBackground  = "_HitTestThemeBackground@40"          @82
     91        IsAppThemed             = "_IsAppThemed@0"                      @83
     92        IsThemeActive           = "_IsThemeActive@0"                    @84
     93        IsThemeBackgroundPartiallyTransparent = "_IsThemeBackgroundPartiallyTransparent@12" @85
     94        IsThemeDialogTextureEnabled = "_IsThemeDialogTextureEnabled@0"  @86
     95        IsThemePartDefined      = "_IsThemePartDefined@12"              @87
     96        OpenThemeData           = "_OpenThemeData@8"                    @88
     97        SetThemeAppProperties   = "_SetThemeAppProperties@4"            @89
     98        SetWindowTheme          = "_SetWindowTheme@12"                  @90
    10099
  • branches/gcc-kmk/src/vdmdbg/vdmdbg.cpp

    r6641 r21899  
    4949    )
    5050{
    51     dprintf(("VDMDBG: " __FUNCTION__ "(%x) - stub\n", lpDebugEvent));
     51    dprintf(("VDMDBG: %s(%x) - stub\n", __FUNCTION__, lpDebugEvent));
    5252    return FALSE;
    5353}
     
    6666    )
    6767{
    68     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x) - stub\n", hProcess, hThread, wSelector, lpSelectorEntry));
     68    dprintf(("VDMDBG: %s(%x, %x, %x, %x) - stub\n", __FUNCTION__, hProcess, hThread, wSelector, lpSelectorEntry));
    6969    return FALSE;
    7070}
     
    8585    )
    8686{
    87     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n", hProcess, hThread, wSelector, dwOffset, fProtMode));
     87    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__, hProcess, hThread, wSelector, dwOffset, fProtMode));
    8888    return NULL;
    8989}
     
    101101)
    102102{
    103     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", lpDebugEvent, lpVDMContext));
     103    dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, lpDebugEvent, lpVDMContext));
    104104    return FALSE;
    105105}
     
    117117)
    118118{
    119     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", lpDebugEvent, lpVDMContext));
     119    dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, lpDebugEvent, lpVDMContext));
    120120    return FALSE;
    121121}
     
    133133    )
    134134{
    135     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x) - stub\n", hProcess, hThread, lpVDMContext));
     135    dprintf(("VDMDBG: %s(%x, %x, %x) - stub\n", __FUNCTION__, hProcess, hThread, lpVDMContext));
    136136    return FALSE;
    137137}
     
    149149    )
    150150{
    151     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x) - stub\n", hProcess, hThread, lpVDMContext));
     151    dprintf(("VDMDBG: %s(%x, %x, %x) - stub\n", __FUNCTION__, hProcess, hThread, lpVDMContext));
    152152    return FALSE;
    153153}
     
    170170)
    171171{
    172     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x, %x, %x, %x) - stub\n",
     172    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    173173             hProcess, hThread, wSelector, lpSegmentNumber, lpModuleName, nNameSize, lpModulePath, nPathSize));
    174174    return FALSE;
     
    190190)
    191191{
    192     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",
     192    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    193193             hProcess, hThread, wSegmentNumber, lpModuleName, lpSelector));
    194194    return FALSE;
     
    209209)
    210210{
    211     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",
     211    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    212212             hProcess, hThread, lpModuleEntry, lpEventProc, lpData));
    213213    return FALSE;
     
    229229)
    230230{
    231     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",
     231    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    232232             hProcess, hThread, lpModuleEntry, lpEventProc, lpData));
    233233    return FALSE;
     
    250250)
    251251{
    252     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x, %x) - stub\n",
     252    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    253253             hProcess, hThread, lpGlobalEntry, wFlags, lpEventProc, lpData));
    254254    return FALSE;
     
    270270)
    271271{
    272     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x, %x) - stub\n",
     272    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    273273             hProcess, hThread, lpGlobalEntry, wFlags, lpEventProc, lpData));
    274274    return FALSE;
     
    290290)
    291291{
    292     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", fp, lparam));
     292    dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, fp, lparam));
    293293    return 0;
    294294}
     
    310310)
    311311{
    312     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x) - stub\n", dwProcessId, fp, lparam));
     312    dprintf(("VDMDBG: %s(%x, %x, %x) - stub\n", __FUNCTION__, dwProcessId, fp, lparam));
    313313    return 0;
    314314}
     
    332332)
    333333{
    334     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x) - stub\n", dwProcessId, fp, lparam));
     334    dprintf(("VDMDBG: %s(%x, %x, %x) - stub\n", __FUNCTION__, dwProcessId, fp, lparam));
    335335    return 0;
    336336}
     
    351351)
    352352{
    353     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", dwProcessId, htask));
     353    dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, dwProcessId, htask));
    354354    return FALSE;
    355355}
     
    380380)
    381381{
    382     dprintf(("VDMDBG: " __FUNCTION__ " (%x, %s, %x) - stub\n", dwProcessId, lpCommandLine, wShow));
     382    dprintf(("VDMDBG: %s (%x, %s, %x) - stub\n", __FUNCTION__, dwProcessId, lpCommandLine, wShow));
    383383    return FALSE;
    384384}
     
    394394BOOL WIN32API VDMKillWOW(VOID)
    395395{
    396     dprintf(("VDMDBG: " __FUNCTION__ " - stub\n"));
     396    dprintf(("VDMDBG: %s - stub\n", __FUNCTION__));
    397397    return FALSE;
    398398}
     
    408408BOOL WIN32API VDMDetectWOW(VOID)
    409409{
    410     dprintf(("VDMDBG: " __FUNCTION__ " - stub\n"));
     410    dprintf(("VDMDBG: %s - stub\n", __FUNCTION__));
    411411    return FALSE;
    412412}
     
    425425)
    426426{
    427     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", hProcess, hThread));
     427    dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, hProcess, hThread));
    428428    return FALSE;
    429429}
     
    440440    )
    441441{
    442     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", hProcess));
     442    dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, hProcess));
    443443    return 0;
    444444}
     
    455455    )
    456456{
    457     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", hProcess, dwFlags));
     457    dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, hProcess, dwFlags));
    458458    return FALSE;
    459459}
     
    469469    )
    470470{
    471     dprintf(("VDMDBG: " __FUNCTION__ "(%s) - stub\n", szPath));
     471    dprintf(("VDMDBG: %s(%s) - stub\n", __FUNCTION__, szPath));
    472472    return FALSE;
    473473}
     
    486486    )
    487487{
    488     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x) - stub\n", Selector, Offset, bProtectMode, pSegInfo));
     488    dprintf(("VDMDBG: %s(%x, %x, %x, %x) - stub\n", __FUNCTION__, Selector, Offset, bProtectMode, pSegInfo));
    489489    return FALSE;
    490490}
     
    513513    )
    514514{
    515     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x, %x, %x) - stub\n",
     515    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    516516             pszModule, SegNumber, Offset, bProtectMode, bNextSymbol, szSymbolName, pDisplacement));
    517517    return FALSE;
     
    532532    )
    533533{
    534     dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",
     534    dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__,
    535535             szModule, szSymbol, Selector, Offset, Type));
    536536    return FALSE;
  • branches/gcc-kmk/src/vdmdbg/vdmdbg.def

    r5984 r21899  
    99; Exports as defined by NT4 sp6
    1010; -----------------------------
    11         VDMBreakThread            = _VDMBreakThread@8                   @1
    12         VDMDetectWOW              = _VDMDetectWOW@0                     @2
    13         VDMEnumProcessWOW         = _VDMEnumProcessWOW@8                @3
    14         VDMEnumTaskWOW            = _VDMEnumTaskWOW@12                  @4
    15         VDMEnumTaskWOWEx          = _VDMEnumTaskWOWEx@12                @5
    16         VDMGetModuleSelector      = _VDMGetModuleSelector@20            @6
    17         VDMGetPointer             = _VDMGetPointer@20                   @7
    18         VDMGetSelectorModule      = _VDMGetSelectorModule@32            @8
    19         VDMGetThreadContext       = _VDMGetThreadContext@8              @9
    20         VDMGetThreadSelectorEntry = _VDMGetThreadSelectorEntry@16       @10
    21         VDMGlobalFirst            = _VDMGlobalFirst@24                  @11
    22         VDMGlobalNext             = _VDMGlobalNext@24                   @12
    23         VDMKillWOW                = _VDMKillWOW@0                       @13
    24         VDMModuleFirst            = _VDMModuleFirst@20                  @14
    25         VDMModuleNext             = _VDMModuleNext@20                   @15
    26         VDMProcessException       = _VDMProcessException@4              @16
    27         VDMSetThreadContext       = _VDMSetThreadContext@8              @17
    28         VDMStartTaskInWOW         = _VDMStartTaskInWOW@12               @18
    29         VDMTerminateTaskWOW       = _VDMTerminateTaskWOW@8              @19
     11        VDMBreakThread            = "_VDMBreakThread@8"                 @1
     12        VDMDetectWOW              = "_VDMDetectWOW@0"                   @2
     13        VDMEnumProcessWOW         = "_VDMEnumProcessWOW@8"              @3
     14        VDMEnumTaskWOW            = "_VDMEnumTaskWOW@12"                @4
     15        VDMEnumTaskWOWEx          = "_VDMEnumTaskWOWEx@12"              @5
     16        VDMGetModuleSelector      = "_VDMGetModuleSelector@20"          @6
     17        VDMGetPointer             = "_VDMGetPointer@20"                 @7
     18        VDMGetSelectorModule      = "_VDMGetSelectorModule@32"          @8
     19        VDMGetThreadContext       = "_VDMGetThreadContext@8"            @9
     20        VDMGetThreadSelectorEntry = "_VDMGetThreadSelectorEntry@16"     @10
     21        VDMGlobalFirst            = "_VDMGlobalFirst@24"                @11
     22        VDMGlobalNext             = "_VDMGlobalNext@24"                 @12
     23        VDMKillWOW                = "_VDMKillWOW@0"                     @13
     24        VDMModuleFirst            = "_VDMModuleFirst@20"                @14
     25        VDMModuleNext             = "_VDMModuleNext@20"                 @15
     26        VDMProcessException       = "_VDMProcessException@4"            @16
     27        VDMSetThreadContext       = "_VDMSetThreadContext@8"            @17
     28        VDMStartTaskInWOW         = "_VDMStartTaskInWOW@12"             @18
     29        VDMTerminateTaskWOW       = "_VDMTerminateTaskWOW@8"            @19
    3030
    3131; -----------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.