Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

407 lines
12 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. AppSpecific.cpp
  5. Abstract:
  6. Notes:
  7. History:
  8. 10/28/2000 markder Created
  9. --*/
  10. #include "precomp.h"
  11. #include "ShimHookMacro.h"
  12. DECLARE_SHIM(3DFrogFrenzy)
  13. DECLARE_SHIM(Acrobat5)
  14. DECLARE_SHIM(AdobeLiveMotion)
  15. DECLARE_SHIM(AfterDark)
  16. DECLARE_SHIM(AliensVsPredator)
  17. DECLARE_SHIM(AOLFindBundledInstaller)
  18. DECLARE_SHIM(AOLRasSetEntryProperties)
  19. DECLARE_SHIM(AOLSystemInfo)
  20. DECLARE_SHIM(Attune)
  21. DECLARE_SHIM(AutoCad)
  22. DECLARE_SHIM(AutoDeskWorld2)
  23. DECLARE_SHIM(BaanERP5)
  24. DECLARE_SHIM(BaanERP5c)
  25. DECLARE_SHIM(BaanIV)
  26. DECLARE_SHIM(BackOffice45Suite)
  27. DECLARE_SHIM(BaseBall2000)
  28. DECLARE_SHIM(Battleship)
  29. DECLARE_SHIM(BattleZone)
  30. DECLARE_SHIM(BeyondAtlantis)
  31. DECLARE_SHIM(BigActionConstruction)
  32. DECLARE_SHIM(BigGameHunter3)
  33. DECLARE_SHIM(BizPlanBuilder)
  34. DECLARE_SHIM(BoeingFix)
  35. DECLARE_SHIM(Britannica2001)
  36. DECLARE_SHIM(Canvas6)
  37. DECLARE_SHIM(CanvasCheckedButtons)
  38. DECLARE_SHIM(Casper)
  39. DECLARE_SHIM(ChemOffice)
  40. DECLARE_SHIM(Chollian2000)
  41. DECLARE_SHIM(Chollian2000Plus)
  42. DECLARE_SHIM(ClueFinders3rdGrade)
  43. DECLARE_SHIM(CoffeeCupHTMLEditor)
  44. DECLARE_SHIM(Commandos)
  45. DECLARE_SHIM(Cossacks)
  46. DECLARE_SHIM(ComptonsBible)
  47. DECLARE_SHIM(CorelAppsRegistration)
  48. DECLARE_SHIM(CorelDraw9JPN)
  49. DECLARE_SHIM(CorelSiteBuilder)
  50. DECLARE_SHIM(CreateResumesQuickandEasy)
  51. DECLARE_SHIM(CreativeOnScreenDisplay)
  52. DECLARE_SHIM(CrystalWebPageServer)
  53. DECLARE_SHIM(CUSeeMe4)
  54. DECLARE_SHIM(Descent2)
  55. DECLARE_SHIM(DinosaurActivityCenter)
  56. DECLARE_SHIM(DirtTrackRacing)
  57. DECLARE_SHIM(DominantSpecies)
  58. DECLARE_SHIM(DongFangKuaiChe3000Setup)
  59. DECLARE_SHIM(DongFangYingDu)
  60. DECLARE_SHIM(DrEye)
  61. DECLARE_SHIM(EA3dSetup)
  62. DECLARE_SHIM(EasyCDCreator4)
  63. DECLARE_SHIM(EasyCDCreator5)
  64. DECLARE_SHIM(EncartaEncyclopediaDeluxe2K)
  65. DECLARE_SHIM(EncompassMonitor)
  66. DECLARE_SHIM(EuropeanAirWar)
  67. DECLARE_SHIM(ExchangeServerSetup)
  68. DECLARE_SHIM(F18Carrier)
  69. DECLARE_SHIM(FireFighters)
  70. DECLARE_SHIM(Force21)
  71. DECLARE_SHIM(Gangsters)
  72. DECLARE_SHIM(Gizmos)
  73. DECLARE_SHIM(HeroSDVD)
  74. DECLARE_SHIM(HotFaxMessageCenter4)
  75. DECLARE_SHIM(HoyleGames)
  76. DECLARE_SHIM(HPTourGuide)
  77. DECLARE_SHIM(HTMLEditor8587)
  78. DECLARE_SHIM(IConfig)
  79. DECLARE_SHIM(IE5DOMSetup)
  80. DECLARE_SHIM(InstallShield6)
  81. DECLARE_SHIM(IntelVideoPhone)
  82. DECLARE_SHIM(ISA)
  83. DECLARE_SHIM(ISpeed)
  84. DECLARE_SHIM(JavaVM)
  85. DECLARE_SHIM(JavaVM2)
  86. DECLARE_SHIM(JetFighter4)
  87. DECLARE_SHIM(Keisoku7)
  88. DECLARE_SHIM(Khunmin2Album)
  89. DECLARE_SHIM(KingsQuestMask)
  90. DECLARE_SHIM(KOEISecurityCheck)
  91. DECLARE_SHIM(LHVoiceXPressPlus)
  92. DECLARE_SHIM(LinksExtreme)
  93. DECLARE_SHIM(LotusOrganizer5)
  94. DECLARE_SHIM(MahjonggMadness)
  95. DECLARE_SHIM(MastersOfOrion2)
  96. DECLARE_SHIM(MathBlaster9_12)
  97. DECLARE_SHIM(MaxPayne)
  98. DECLARE_SHIM(MECCommander)
  99. DECLARE_SHIM(MechWarrior2)
  100. DECLARE_SHIM(MidTownMadness2)
  101. DECLARE_SHIM(Millionaire)
  102. DECLARE_SHIM(MindSpring4)
  103. DECLARE_SHIM(ModemWizard)
  104. DECLARE_SHIM(Money2001)
  105. DECLARE_SHIM(Money2002)
  106. DECLARE_SHIM(MSAccess2000IME)
  107. DECLARE_SHIM(MSDevDisabledButtons)
  108. DECLARE_SHIM(MSWorks6)
  109. DECLARE_SHIM(MyPhotoCenter2)
  110. DECLARE_SHIM(NBALive)
  111. DECLARE_SHIM(NetObjectsFusion5)
  112. DECLARE_SHIM(NetManageViewNow)
  113. DECLARE_SHIM(NetZip)
  114. DECLARE_SHIM(NewShenDiaoXiaLv)
  115. DECLARE_SHIM(NFLBlitz)
  116. DECLARE_SHIM(NFLFever2000)
  117. DECLARE_SHIM(NHL2001)
  118. DECLARE_SHIM(NikonView)
  119. DECLARE_SHIM(Omikron)
  120. DECLARE_SHIM(OmniPage)
  121. DECLARE_SHIM(OmniPagePro11Uninstall)
  122. DECLARE_SHIM(OperationsManager)
  123. DECLARE_SHIM(Outlook2000)
  124. DECLARE_SHIM(Outlook97)
  125. DECLARE_SHIM(Outlook98Wizard)
  126. DECLARE_SHIM(OverlayPro)
  127. DECLARE_SHIM(PanzerCommander)
  128. DECLARE_SHIM(Petz)
  129. DECLARE_SHIM(PickyEater)
  130. DECLARE_SHIM(Pirch98)
  131. DECLARE_SHIM(PlaneCrazy)
  132. DECLARE_SHIM(PostIt2)
  133. DECLARE_SHIM(PowerBuilder)
  134. DECLARE_SHIM(Ppo3svrScr)
  135. DECLARE_SHIM(PrintMaster4)
  136. DECLARE_SHIM(ProAtlas2000)
  137. DECLARE_SHIM(Quicken2000)
  138. DECLARE_SHIM(Quicken2001)
  139. DECLARE_SHIM(QuickTime5)
  140. DECLARE_SHIM(RCenter)
  141. DECLARE_SHIM(ResumeWriter3)
  142. DECLARE_SHIM(ReturnToKrondor)
  143. DECLARE_SHIM(RiskII)
  144. DECLARE_SHIM(Riven)
  145. DECLARE_SHIM(RumbaOffice)
  146. DECLARE_SHIM(SafeDisc)
  147. DECLARE_SHIM(SchoolHouseRockMath)
  148. DECLARE_SHIM(SevenKingdoms)
  149. DECLARE_SHIM(Settlers3)
  150. DECLARE_SHIM(ShockwaveLocation)
  151. DECLARE_SHIM(SierraCartRacing)
  152. DECLARE_SHIM(Simply3D)
  153. DECLARE_SHIM(SirenJukebox2)
  154. DECLARE_SHIM(SolidWorks99Plus)
  155. DECLARE_SHIM(SpecOps2)
  156. DECLARE_SHIM(SpeechViewer3)
  157. DECLARE_SHIM(StoneAge)
  158. DECLARE_SHIM(Suda2000)
  159. DECLARE_SHIM(Summoner)
  160. DECLARE_SHIM(SuperBike)
  161. DECLARE_SHIM(SuperChix76)
  162. DECLARE_SHIM(SysAdmiral)
  163. DECLARE_SHIM(TaskbarAndStartMenuProperty)
  164. DECLARE_SHIM(ThreeDJungleTrain)
  165. DECLARE_SHIM(TimeSlips)
  166. DECLARE_SHIM(TonkaConstruction)
  167. DECLARE_SHIM(TreasureCove)
  168. DECLARE_SHIM(TurkeyHunter)
  169. DECLARE_SHIM(TwinssensOdyssey)
  170. DECLARE_SHIM(Ultima9)
  171. DECLARE_SHIM(UltimateSoccerManager)
  172. DECLARE_SHIM(UltraWinCleaner2002)
  173. DECLARE_SHIM(UnInstallShield)
  174. DECLARE_SHIM(UrbanChaos)
  175. DECLARE_SHIM(USNF97)
  176. DECLARE_SHIM(ViaVoice8J)
  177. DECLARE_SHIM(ViperRacing)
  178. DECLARE_SHIM(VJEDelta)
  179. DECLARE_SHIM(VJEDeltaSetup)
  180. DECLARE_SHIM(VSAnalyzerServerSetup)
  181. DECLARE_SHIM(WebPage6)
  182. DECLARE_SHIM(WinFaxPro9)
  183. DECLARE_SHIM(WinStone99)
  184. DECLARE_SHIM(WordPerfect8)
  185. DECLARE_SHIM(WordPerfect9_1)
  186. DECLARE_SHIM(WordPerfect9_2)
  187. DECLARE_SHIM(WordPerfect9_3)
  188. DECLARE_SHIM(Works99)
  189. DECLARE_SHIM(WorksSuite2001)
  190. DECLARE_SHIM(Worms2)
  191. DECLARE_SHIM(WPS2000)
  192. DECLARE_SHIM(ZenWorks)
  193. VOID MULTISHIM_NOTIFY_FUNCTION()(DWORD fdwReason)
  194. {
  195. switch (fdwReason)
  196. {
  197. case DLL_PROCESS_ATTACH:
  198. DPF("AcSpecfc", eDbgLevelSpew, "Application Specific Shims initialized.");
  199. break;
  200. case DLL_PROCESS_DETACH:
  201. DPF("AcSpecfc", eDbgLevelSpew, "Application Specific Shims uninitialized.");
  202. break;
  203. default:
  204. break;
  205. }
  206. }
  207. MULTISHIM_BEGIN()
  208. MULTISHIM_ENTRY(3DFrogFrenzy)
  209. MULTISHIM_ENTRY(Acrobat5)
  210. MULTISHIM_ENTRY(AdobeLiveMotion)
  211. MULTISHIM_ENTRY(AfterDark)
  212. MULTISHIM_ENTRY(AliensVsPredator)
  213. MULTISHIM_ENTRY(AOLFindBundledInstaller)
  214. MULTISHIM_ENTRY(AOLRasSetEntryProperties)
  215. MULTISHIM_ENTRY(AOLSystemInfo)
  216. MULTISHIM_ENTRY(Attune)
  217. MULTISHIM_ENTRY(AutoCad)
  218. MULTISHIM_ENTRY(AutoDeskWorld2)
  219. MULTISHIM_ENTRY(BaanERP5)
  220. MULTISHIM_ENTRY(BaanERP5c)
  221. MULTISHIM_ENTRY(BaanIV)
  222. MULTISHIM_ENTRY(BackOffice45Suite)
  223. MULTISHIM_ENTRY(BaseBall2000)
  224. MULTISHIM_ENTRY(Battleship)
  225. MULTISHIM_ENTRY(BattleZone)
  226. MULTISHIM_ENTRY(BeyondAtlantis)
  227. MULTISHIM_ENTRY(BigActionConstruction)
  228. MULTISHIM_ENTRY(BigGameHunter3)
  229. MULTISHIM_ENTRY(BizPlanBuilder)
  230. MULTISHIM_ENTRY(BoeingFix)
  231. MULTISHIM_ENTRY(Britannica2001)
  232. MULTISHIM_ENTRY(Canvas6)
  233. MULTISHIM_ENTRY(CanvasCheckedButtons)
  234. MULTISHIM_ENTRY(Casper)
  235. MULTISHIM_ENTRY(ChemOffice)
  236. MULTISHIM_ENTRY(ClueFinders3rdGrade)
  237. MULTISHIM_ENTRY(Chollian2000)
  238. MULTISHIM_ENTRY(Chollian2000Plus)
  239. MULTISHIM_ENTRY(CoffeeCupHTMLEditor)
  240. MULTISHIM_ENTRY(Commandos)
  241. MULTISHIM_ENTRY(Cossacks)
  242. MULTISHIM_ENTRY(ComptonsBible)
  243. MULTISHIM_ENTRY(CorelAppsRegistration)
  244. MULTISHIM_ENTRY(CorelDraw9JPN)
  245. MULTISHIM_ENTRY(CorelSiteBuilder)
  246. MULTISHIM_ENTRY(CreateResumesQuickandEasy)
  247. MULTISHIM_ENTRY(CreativeOnScreenDisplay)
  248. MULTISHIM_ENTRY(CrystalWebPageServer)
  249. MULTISHIM_ENTRY(CUSeeMe4)
  250. MULTISHIM_ENTRY(Descent2)
  251. MULTISHIM_ENTRY(DinosaurActivityCenter)
  252. MULTISHIM_ENTRY(DirtTrackRacing)
  253. MULTISHIM_ENTRY(DominantSpecies)
  254. MULTISHIM_ENTRY(DongFangKuaiChe3000Setup)
  255. MULTISHIM_ENTRY(DongFangYingDu)
  256. MULTISHIM_ENTRY(DrEye)
  257. MULTISHIM_ENTRY(EA3dSetup)
  258. MULTISHIM_ENTRY(EasyCDCreator4)
  259. MULTISHIM_ENTRY(EasyCDCreator5)
  260. MULTISHIM_ENTRY(EncartaEncyclopediaDeluxe2K)
  261. MULTISHIM_ENTRY(EncompassMonitor)
  262. MULTISHIM_ENTRY(EuropeanAirWar)
  263. MULTISHIM_ENTRY(ExchangeServerSetup)
  264. MULTISHIM_ENTRY(F18Carrier)
  265. MULTISHIM_ENTRY(FireFighters)
  266. MULTISHIM_ENTRY(Force21)
  267. MULTISHIM_ENTRY(Gangsters)
  268. MULTISHIM_ENTRY(Gizmos)
  269. MULTISHIM_ENTRY(HeroSDVD)
  270. MULTISHIM_ENTRY(HotFaxMessageCenter4)
  271. MULTISHIM_ENTRY(HoyleGames)
  272. MULTISHIM_ENTRY(HPTourGuide)
  273. MULTISHIM_ENTRY(HTMLEditor8587)
  274. MULTISHIM_ENTRY(IConfig)
  275. MULTISHIM_ENTRY(IE5DOMSetup)
  276. MULTISHIM_ENTRY(InstallShield6)
  277. MULTISHIM_ENTRY(IntelVideoPhone)
  278. MULTISHIM_ENTRY(ISA)
  279. MULTISHIM_ENTRY(ISpeed)
  280. MULTISHIM_ENTRY(JavaVM)
  281. MULTISHIM_ENTRY(JavaVM2)
  282. MULTISHIM_ENTRY(JetFighter4)
  283. MULTISHIM_ENTRY(Keisoku7)
  284. MULTISHIM_ENTRY(Khunmin2Album)
  285. MULTISHIM_ENTRY(KingsQuestMask)
  286. MULTISHIM_ENTRY(KOEISecurityCheck)
  287. MULTISHIM_ENTRY(LHVoiceXPressPlus)
  288. MULTISHIM_ENTRY(LinksExtreme)
  289. MULTISHIM_ENTRY(LotusOrganizer5)
  290. MULTISHIM_ENTRY(MahjonggMadness)
  291. MULTISHIM_ENTRY(MastersOfOrion2)
  292. MULTISHIM_ENTRY(MathBlaster9_12)
  293. MULTISHIM_ENTRY(MaxPayne)
  294. MULTISHIM_ENTRY(MECCommander)
  295. MULTISHIM_ENTRY(MechWarrior2)
  296. MULTISHIM_ENTRY(MidTownMadness2)
  297. MULTISHIM_ENTRY(Millionaire)
  298. MULTISHIM_ENTRY(MindSpring4)
  299. MULTISHIM_ENTRY(ModemWizard)
  300. MULTISHIM_ENTRY(Money2001)
  301. MULTISHIM_ENTRY(Money2002)
  302. MULTISHIM_ENTRY(MSAccess2000IME)
  303. MULTISHIM_ENTRY(MSDevDisabledButtons)
  304. MULTISHIM_ENTRY(MSWorks6)
  305. MULTISHIM_ENTRY(MyPhotoCenter2)
  306. MULTISHIM_ENTRY(NBALive)
  307. MULTISHIM_ENTRY(NetObjectsFusion5)
  308. MULTISHIM_ENTRY(NetManageViewNow)
  309. MULTISHIM_ENTRY(NetZip)
  310. MULTISHIM_ENTRY(NewShenDiaoXiaLv)
  311. MULTISHIM_ENTRY(NFLBlitz)
  312. MULTISHIM_ENTRY(NFLFever2000)
  313. MULTISHIM_ENTRY(NHL2001)
  314. MULTISHIM_ENTRY(NikonView)
  315. MULTISHIM_ENTRY(Omikron)
  316. MULTISHIM_ENTRY(OmniPage)
  317. MULTISHIM_ENTRY(OmniPagePro11Uninstall)
  318. MULTISHIM_ENTRY(OperationsManager)
  319. MULTISHIM_ENTRY(Outlook2000)
  320. MULTISHIM_ENTRY(Outlook97)
  321. MULTISHIM_ENTRY(Outlook98Wizard)
  322. MULTISHIM_ENTRY(OverlayPro)
  323. MULTISHIM_ENTRY(PanzerCommander)
  324. MULTISHIM_ENTRY(Petz)
  325. MULTISHIM_ENTRY(PickyEater)
  326. MULTISHIM_ENTRY(Pirch98)
  327. MULTISHIM_ENTRY(PlaneCrazy)
  328. MULTISHIM_ENTRY(PowerBuilder)
  329. MULTISHIM_ENTRY(Ppo3svrScr)
  330. MULTISHIM_ENTRY(PrintMaster4)
  331. MULTISHIM_ENTRY(ProAtlas2000)
  332. MULTISHIM_ENTRY(PostIt2)
  333. MULTISHIM_ENTRY(Quicken2000)
  334. MULTISHIM_ENTRY(Quicken2001)
  335. MULTISHIM_ENTRY(QuickTime5)
  336. MULTISHIM_ENTRY(RCenter)
  337. MULTISHIM_ENTRY(ResumeWriter3)
  338. MULTISHIM_ENTRY(ReturnToKrondor)
  339. MULTISHIM_ENTRY(RiskII)
  340. MULTISHIM_ENTRY(Riven)
  341. MULTISHIM_ENTRY(RumbaOffice)
  342. MULTISHIM_ENTRY(SafeDisc)
  343. MULTISHIM_ENTRY(SchoolHouseRockMath)
  344. MULTISHIM_ENTRY(Settlers3)
  345. MULTISHIM_ENTRY(SevenKingdoms)
  346. MULTISHIM_ENTRY(ShockwaveLocation)
  347. MULTISHIM_ENTRY(SierraCartRacing)
  348. MULTISHIM_ENTRY(Simply3D)
  349. MULTISHIM_ENTRY(SirenJukebox2)
  350. MULTISHIM_ENTRY(SolidWorks99Plus)
  351. MULTISHIM_ENTRY(SpecOps2)
  352. MULTISHIM_ENTRY(SpeechViewer3)
  353. MULTISHIM_ENTRY(StoneAge)
  354. MULTISHIM_ENTRY(Suda2000)
  355. MULTISHIM_ENTRY(Summoner)
  356. MULTISHIM_ENTRY(SuperBike)
  357. MULTISHIM_ENTRY(SuperChix76)
  358. MULTISHIM_ENTRY(SysAdmiral)
  359. MULTISHIM_ENTRY(TaskbarAndStartMenuProperty)
  360. MULTISHIM_ENTRY(ThreeDJungleTrain)
  361. MULTISHIM_ENTRY(TimeSlips)
  362. MULTISHIM_ENTRY(TonkaConstruction)
  363. MULTISHIM_ENTRY(TreasureCove)
  364. MULTISHIM_ENTRY(TurkeyHunter)
  365. MULTISHIM_ENTRY(TwinssensOdyssey)
  366. MULTISHIM_ENTRY(Ultima9)
  367. MULTISHIM_ENTRY(UltimateSoccerManager)
  368. MULTISHIM_ENTRY(UltraWinCleaner2002)
  369. MULTISHIM_ENTRY(UnInstallShield)
  370. MULTISHIM_ENTRY(UrbanChaos)
  371. MULTISHIM_ENTRY(USNF97)
  372. MULTISHIM_ENTRY(ViaVoice8J)
  373. MULTISHIM_ENTRY(ViperRacing)
  374. MULTISHIM_ENTRY(VJEDelta)
  375. MULTISHIM_ENTRY(VJEDeltaSetup)
  376. MULTISHIM_ENTRY(VSAnalyzerServerSetup)
  377. MULTISHIM_ENTRY(WebPage6)
  378. MULTISHIM_ENTRY(WinFaxPro9)
  379. MULTISHIM_ENTRY(WinStone99)
  380. MULTISHIM_ENTRY(WordPerfect8)
  381. MULTISHIM_ENTRY(WordPerfect9_1)
  382. MULTISHIM_ENTRY(WordPerfect9_2)
  383. MULTISHIM_ENTRY(WordPerfect9_3)
  384. MULTISHIM_ENTRY(Works99)
  385. MULTISHIM_ENTRY(WorksSuite2001)
  386. MULTISHIM_ENTRY(Worms2)
  387. MULTISHIM_ENTRY(WPS2000)
  388. MULTISHIM_ENTRY(ZenWorks)
  389. CALL_MULTISHIM_NOTIFY_FUNCTION()
  390. MULTISHIM_END()