GetPrivateProfileString function
参考网址:https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprivateprofilestring
1 DWORD GetPrivateProfileString( 2 LPCTSTR lpAppName, //section name 3 LPCTSTR lpKeyName, //key name 4 LPCTSTR lpDefault, //if key name not be found 5 LPTSTR lpReturnedString, //returned value 6 DWORD nSize, //buffer for returned string 7 LPCTSTR lpFileName //ini file 8 );