System and method for retrieving registry data
First Claim
1. A method for retrieving data from a registry of a computer system, comprising the steps of:
- storing in a registry information database information related to the data maintained by the registry;
creating a source header file based on the information in the registry information database;
building a program module by compiling the source header file and source files for the program module;
executing the program module;
invoking a call from the program module to a registry interface, the call having a parameter associated with selected data of the registry;
using the registry interface to retrieve the selected registry data associated with the call parameter from the registry; and
sending the selected registry data from the registry interface to the program module.
2 Assignments
0 Petitions
Accused Products
Abstract
Retrieving information form from the registry include 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.
-
Citations
10 Claims
-
1. A method for retrieving data from a registry of a computer system, comprising the steps of:
-
storing in a registry information database information related to the data maintained by the registry;
creating a source header file based on the information in the registry information database;
building a program module by compiling the source header file and source files for the program module;
executing the program module;
invoking a call from the program module to a registry interface, the call having a parameter associated with selected data of the registry;
using the registry interface to retrieve the selected registry data associated with the call parameter from the registry; and
sending the selected registry data from the registry interface to the program module. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
searching for the selected registry data associated with the call parameter; and
in the event that the selected registry data associated with the call parameter cannot be found in the registry, using the registry interface to retrieve default data.
-
-
7. The method of claim 1, wherein the step of retrieving the selected registry data from the registry comprises the steps of:
-
searching for the selected registry data associated with the call parameter; and
in the event that the selected registry data associated with the parameter cannot be found in the registry, using the registry interface to retrieve error data associated with the call parameter.
-
-
8. The method of claim 1, wherein the registry comprises a policy portion and a nonpolicy portion, and the step of retrieving the selected registry data from the registry comprises the steps of:
-
searching for the selected registry data associated with the call parameter in the policy portion of the registry; and
in the event that the selected registry data associated with the parameter cannot be found in the policy portion, using the registry interface to retrieve the selected registry data from the nonpolicy portion of the registry.
-
-
9. The method of claim 1, wherein the program module comprises an operating system and the call comprises an operating system call.
-
10. A computer-readable medium having computer-executable instructions for performing the steps recited in claim 1.
Specification