Jump to content

PrfAddProgram: Difference between revisions

From EDM2
trying to standarize the Parameters with the rest of the API Project, but still not sure.
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This function is used to add a program entry to a group in the program list.  
This function is used to add a program entry to a group in the program list.


==Syntax==
==Syntax==
Line 5: Line 5:


==Parameters==
==Parameters==
;''hini'' (HINI) - input
;''hini'' ([[HINI]]) - input:The initialization file handle
:The initialization file handle  
;''pDetails'' (PPROGDETAILS) - input:Detail information for program to be added
 
;''hprogGroup'' ([[HPROGRAM]]) - input:The handle of the group to which the program will be added
;''pDetails'' (PPROGDETAILS) - input
:Detail information for program to be added  
 
;''hprogGroup'' (HPROGRAM) - input
:The handle of the group to which the program will be added  


==Returns==
==Returns==
;''rc'' (HPROGRAM) - return
;''rc'' (HPROGRAM) - return:Failure returns null; otherwise, handle (HPROGRAM) is returned.
:Failure returns null; otherwise, handle (HPROGRAM) is returned.  


[[Category:Prf]]
[[Category:Prf]]

Latest revision as of 21:13, 29 December 2023

This function is used to add a program entry to a group in the program list.

Syntax

PrfAddProgram (HINI hini, PPROGDETAILS pDetails, HPROGRAM hprogGroup)

Parameters

hini (HINI) - input
The initialization file handle
pDetails (PPROGDETAILS) - input
Detail information for program to be added
hprogGroup (HPROGRAM) - input
The handle of the group to which the program will be added

Returns

rc (HPROGRAM) - return
Failure returns null; otherwise, handle (HPROGRAM) is returned.