Difference between revisions of "ISInterface:GetGameName"

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

Latest revision as of 01:55, 3 September 2005

Syntax

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

Purpose

To obtain the game name of the current session

Usage

Parameters

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

Examples

char gamename[512];
pISInterface->GetGameName(gamename,sizeof(gamename));

See Also