SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE PutPackedDataTable |
---|
extern SE_Status_Code | ||||
SE_PutPackedDataTable | ||||
( | ||||
SE_Object | data_table, | (notes) | ||
SE_Integer_Positive | element_count, | (notes) | ||
const | SE_Integer_Positive | table_prop_descript_number[], | (notes) | |
SE_Integer_Unsigned | byte_count, | (notes) | ||
const | char | * | data_in_ptr | (notes) |
); |
Used to create all the cells of the given <Data Table> in a packed format. (To create only a section of the <Data Table>, use SE_PutPackedDataTableSubExtent() instead.)
The transmittal whose object is to be edited must be explicitly opened in UPDATE mode for this operation to succeed.
SE_STAT_CODE_SUCCESS | if valid parameters were passed in and all operations succeeded. |
SE_STAT_CODE_NULL_REQUIRED_PARAMETER | and data_table is unaffected, if
|
SE_STAT_CODE_INVALID_OR_NULL_OBJECT | and data_table is unaffected, if data_table is not a handle to a valid, active (i.e., unfreed), saved <Data Table> instance. |
SE_STAT_CODE_UNRESOLVED_OBJECT | and data_table is unaffected, if data_table is an unresolved object. |
SE_STAT_CODE_INVALID_ACCESS_MODE | and data_table is unaffected, if data_table belongs to a transmittal that was opened in read-only mode. |
SE_STAT_CODE_FAILURE | and data_table is unaffected, if any of the
following conditions are encountered:
|
the <Data Table> whose cells are being created.
the number of elements per cell to create, and the size of the table_prop_descript_number array
an array of indices into the ordered list of <Table Property Descriptions> aggregated by the <Data Table>.
the amount of memory that is occupied by the data values of the cells to be created. The size (number of bytes) needed for each cell is the number of elements (element_count) times the size of a cell value (the sizeof(SE_Property_Data_Value)).
a pointer to byte_count bytes of memory, already allocated in a store or in the user's memory space, to be written to the <Data Table>.
Prev: SE_PutImageData.
Next: SE_PutPackedDataTableSubExtent.
Up:Index.
|