SplStdQueryLength: Difference between revisions
Appearance
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..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
SpStdQueryLength returns the number of data bytes in the PM_Q_STD buffer identified by hstd. | SpStdQueryLength returns the number of data bytes in the PM_Q_STD buffer identified by hstd. | ||
==Syntax== | ==Syntax== | ||
SplStdQueryLength(hstd) | SplStdQueryLength(hstd) | ||
==Parameters== | ==Parameters== | ||
; hstd (HSTD) - input | ;hstd (HSTD) - input: The handle to the PM_Q_STD buffer. | ||
: The handle to the PM_Q_STD buffer. | |||
==Return Code== | ==Return Code== | ||
; rc (LONG) - returns | ;rc (LONG) - returns: Return codes. | ||
: Return codes. | |||
This function returns the size of hstd (cBytes) or SPL_ERROR, if an error occurred. | This function returns the size of hstd (cBytes) or SPL_ERROR, if an error occurred. | ||
<PRE> | <PRE> | ||
#include <os2.h> | #include <os2.h> | ||
Line 22: | Line 19: | ||
rc = SplStdQueryLength(hstd); | rc = SplStdQueryLength(hstd); | ||
</PRE> | </PRE> | ||
[[Category:Spl]] | [[Category:Spl]] |
Latest revision as of 21:57, 25 March 2020
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);