Util/IniUtil.h File Reference

#include "../utilexp.h"
#include <WTypes.h>
#include "../containers/Array.h"

Namespaces

 MaxSDK
 This API is used to support OLE structured storage streams containing user specified string data in 3ds Max scene files or other OLE Structured Storage based files.
 
 MaxSDK::Util
 

Macros

#define WritePrivateProfileString   WritePrivateProfileStringW
 
#define WritePrivateProfileStruct   WritePrivateProfileStructW
 
#define WritePrivateProfileSection   WritePrivateProfileSectionW
 
#define GetPrivateProfileString   GetPrivateProfileStringW
 
#define GetPrivateProfileStruct   GetPrivateProfileStructW
 
#define GetPrivateProfileSectionNames   GetPrivateProfileSectionNamesW
 
#define GetPrivateProfileSection   GetPrivateProfileSectionW
 
#define GetPrivateProfileInt   GetPrivateProfileIntW
 

Functions

UtilExport BOOL WritePrivateProfileString (LPCTSTR pSection, LPCTSTR pKeyName, LPCTSTR pString, LPCTSTR pFileName)
 These service should replace every occurrence of the standard WIN32 implementation. More...
 
UtilExport BOOL WritePrivateProfileStruct (LPCTSTR pSection, LPCTSTR pKeyName, LPVOID pStruct, UINT uSizeStruct, LPCTSTR pFileName)
 Copies data into a key in the specified section of an initialization file. More...
 
UtilExport BOOL WritePrivateProfileSection (LPCTSTR pSection, LPCTSTR pString, LPCTSTR pFileName)
 Replaces the keys and values for the specified section in an initialization file. More...
 
UtilExport DWORD GetPrivateProfileString (LPCTSTR pSection, LPCTSTR pKeyName, LPCTSTR pDefault, LPTSTR pReturnedString, DWORD nSize, LPCTSTR pFileName)
 Gets a string from the specified section of an initialization file. More...
 
UtilExport DWORD GetPrivateProfileString (LPCTSTR pSection, LPCTSTR pKeyName, LPCTSTR pDefault, MaxSDK::Array< TCHAR > &returnedString, LPCTSTR pFileName)
 Gets a string from the specified section of an initialization file. More...
 
UtilExport BOOL GetPrivateProfileStruct (LPCTSTR pSection, LPCTSTR pKeyName, LPVOID pStruct, UINT uSizeStruct, LPCTSTR pFileName)
 Retrieves the data associated with a key in the specified section of an initialization file. More...
 
UtilExport DWORD GetPrivateProfileSectionNames (LPTSTR pReturnedString, DWORD nSize, LPCTSTR pFileName)
 Retrieves the names of all sections in an initialization file. More...
 
UtilExport DWORD GetPrivateProfileSectionNames (MaxSDK::Array< TCHAR > &returnedString, LPCTSTR pFileName)
 Retrieves the names of all sections in an initialization file. More...
 
UtilExport DWORD GetPrivateProfileSection (LPCTSTR pSection, LPTSTR pReturnedString, DWORD nSize, LPCTSTR pFileName)
 Retrieves all the keys and values for the specified section of an initialization file. More...
 
UtilExport DWORD GetPrivateProfileSection (LPCTSTR pSection, MaxSDK::Array< TCHAR > &returnedString, LPCTSTR pFileName)
 Retrieves all the keys and values for the specified section of an initialization file. More...
 
UtilExport DWORD GetPrivateProfileInt (LPCTSTR pSection, LPCTSTR pKeyName, INT nDefault, LPCTSTR pFileName)
 Retrieves an integer associated with a key in the specified section of an initialization file. More...
 

Macro Definition Documentation

#define WritePrivateProfileString   WritePrivateProfileStringW
#define WritePrivateProfileStruct   WritePrivateProfileStructW
#define WritePrivateProfileSection   WritePrivateProfileSectionW
#define GetPrivateProfileString   GetPrivateProfileStringW
#define GetPrivateProfileStruct   GetPrivateProfileStructW
#define GetPrivateProfileSectionNames   GetPrivateProfileSectionNamesW
#define GetPrivateProfileSection   GetPrivateProfileSectionW
#define GetPrivateProfileInt   GetPrivateProfileIntW