◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vmm.inc VMMcall Get_Name_Of_Ugly_TSR jz no_ugly_TSR ; zero set if no ugly TSRs present mov [Name], eax ; first 4 characters of TSR name mov [Name+4], ebx ; last 4 characters of TSR name The Get_Name_Of_Ugly_TSR service returns the name of an uncooperative TSR. During its real-mode initialization, the virtual MS-DOS manager checks for and records the names of any TSRs that may prevent other MS-DOS programs from running. Get_Name_Of_Ugly_TSR checks the list and returns one of the TSR names (if any) so that virtual devices can determine whether they can successfully operate. Although more than one ugly TSR may be present in the list, the service chooses only one name to return. This service is only available during initialization and only available for Windows 3.1 and later. This service has no parameters. Return Value The zero flag is set and the EAX and EBX registers are set to zero if no ugly TSRs are present. Otherwise, the zero flag is clear and the EAX register contains the first four characters of the TSR name, and the EBX register contains the last four characters. Uses EAX, EBX, Flags ♦