Jump to content

SplStdQueryLength

From EDM2
Revision as of 20:46, 19 November 2019 by Martini (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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);