 |
PK_PARTITION_receive_version_b |
|
PK_ERROR_code_t PK_PARTITION_receive_version_b
(
--- received arguments ---
PK_MEMORY_block_t block,
PK_transmit_format_t transmit_format, --- file format
--- returned arguments ---
PK_SESSION_kernel_version_t *const version --- version
)
This function returns information about the version of Parasolid used to create
partition transmit data.
Specific Errors:
PK_ERROR_corrupt_file data header not as expected
PK_ERROR_schema_access_error data referred to non-existent schema
PK_ERROR_file_read_corruption corrupt data read
Currently only the 'major_revision', 'minor_revision' and 'build_number'
fields of the returned PK_SESSION_kernel_version_t structure are
meaningful. All other fields are set to zero. This information shows
exactly which build of Parasolid was used to create the partition transmit
data.
If the data was transmitted using the 'transmit_version' option of
partition transmit set to a previous version, this function will return the
'major_revision' and 'minor_revision' of the schema for that version. The
'build_number' will be 0. Note that for most point releases of Parasolid, this
means that the 'minor_revision' returned will be 0, since there are no schema
changes for most point releases. For example, data transmitted as version
13.2 will return 13.0.0.