ufoProcessWriteBinaryData

    void ufoProcessWriteBinaryData(
    ufoProcess process_instance,
    size_t *data_length,
    void **data_buffer,
    int *free_data_buffer);

Refer to the following table for command descriptions:

Command | Description
    data_length
| returns the byte length of the data buffer returned
    data_buffer
| returns the data buffer
    free_data_buffer
| return 1: application should free the data buffer returned (with free), 0: application should not free the data buffer returned

This function is optional. If supplied, it will be called just before the UFO process is about to be saved by the application to a descriptor file. If the UFO holds private user data which is required to persist after the application is terminated then the function can return a binary data buffer representing that data. The data buffer is then saved within the descriptor file. If no data is required to be saved, the function should return a value of 0 in the data_length parameter and a null pointer in the data_buffer parameter.

Autodesk Softimage v7.5