3ds Max C++ API Reference
Loading...
Searching...
No Matches
IniUtil.h File Reference
#include "../utilexp.h"
#include <WTypes.h>
#include "../containers/Array.h"

Namespaces

namespace  MaxSDK
 
namespace  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.
 
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.
 
UtilExport BOOL WritePrivateProfileSection (LPCMSTR pSection, LPCMSTR pString, LPCMSTR pFileName)
 Replaces the keys and values for the specified section in an initialization file.
 
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.
 
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.
 
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.
 
UtilExport DWORD GetPrivateProfileSectionNames (LPMSTR pReturnedString, DWORD nSize, LPCMSTR pFileName)
 Retrieves the names of all sections in an initialization file.
 
UtilExport DWORD GetPrivateProfileSectionNames (MaxSDK::Array< MCHAR > &returnedString, LPCMSTR pFileName)
 Retrieves the names of all sections in an initialization file.
 
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.
 
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.
 
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.
 

Macro Definition Documentation

◆ WritePrivateProfileString

#define WritePrivateProfileString   WritePrivateProfileStringW

◆ WritePrivateProfileStruct

#define WritePrivateProfileStruct   WritePrivateProfileStructW

◆ WritePrivateProfileSection

#define WritePrivateProfileSection   WritePrivateProfileSectionW

◆ GetPrivateProfileString

#define GetPrivateProfileString   GetPrivateProfileStringW

◆ GetPrivateProfileStruct

#define GetPrivateProfileStruct   GetPrivateProfileStructW

◆ GetPrivateProfileSectionNames

#define GetPrivateProfileSectionNames   GetPrivateProfileSectionNamesW

◆ GetPrivateProfileSection

#define GetPrivateProfileSection   GetPrivateProfileSectionW

◆ GetPrivateProfileInt

#define GetPrivateProfileInt   GetPrivateProfileIntW