1 | Buffer handle | Input | Binary(4) |
2 | Buffer data length | Output | Binary(4) |
3 | Error code | I/O | Char(*) |
Buffer data length | Output | Binary(4) |
The Retrieve Buffer Data Length (QsnRtvBufLen) API returns the number of bytes of command data in a command buffer or of input data in an input buffer. After an indirect operation is applied to a command buffer, the QsnRtvBufLen API result reflects the increase in the underlying command stream to accommodate the command.
None
A handle for the buffer to be queried.
The variable containing the buffer data length after the QsnRtvBufLen API has completed.
The structure in which to return error information. For the format of the structure, see Error Code Parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.
This API returns the value for the buffer data length parameter, or -1 otherwise.
Message ID | Error Message Text |
---|---|
CPF24B4 E | Severe error while addressing parameter list. |
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPFA31E E | Required parameter &1 omitted. |
CPFA331 E | Buffer handle incorrect. |
Top | Dynamic Screen Manager APIs | APIs by category |