SdsSize - Find the buffer size needed to export an object

Function

Find the buffer size needed to export an object

Description

Return the size which will be needed for a buffer into which the object can be exported using the SdsExport function.

Language

C

Declaration

void SdsSize(SdsIdType id, unsigned long *bytes, StatusType * SDSCONST status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>idSdsIdTypeIdentifier of the object.
<bytesunsigned long*Size in bytes of required buffer.
!statusStatusType*Modified status. Possible failure codes are:

SDS__BADID The identifier is invalid.
SDS__EXTERN Object is external.

Support

Jeremy Bailey, {AAO}

Version date

18-Oct-91

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tony.farrell@mq.edu.au