Difference between revisions of "ISInterface:SetProfileSetting"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
===Syntax===
 
===Syntax===
*bool GetProfileSetting(char *Setting, char *buf, unsigned long buflen)
+
*void SetProfileSetting(char *Setting, char *Value)
 
== Purpose ==
 
== Purpose ==
To obtain a profile setting
+
To set a Profile setting
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
 
*char *Setting
 
*char *Setting
:'''[in]''' Name of the setting to obtain
+
:'''[in]''' Name of the '''Setting''' to change
*char *buf
+
*char *Value
:'''[out]''' Buffer to put the setting into
+
:'''[in]''' Value to set '''Setting' to
*unsigned long buflen
 
:'''[in]''' Length of the buffer
 
=== Return Value ===
 
*bool
 
:Returns true on success, false on failure
 
 
== Examples ==
 
== Examples ==
char profilesettingbuffer[1024];
+
*pISInterface->SetProfileSetting("Preload Executables","cosmos.exe");
pISInterface->GetProfileSetting("Preload Parameters",profilesettingbuffer,sizeof(profilesettingbuffer));
 
  
 
== See Also ==
 
== See Also ==
Line 22: Line 16:
  
 
[[Category:ISXDK]]
 
[[Category:ISXDK]]
 +
[[Category:ISInterface]]
 +
 
[[Category:ISInterface]]
 
[[Category:ISInterface]]

Latest revision as of 02:20, 3 September 2005

Syntax

  • void SetProfileSetting(char *Setting, char *Value)

Purpose

To set a Profile setting

Usage

Parameters

  • char *Setting
[in] Name of the Setting to change
  • char *Value
[in] Value to set Setting' to

Examples

  • pISInterface->SetProfileSetting("Preload Executables","cosmos.exe");

See Also