ODBC Programmer Reference › Procedures › Using Procedures › Get Parameter Descriptions
The application can use the SQLNumParams and SQLDescribeParam or SQL GetDescriptor functions to determine the type and size of each input parameter for a prepared CALL statement.