Information is retrieved from the registry by creating a registry
interface database containing information regarding registry data and
uniquely identifying every registry entry for a registry interface.
Source header files are generated using information about a program
module, such as an application, contained in the registry interface
database. The source header files are compiled with the application to
generate the application's executable file. During run-time of the
application, the registry interface is called by the application to
retrieve registry data. If available, the registry interface retrieves
the registry data and forwards this information to the application. In
the event that the registry data is not available, the registry interface
retrieves a default value in place of the registry data and forwards that
default data to the application. A policy may be implemented by checking
a policy area of the registry for the registry data and invoking the
policy.