Changeset 21899 for branches/gcc-kmk/src
- Timestamp:
- Dec 15, 2011, 5:15:52 PM (14 years ago)
- Location:
- branches/gcc-kmk/src
- Files:
-
- 2 added
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/Makefile.kmk
r21898 r21899 73 73 include $(PATH_SUB_CURRENT)/twain_32/Makefile.kmk 74 74 include $(PATH_SUB_CURRENT)/urlmon/Makefile.kmk 75 include $(PATH_SUB_CURRENT)/uxtheme/Makefile.kmk 76 include $(PATH_SUB_CURRENT)/vdmdbg/Makefile.kmk 75 77 76 78 include $(FILE_KBUILD_SUB_FOOTER) -
branches/gcc-kmk/src/uxtheme/initterm.cpp
r21842 r21899 1 /* $Id: init uxtheme.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 $ */ 2 2 /* 3 * DLL entry point3 * UXTHEME DLL entry point 4 4 * 5 5 * Copyright 1998 Sander van Leeuwen 6 6 * Copyright 1998 Peter Fitzsimmons 7 7 * 8 *9 8 * Project Odin Software License can be found in LICENSE.TXT 10 *11 9 */ 12 10 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 */26 11 #define INCL_DOSMODULEMGR 27 12 #define INCL_DOSPROCESS … … 37 22 #include <initdll.h> 38 23 39 extern "C" { 40 //Win32 resource table (produced by wrc) 41 extern DWORD uxtheme_PEResTab; 42 } 24 // Win32 resource table (produced by wrc) 25 extern DWORD uxtheme_PEResTab; 43 26 44 27 static HMODULE dllHandle = 0; 45 28 46 //******************************************************************************47 //******************************************************************************48 29 BOOL WINAPI LibMainUxTheme(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 49 30 { 50 31 switch (fdwReason) 51 32 { 52 53 54 55 56 33 case DLL_PROCESS_ATTACH: 34 case DLL_THREAD_ATTACH: 35 case DLL_THREAD_DETACH: 36 case DLL_PROCESS_DETACH: 37 return TRUE; 57 38 } 58 39 return FALSE; 59 40 } 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 42 ULONG SYSTEM DLL_InitUxTheme(ULONG hModule) 69 43 { 70 APIRET rc;44 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 71 45 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; 77 49 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; 97 51 } 98 52 53 void SYSTEM DLL_TermUxTheme(ULONG hModule) 54 { 55 if (dllHandle) 56 UnregisterLxDll(dllHandle); 57 } 58 59 ULONG SYSTEM DLL_Init(ULONG hModule) 60 { 61 if (DLL_InitDefault(hModule) == -1) 62 return -1; 63 return DLL_InitUxTheme(hModule); 64 } 65 66 void SYSTEM DLL_Term(ULONG hModule) 67 { 68 DLL_TermUxTheme(hModule); 69 DLL_TermDefault(hModule); 70 } -
branches/gcc-kmk/src/uxtheme/uxtheme.cpp
r8220 r21899 429 429 ) 430 430 { 431 dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n", hTheme));431 dprintf(("UXTHEME: %s(%x) - stub\n", __FUNCTION__, hTheme)); 432 432 return S_OK; 433 433 } … … 455 455 ) 456 456 { 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__, 458 459 hTheme, 459 460 hdc, … … 491 492 ) 492 493 { 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__, 494 496 hTheme, 495 497 hdc, … … 529 531 ) 530 532 { 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__, 532 535 hTheme, 533 536 hdc, … … 556 559 ) 557 560 { 558 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n", 561 dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n", 562 __FUNCTION__, 559 563 hwnd, 560 564 hdc, … … 591 595 ) 592 596 { 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__, 594 599 hTheme, 595 600 hdc, … … 618 623 ) 619 624 { 620 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n", 625 dprintf(("UXTHEME: %s(%x,%x) - stub\n", 626 __FUNCTION__, 621 627 hwnd, 622 628 dwFlags)); … … 636 642 ) 637 643 { 638 dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n", 644 dprintf(("UXTHEME: %s(%x) - stub\n", 645 __FUNCTION__, 639 646 fEnable)); 640 647 return S_OK; … … 663 670 ) 664 671 { 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__, 666 674 pszThemeFileName, 667 675 dwMaxNameChars, … … 682 690 DWORD WIN32API GetThemeAppProperties(VOID) 683 691 { 684 dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));692 dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__)); 685 693 return 0; 686 694 } … … 708 716 ) 709 717 { 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__, 711 720 hTheme, 712 721 hdc, … … 740 749 ) 741 750 { 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__, 743 753 hTheme, 744 754 hdc, … … 772 782 ) 773 783 { 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__, 775 786 hTheme, 776 787 hdc, … … 802 813 ) 803 814 { 804 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 815 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 816 __FUNCTION__, 805 817 hTheme, 806 818 iPartId, … … 831 843 ) 832 844 { 833 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 845 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 846 __FUNCTION__, 834 847 hTheme, 835 848 iPartId, … … 858 871 ) 859 872 { 860 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x) - stub\n", 873 dprintf(("UXTHEME: %s(%x,%x,%x,%x) - stub\n", 874 __FUNCTION__, 861 875 pszThemeName, 862 876 pszPropertyName, … … 886 900 ) 887 901 { 888 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 902 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 903 __FUNCTION__, 889 904 hTheme, 890 905 iPartId, … … 917 932 ) 918 933 { 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__, 920 936 hTheme, 921 937 iPartId, … … 949 965 ) 950 966 { 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__, 952 969 hTheme, 953 970 hdc, … … 979 996 ) 980 997 { 981 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 998 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 999 __FUNCTION__, 982 1000 hTheme, 983 1001 iPartId, … … 1008 1026 ) 1009 1027 { 1010 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 1028 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 1029 __FUNCTION__, 1011 1030 hTheme, 1012 1031 iPartId, … … 1041 1060 ) 1042 1061 { 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__, 1044 1064 hTheme, 1045 1065 hdc, … … 1074 1094 ) 1075 1095 { 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__, 1077 1098 hTheme, 1078 1099 hdc, … … 1108 1129 ) 1109 1130 { 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__, 1111 1133 hTheme, 1112 1134 hdc, … … 1139 1161 ) 1140 1162 { 1141 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 1163 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 1164 __FUNCTION__, 1142 1165 hTheme, 1143 1166 iPartId, … … 1168 1191 ) 1169 1192 { 1170 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 1193 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 1194 __FUNCTION__, 1171 1195 hTheme, 1172 1196 iPartId, … … 1197 1221 ) 1198 1222 { 1199 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 1223 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 1224 __FUNCTION__, 1200 1225 hTheme, 1201 1226 iPartId, … … 1228 1253 ) 1229 1254 { 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__, 1231 1257 hTheme, 1232 1258 iPartId, … … 1252 1278 ) 1253 1279 { 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__, 1255 1282 hTheme, 1256 1283 iBoolID)); … … 1272 1299 ) 1273 1300 { 1274 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n", 1301 dprintf(("UXTHEME: %s(%x,%x) - stub\n", 1302 __FUNCTION__, 1275 1303 hTheme, 1276 1304 iColorID)); … … 1292 1320 ) 1293 1321 { 1294 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n", 1322 dprintf(("UXTHEME: %s(%x,%x) - stub\n", 1323 __FUNCTION__, 1295 1324 hTheme, 1296 1325 iColorID)); … … 1315 1344 ) 1316 1345 { 1317 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n", 1346 dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n", 1347 __FUNCTION__, 1318 1348 hTheme, 1319 1349 iFontID, … … 1338 1368 ) 1339 1369 { 1340 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n", 1370 dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n", 1371 __FUNCTION__, 1341 1372 hTheme, 1342 1373 iIntID, … … 1359 1390 ) 1360 1391 { 1361 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x) - stub\n", 1392 dprintf(("UXTHEME: %s(%x,%x) - stub\n", 1393 __FUNCTION__, 1362 1394 hTheme, 1363 1395 iSizeID)); … … 1383 1415 ) 1384 1416 { 1385 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x) - stub\n", 1417 dprintf(("UXTHEME: %s(%x,%x,%x,%x) - stub\n", 1418 __FUNCTION__, 1386 1419 hTheme, 1387 1420 iStringID, … … 1419 1452 ) 1420 1453 { 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__, 1422 1456 hTheme, 1423 1457 hdc, … … 1452 1486 ) 1453 1487 { 1454 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x,%x,%x) - stub\n", 1488 dprintf(("UXTHEME: %s(%x,%x,%x,%x,%x) - stub\n", 1489 __FUNCTION__, 1455 1490 hTheme, 1456 1491 hdc, … … 1473 1508 ) 1474 1509 { 1475 dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n", 1510 dprintf(("UXTHEME: %s(%x) - stub\n", 1511 __FUNCTION__, 1476 1512 hWnd)); 1477 1513 return NULL; … … 1506 1542 ) 1507 1543 { 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__, 1509 1546 hTheme, 1510 1547 hdc, … … 1528 1565 BOOL WIN32API IsAppThemed(VOID) 1529 1566 { 1530 dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));1567 dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__)); 1531 1568 return FALSE; 1532 1569 } … … 1542 1579 BOOL WIN32API IsThemeActive(VOID) 1543 1580 { 1544 dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));1581 dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__)); 1545 1582 return FALSE; 1546 1583 } … … 1562 1599 ) 1563 1600 { 1564 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n", 1601 dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n", 1602 __FUNCTION__, 1565 1603 hTheme, 1566 1604 iPartId, … … 1577 1615 BOOL WIN32API IsThemeDialogTextureEnabled(VOID) 1578 1616 { 1579 dprintf(("UXTHEME: " __FUNCTION__ "() - stub\n"));1617 dprintf(("UXTHEME: %s() - stub\n", __FUNCTION__)); 1580 1618 return FALSE; 1581 1619 } … … 1597 1635 ) 1598 1636 { 1599 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n", 1637 dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n", 1638 __FUNCTION__, 1600 1639 hTheme, 1601 1640 iPartId, … … 1618 1657 ) 1619 1658 { 1620 dprintf(("UXTHEME: " __FUNCTION__ "(%x, %x) - stub - returns NULL\n", 1659 dprintf(("UXTHEME: %s(%x, %x) - stub - returns NULL\n", 1660 __FUNCTION__, 1621 1661 hwnd, 1622 1662 pszClassList)); … … 1636 1676 ) 1637 1677 { 1638 dprintf(("UXTHEME: " __FUNCTION__ "(%x) - stub\n", 1678 dprintf(("UXTHEME: %s(%x) - stub\n", 1679 __FUNCTION__, 1639 1680 dwFlags)); 1640 1681 } … … 1656 1697 ) 1657 1698 { 1658 dprintf(("UXTHEME: " __FUNCTION__ "(%x,%x,%x) - stub\n", 1699 dprintf(("UXTHEME: %s(%x,%x,%x) - stub\n", 1700 __FUNCTION__, 1659 1701 hwnd, 1660 1702 pszSubAppName, -
branches/gcc-kmk/src/uxtheme/uxtheme.def
r8220 r21899 3 3 DESCRIPTION 'Odin32 System DLL - UxTheme' 4 4 5 PROTMODE6 5 DATA MULTIPLE NONSHARED READWRITE LOADONCALL 7 6 CODE LOADONCALL … … 12 11 ; Entry 3: Offset: 000259F5 (0) EXPORTED 13 12 ; 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) 16 15 ; Entry 7: Offset: 00025E18 (0) EXPORTED 17 16 ; Entry 8: Offset: 00025A50 (0) EXPORTED … … 19 18 ; Entry 10: Offset: 0000A8B2 (0) EXPORTED 20 19 ; 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) 22 21 ; Entry 13: Offset: 0001D0A8 (0) EXPORTED 23 22 ; Entry 14: Offset: 000261D4 (0) EXPORTED … … 44 43 ; Entry 35: Offset: 0001C606 (0) EXPORTED 45 44 ; 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@4245 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 52 51 ; Entry 43: Offset: 0000293F (0) EXPORTED 53 52 ; Entry 44: Offset: 00003C54 (0) EXPORTED … … 56 55 ; Entry 47: Offset: 000047EB (0) EXPORTED 57 56 ; Entry 48: Offset: 00026355 (0) EXPORTED 58 GetThemeAppProperties = _GetThemeAppProperties@0@4959 GetThemeBackgroundContentRect = _GetThemeBackgroundContentRect@24@5060 GetThemeBackgroundExtent = _GetThemeBackgroundExtent@24@5161 GetThemeBackgroundRegion = _GetThemeBackgroundRegion@24@5262 GetThemeBool = _GetThemeBool@20@5363 GetThemeColor = _GetThemeColor@20@5464 GetThemeDocumentationProperty = _GetThemeDocumentationProperty@16@5565 GetThemeEnumValue = _GetThemeEnumValue@20@5666 GetThemeFilename = _GetThemeFilename@24@5767 GetThemeFont = _GetThemeFont@24@5868 GetThemeInt = _GetThemeInt@20@5957 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 69 68 ; Entry 60: Offset: 0002647E (0) EXPORTED 70 69 ; Entry 61: Offset: 0001A8C5 (0) EXPORTED 71 70 ; Entry 62: Offset: 0001C368 (0) EXPORTED 72 71 ; Entry 63: Offset: 0002561F (0) EXPORTED 73 GetThemeIntList = _GetThemeIntList@20@6474 GetThemeMargins = _GetThemeMargins@28@6575 GetThemeMetric = _GetThemeMetric@24@6676 GetThemePartSize = _GetThemePartSize@28@6777 GetThemePosition = _GetThemePosition@20@6878 GetThemePropertyOrigin = _GetThemePropertyOrigin@20@6979 GetThemeRect = _GetThemeRect@20@7080 GetThemeString = _GetThemeString@24@7181 GetThemeSysBool = _GetThemeSysBool@8@7282 GetThemeSysColor = _GetThemeSysColor@8@7383 GetThemeSysColorBrush = _GetThemeSysColorBrush@8@7484 GetThemeSysFont = _GetThemeSysFont@12@7585 GetThemeSysInt = _GetThemeSysInt@12@7686 GetThemeSysSize = _GetThemeSysSize@8@7787 GetThemeSysString = _GetThemeSysString@16@7888 GetThemeTextExtent = _GetThemeTextExtent@36@7989 GetThemeTextMetrics = _GetThemeTextMetrics@20@8090 GetWindowTheme = _GetWindowTheme@4@8191 HitTestThemeBackground = _HitTestThemeBackground@40@8292 IsAppThemed = _IsAppThemed@0@8393 IsThemeActive = _IsThemeActive@0@8494 IsThemeBackgroundPartiallyTransparent = _IsThemeBackgroundPartiallyTransparent@12@8595 IsThemeDialogTextureEnabled = _IsThemeDialogTextureEnabled@0@8696 IsThemePartDefined = _IsThemePartDefined@12@8797 OpenThemeData = _OpenThemeData@8@8898 SetThemeAppProperties = _SetThemeAppProperties@4@8999 SetWindowTheme = _SetWindowTheme@12@9072 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 100 99 -
branches/gcc-kmk/src/vdmdbg/vdmdbg.cpp
r6641 r21899 49 49 ) 50 50 { 51 dprintf(("VDMDBG: " __FUNCTION__ "(%x) - stub\n", lpDebugEvent));51 dprintf(("VDMDBG: %s(%x) - stub\n", __FUNCTION__, lpDebugEvent)); 52 52 return FALSE; 53 53 } … … 66 66 ) 67 67 { 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)); 69 69 return FALSE; 70 70 } … … 85 85 ) 86 86 { 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)); 88 88 return NULL; 89 89 } … … 101 101 ) 102 102 { 103 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", lpDebugEvent, lpVDMContext));103 dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, lpDebugEvent, lpVDMContext)); 104 104 return FALSE; 105 105 } … … 117 117 ) 118 118 { 119 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", lpDebugEvent, lpVDMContext));119 dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, lpDebugEvent, lpVDMContext)); 120 120 return FALSE; 121 121 } … … 133 133 ) 134 134 { 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)); 136 136 return FALSE; 137 137 } … … 149 149 ) 150 150 { 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)); 152 152 return FALSE; 153 153 } … … 170 170 ) 171 171 { 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__, 173 173 hProcess, hThread, wSelector, lpSegmentNumber, lpModuleName, nNameSize, lpModulePath, nPathSize)); 174 174 return FALSE; … … 190 190 ) 191 191 { 192 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",192 dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__, 193 193 hProcess, hThread, wSegmentNumber, lpModuleName, lpSelector)); 194 194 return FALSE; … … 209 209 ) 210 210 { 211 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",211 dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__, 212 212 hProcess, hThread, lpModuleEntry, lpEventProc, lpData)); 213 213 return FALSE; … … 229 229 ) 230 230 { 231 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",231 dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__, 232 232 hProcess, hThread, lpModuleEntry, lpEventProc, lpData)); 233 233 return FALSE; … … 250 250 ) 251 251 { 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__, 253 253 hProcess, hThread, lpGlobalEntry, wFlags, lpEventProc, lpData)); 254 254 return FALSE; … … 270 270 ) 271 271 { 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__, 273 273 hProcess, hThread, lpGlobalEntry, wFlags, lpEventProc, lpData)); 274 274 return FALSE; … … 290 290 ) 291 291 { 292 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", fp, lparam));292 dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, fp, lparam)); 293 293 return 0; 294 294 } … … 310 310 ) 311 311 { 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)); 313 313 return 0; 314 314 } … … 332 332 ) 333 333 { 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)); 335 335 return 0; 336 336 } … … 351 351 ) 352 352 { 353 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", dwProcessId, htask));353 dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, dwProcessId, htask)); 354 354 return FALSE; 355 355 } … … 380 380 ) 381 381 { 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)); 383 383 return FALSE; 384 384 } … … 394 394 BOOL WIN32API VDMKillWOW(VOID) 395 395 { 396 dprintf(("VDMDBG: " __FUNCTION__ " - stub\n"));396 dprintf(("VDMDBG: %s - stub\n", __FUNCTION__)); 397 397 return FALSE; 398 398 } … … 408 408 BOOL WIN32API VDMDetectWOW(VOID) 409 409 { 410 dprintf(("VDMDBG: " __FUNCTION__ " - stub\n"));410 dprintf(("VDMDBG: %s - stub\n", __FUNCTION__)); 411 411 return FALSE; 412 412 } … … 425 425 ) 426 426 { 427 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", hProcess, hThread));427 dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, hProcess, hThread)); 428 428 return FALSE; 429 429 } … … 440 440 ) 441 441 { 442 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", hProcess));442 dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, hProcess)); 443 443 return 0; 444 444 } … … 455 455 ) 456 456 { 457 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x) - stub\n", hProcess, dwFlags));457 dprintf(("VDMDBG: %s(%x, %x) - stub\n", __FUNCTION__, hProcess, dwFlags)); 458 458 return FALSE; 459 459 } … … 469 469 ) 470 470 { 471 dprintf(("VDMDBG: " __FUNCTION__ "(%s) - stub\n", szPath));471 dprintf(("VDMDBG: %s(%s) - stub\n", __FUNCTION__, szPath)); 472 472 return FALSE; 473 473 } … … 486 486 ) 487 487 { 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)); 489 489 return FALSE; 490 490 } … … 513 513 ) 514 514 { 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__, 516 516 pszModule, SegNumber, Offset, bProtectMode, bNextSymbol, szSymbolName, pDisplacement)); 517 517 return FALSE; … … 532 532 ) 533 533 { 534 dprintf(("VDMDBG: " __FUNCTION__ "(%x, %x, %x, %x, %x) - stub\n",534 dprintf(("VDMDBG: %s(%x, %x, %x, %x, %x) - stub\n", __FUNCTION__, 535 535 szModule, szSymbol, Selector, Offset, Type)); 536 536 return FALSE; -
branches/gcc-kmk/src/vdmdbg/vdmdbg.def
r5984 r21899 9 9 ; Exports as defined by NT4 sp6 10 10 ; ----------------------------- 11 VDMBreakThread = _VDMBreakThread@8@112 VDMDetectWOW = _VDMDetectWOW@0@213 VDMEnumProcessWOW = _VDMEnumProcessWOW@8@314 VDMEnumTaskWOW = _VDMEnumTaskWOW@12@415 VDMEnumTaskWOWEx = _VDMEnumTaskWOWEx@12@516 VDMGetModuleSelector = _VDMGetModuleSelector@20@617 VDMGetPointer = _VDMGetPointer@20@718 VDMGetSelectorModule = _VDMGetSelectorModule@32@819 VDMGetThreadContext = _VDMGetThreadContext@8@920 VDMGetThreadSelectorEntry = _VDMGetThreadSelectorEntry@16@1021 VDMGlobalFirst = _VDMGlobalFirst@24@1122 VDMGlobalNext = _VDMGlobalNext@24@1223 VDMKillWOW = _VDMKillWOW@0@1324 VDMModuleFirst = _VDMModuleFirst@20@1425 VDMModuleNext = _VDMModuleNext@20@1526 VDMProcessException = _VDMProcessException@4@1627 VDMSetThreadContext = _VDMSetThreadContext@8@1728 VDMStartTaskInWOW = _VDMStartTaskInWOW@12@1829 VDMTerminateTaskWOW = _VDMTerminateTaskWOW@8@1911 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 30 30 31 31 ; -----------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.