Jump to content

SplStdQueryLength

From EDM2
Revision as of 21:57, 25 March 2020 by Ak120 (talk | contribs)
(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.

#include <os2.h>

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

rc = SplStdQueryLength(hstd);