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


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


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


;''hprogGroup'' (HPROGRAM) - 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  



Revision as of 23:46, 10 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.