This function allows the caller to determine information about prepared statement parameters. The type of prepared statement
(stored procedure or a DML), determines the amount of information provided. The direction of the parameters (input, output,
or input-output) are always provided.