Sunday, 18 March 2012

Use of undocumented APIs

Microsoft additionally acclimated a array of approach in MS-DOS and several of their applications and development accoutrement that, while operating altogether back active on 18-carat MS-DOS (and PC DOS), would breach back run on addition vendor's accomplishing of DOS. Notable examples of this convenance included:

Microsoft's QuickPascal appear in aboriginal 1989 was the aboriginal MS artefact that arrested for MS-DOS by modifying the program's Program Articulation Prefix application undocumented DOS functions, and again arrested whether or not the associated amount afflicted in a anchored position aural the DOS abstracts articulation (also undocumented). This analysis additionally fabricated it into after MS products, including Microsoft QuickC v2.5, Programmer's Workbench and Microsoft C v6.0.10

The (once infamous) AARD code, a block of cipher in the Windows 3.1 beta installer. It was XOR encrypted, self-modifying, and advisedly obfuscated, application assorted undocumented DOS structures and functions to actuate whether or not Windows absolutely was active on MS-DOS.10

Note that the Windows 3.0 beta cipher alone gave a admonishing that Windows would not accomplish appropriately on a "foreign" OS. It did in actuality run aloof accomplished on DR-DOS 6.0.

Interrupt routines alleged by Windows to acquaint MS-DOS that Windows is starting/exiting, advice that MS-DOS retained in an IN_WINDOWS flag, in animosity of the actuality that MS-DOS and Windows were declared to be two abstracted products.10

No comments:

Post a Comment