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