Mapping Private INI Files

On Windows 2000, private profile functions can be mapped to the registry instead of the specified initialization files. This mapping occurs when the initialization file and section are specified in the registry under the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping key. This mapping is likely if an application modifies system-component initialization files, such as CONTROL.INI, SYSTEM.INI, and WINFILE.INI. In these cases, the private profile functions act on the information in the registry, not from the initialization file. The Win32 Profile functions use the following steps to locate initialization information:

  1. Look in the registry for the name of the INI file under the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.