 |
PK_FFSKXT_f_t |
|
typedef int (*PK_FFSKXT_f_t)
(
--- received arguments ---
const int guise,
const int strid,
const unsigned int pos_high,
const unsigned int pos_low
--- returned arguments ---
);
Used in:
PK_SESSION_ask_fru_o_t
PK_SESSION_register_fru_o_t
Seek within a binary XT file by resetting the file pointer for C-transmit
and partition guises. This function is only required to support optimised
transmitting and individual delayed loading of embedded model data.
Receiving only data needed for individual pieces of the model will be
faster in many scenarios and avoids unneeded model data taking up internal
memory.
Receives:
int guise --- class of file:
--- FFCXMT,FFCXMP
--- C-transmit,partition
int strid --- frustrum strid
unsigned int pos_high --- high order 32-bits of
--- pointer into file stream
unsigned int pos_low --- low order 32-bits of
--- pointer into file stream
Return codes: FR_no_errors
FR_seek_fail
Description:
This function resets the file pointer within a binary XT file to a value
relative to the position immediately after FFOPRD or FFOPWR. Subsequent
reading or writing starts from this position. The high and low order bits
combine to a 64-bit value to support large files. Note that this function
will only be called for files that were opened by FFOPRD or FFOPWR using
'format' FFBNRY.
If FR_seek_fail is returned, Parasolid may be able to continue if the
current file pointer is before the reset position value, but with degraded
performance.