GetProcText()


" "

BSTR GetProcText(long ProcID)

Description

This function returns the text that is executed for the specified procedure, after variable substitution. Use SetProcVariable() to set the value of any variables used in the procedure before calling this function.

Parameters

Name Description
ProcID The ID of the procedure, as returned from InitializeProc().

Return Value

If successful, a string containing the procedure text is returned. If unsuccessful, NULL is returned. If the return value is NULL, you can call GetLastErrorString() or GetLastErrorType() to get additional error information.