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.
Line 5: Line 5:


==Parameters==
==Parameters==
;HINI ''hini'' (input)
;''hini'' (HINI) - input
:The initialization file handle  
:The initialization file handle  


;PPROGDETAILS ''pDetails'' (input)
;''pDetails'' (PPROGDETAILS) - input
:Detail information for program to be added  
:Detail information for program to be added  


;HPROGRAM ''hprogGroup'' (input)
;''hprogGroup'' (HPROGRAM) - input
:The handle of the group to which the program will be added  
:The handle of the group to which the program will be added  


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


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

Revision as of 02:41, 25 November 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.