PA_Get4DPreferencesFolder

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_Get4DPreferencesFolder (folderPath)

ParameterTypeDescription
folderPathchar *Pointer to a char buffer
Full path of the 4D preferences folder

Description

The routine PA_Get4DPreferencesFolder returns the full pathname of 4D preferences folder to folderPath.

The plug-in can use this folder to store its own preferences file.

Example

Build a full path to the plug-in preferences file.

   char   path[256];
   PA_Get4DPreferencesFolder( path );
   strcat( path, "PluginPrefs" );

See Also

No reference.

Error Handling

PA_GetLastError always returns eER_NoErr


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next