GetPrivateProfileSection
The GetPrivateProfileSection function retrieves all of the keys and values for the specified section from an initialization file. This function is provided for compatibility with 16-bit applications written for Windows. Win32-based applications should store initialization information in the registry.
GetPrivateProfileSection 用于获取所有的键和值的指定部分从ini文件。此功能提供与Windows编写的16位应用程序的兼容性。基于Win32的应用程序应该在注册表中存储初始化信息。
Windows 95: The specified profile section must not exceed 32K.
Windows NT: The specified profile section has no size limit.
DWORD GetPrivateProfileSection(
LPCTSTR lpAppName, // address of section name
LPTSTR lpReturnedString, // address of return buffer
DWORD