PrfOpenProfile - Remarks

A user profile and a system profile are opened by the system, either at start-up time, or (in the case of the user profile) as a result of a PrfReset function, and are always available. Their handles are HINI_USERPROFILE and HINI_SYSTEMPROFILE. Applications do not have to open or close the user profile or the system profile.

The handle returned is only valid for the process issuing the PrfOpenProfile function.

The PrfOpenProfile function can be used by an administrator's application that is creating or modifying a profile for a user.

It can also be used to create a back-up profile as follows:


[Back: PrfOpenProfile - Parameters]
[Next: PrfOpenProfile - Errors]