> home > Custom Layer Boundary API

buffer_history_get_group_sub_record

January 19th 2020
Get a sub-record of a group record from a buffer history

Signature

C++
Record_Info
buffer_history_get_group_sub_record(Application_Links* app,
                                    Buffer_ID buffer_id,
                                    History_Record_Index index,
                                    i32 sub_index);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer to query

index

the index of the record to query

sub_index

the sub-index of the record to query

Return

on success, when the buffer exists, it's history contains a group record at the given index, and the group record contains a record at the sub-index, the record information contained there, otherwise zero

Related

Record_Info