Jump to content

SplStdQueryLength: Difference between revisions

From EDM2
Created page with "SpStdQueryLength returns the number of data bytes in the PM_Q_STD buffer identified by hstd. ==Syntax== SplStdQueryLength(hstd); ==Parameters== ; hstd (HSTD) - input : Th..."
(No difference)

Revision as of 20:46, 19 November 2019

SpStdQueryLength returns the number of data bytes in the PM_Q_STD buffer identified by hstd.

Syntax

SplStdQueryLength(hstd);

Parameters

hstd (HSTD) - input
The handle to the PM_Q_STD buffer.

Return Code

rc (LONG) - returns
Return codes.

This function returns the size of hstd (cBytes) or SPL_ERROR, if an error occurred.

Example Code

#include <os2.h>

HSTD    hstd;  /*  The handle to the PM_Q_STD buffer. */
LONG    rc;    /*  Return codes. */

rc = SplStdQueryLength(hstd);