HC_Show_User_Data_Indices

long HC_Show_User_Data_Indices(intptr_t data_indices[], long data_indices_count)
long HC_Show_User_Data_Indices(intptr_t data_indices, long data_indices_count)

Returns the list of user data indices associated with the current segment.

HC_Set_User_Data().

Parameters

data_indices: - A pointer to a buffer which can be populated with a list of indices.

data_indices_count: - The size of data_indices buffer.

Returns

  • 0 if no indices were found.
  • A negative number if the data found was too large for the buffer. The absolute value is the actual size of the user data.
  • A positive number if the data found and written into the passed data buffer. The return value indicates the size of the data.