Function ProExtdataSlotRead
Description
Reads the data from the specified slot.
Replacement in Object TOOLKIT:
Synopsis
#include <ProExtdata.h>
ProExtdataSlotRead
(
ProExtdataSlot* p_extslot
/* (In)
The handle to the data slot.
*/
int key_by_flag
/* (In)
The key-by flag -- either KEY_BY_ID or KEY_BY_NAME.
*/
int* data_type
/* (Out)
The data type. The valid types are PRO_INTEGER_TYPE, PRO_DOUBLE_TYPE, PRO_WIDE_STRING_TYPE, PRO_STREAM_TYPE, PRO_CHAPTER_TYPE. PRO_CHAPTER_TYPE behaves similar to PRO_STREAM_TYPE but has no data length limit.
*/
int* data_size
/* (Out)
The size of the data. This argument applies to PRO_STREAM_TYPE only.
*/
void** r_p_data
/* (Out)
The returned data handle.
*/
)
Returns
The function successfully read data from the specified slot.
The function failed.
The specified model or class name is invalid.
The specified key_by_flag is invalid.
The specified slot was not found.
The data_size is NULL.
No data exists in the slot.
Sample Code References
User Guide References
Was this helpful?