Every AEP has a pre-defined function prototype:
function NameOfAEP( ulConnectionID: UNSIGNED32;
pulNumRowsAffected: PUNSIGNED32 ): UNSIGNED32;
Each parameter is described in detail in the general Advantage Extended Procedures documentation. We won’t describe each parameter here; we’ll address these parameters as they are used throughout the rest of the tutorial.
The AEP template that was created for you already contains one procedure entrypoint, MyProcedure. We will enhance this existing procedure in later sections.