Home |
RTTarget-32 Programming Manual Function RTSetFlags System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTSetFlagsThis function can be used to change RTTarget-32's run-time options: DWORD RTSetFlags(DWORD Flags, int SetReset); ParametersFlagsMust be a combination of the values given in the previous section. SetResetSpecifies the value for the the respective flag(s) (1 or 0). return valueContains all flags set after the call. To merely inquire the current flags, Call RTSetFlags(0, 0). RTSetFlags must be used to change any of the RTTarget-32 flags from an .EXE or .DLL which has not linked RTT32.LIB. By default, RTTarget-32 will choose the memory manager to be used when the first memory allocation function is called. If the application uses paging and the application consists of more than one module (.EXE/.DLL), the virtual memory manager is used. Once the memory manager has been chosen, it cannot be changed. Since the run-time systems frequently call memory allocation functions before the main program is called, RTSetFlags must be called in an Init function to be effective, or you should define your own instance of global variable RTTarget32Flags.
|