Programmer Guide > Creating an OPI Option > wsdh_sizeofdata
  

wsdh_sizeofdata
Gets the size of data area associated with a PV‑WAVE structure variable.
C Usage
long wsdh_sizeofdata(wsdh)
WSDH wsdh;
FORTRAN Usage
INTEGER*4 LF_WSDH_SIZEOFDATA(l_wsdh)
INTEGER*4 l_wsdh
64-bit UNIX FORTRAN Usage
INTEGER*8 LF_WSDH_SIZEOFDATA(l_wsdh)
INTEGER*8 l_wsdh
Input Parameters
wsdh—A Wave structure definition handle.
Returned Value
Returns the size in bytes of the data area needed to store a scalar PV‑WAVE variable of this structure type.
Returns –1 on failure, if the handle argument is not a valid Wave structure definition handle.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.