void initload(void) { OEMCHAR path[MAX_PATH]; icon.loadIcon(xmil_icon); //for dialog milstr_ncpy(path, file_getcd(inifile), NELEMENTS(path)); profile_iniread(path, ini_title, iniitem, NELEMENTS(iniitem), NULL); }
/** * 設定読み取り * @param[in] lpPath パス * @param[in] lpTitle タイトル * @param[in] lpTable 設定テーブル * @param[in] nCount 設定テーブル アイテム数 */ void ini_read(LPCTSTR lpPath, LPCTSTR lpTitle, const PFTBL* lpTable, UINT nCount) { profile_iniread(lpPath, lpTitle, lpTable, nCount, UserReadItem); }
void ini_read(const TCHAR *path, const TCHAR *title, const PFTBL *tbl, UINT count) { profile_iniread(path, title, tbl, count, NULL); }
void ini_read(const OEMCHAR *path, const OEMCHAR *title, const PFTBL *tbl, UINT count) { profile_iniread(path, title, tbl, count, pfread); }