Difference between revisions of "ISInterface:GetProfileName"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 
===Syntax===
 
===Syntax===
 
+
*void GetProfileName(char *buf, unsigned long buflen)
 
== Purpose ==
 
== Purpose ==
 
+
To obtain the profile name of the current session
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
 
+
*char *buf
=== Return Value ===
+
:'''[out]''' Buffer to hold the name of the profile
 
+
*unsigned long buflen
 +
:'''[in]''' Length of the buffer
 
== Examples ==
 
== Examples ==
 
+
char profilename[512];
 +
pISInterface->GetProfileName(profilename,sizeof(profilename));
  
 
== See Also ==
 
== See Also ==

Latest revision as of 02:13, 3 September 2005

Syntax

  • void GetProfileName(char *buf, unsigned long buflen)

Purpose

To obtain the profile name of the current session

Usage

Parameters

  • char *buf
[out] Buffer to hold the name of the profile
  • unsigned long buflen
[in] Length of the buffer

Examples

char profilename[512];
pISInterface->GetProfileName(profilename,sizeof(profilename));

See Also