PK_SESSION_receive_version   

PK_ERROR_code_t                    PK_SESSION_receive_version
(
--- received arguments ---
const char                        *key,             --- key string
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
a session transmit file.


Specific Errors:
    PK_ERROR_corrupt_file          file header not as expected
    PK_ERROR_bad_filename          invalid filename
    PK_ERROR_cant_find_file        cannot find file
    PK_ERROR_cant_open_file        cannot open file
    PK_ERROR_file_access_error     unexpected file access error
    PK_ERROR_applio_not_registered application i/o functions not registered
    PK_ERROR_schema_access_error   file referred to non-existent schema
    PK_ERROR_file_read_corruption  corrupt data read. Perhaps an NFS problem


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 session transmit
file with the given key.