win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PrfCloseProfile (1.2)
Overview                                            Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINPROGRAMLIST
 
BOOL PrfCloseProfile(hini)
HINI hini;    /* initialization-file handle */
 
The PrfCloseProfile function closes a profile file opened by the
PrfOpenProfile function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hini       Identifies the profile file to close. The file must have been
           previously opened by using the PrfOpenProfile function.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
Errors
 
Use the WinGetLastError function to retrieve the error value, which may be
the following:
 
     PMERR_INVALID_INI_FILE_HANDLE
 
See Also
 
PrfOpenProfile