Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> swpsetpid() / swpsetpidbas()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SWPSETPID() / SWPSETPIDBAS()
------------------------------------------------------------------------------
 Purpose:
 Set a program ID string for the current program.

 Syntax:
 lValue = SWPSETPID(cIdString)

 Parameters:
 cIdString  Program ID string to set.

 Returns:
 True if the ID was set.

 Description:
 Set the program ID of the current application to cIdString. The maximum
 length of cIdString is 31 characters. If the string length is greater than
 31, the function will return false, and the program ID will not be set.

 A program ID can always be set, regardless of whether a program at a higher
 level has set the same ID. A child process of the current program can
 determine whether a given ID has been set using the function SWPGETPID().

 Example:
 // Set the program ID to "Test Program"                                     
 IdStr = "Test Program"                                                      
 SWPSETPID(IdStr)                                                            

See Also: SWPADDSTR() / SWPADDSTRBAS() SWPGETPID() / SWPGETPIDBAS() SWPGETSTR() / SWPGETSTRBAS() SWPSETSTR() / SWPSETSTRBAS()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson