long InitializeProc(short SourceType, BSTR Source)
Description
This function sets the text that you want to use in a procedure. You can pass the text as a parameter to this function, read it from a text file, or obtain it from an existing procedure.
Parameters
Name | Description |
---|---|
SourceType |
Specifies the source for the procedure text as follows:
|
Source | A string containing the text, the owner and name (Owner.Name) of the procedure, or the name of a file containing the procedure text. |
Return Value
If successful, the ID of the procedure (ProcID). If unsuccessful, a negative one (-1). Use this value in all interface calls that require the ProcID parameter.