◄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 ♦