> home > Custom Layer Boundary API

get_buffer_next

January 19th 2020
Iterate to the next buffer loaded in the core

Signature

C++
Buffer_ID
get_buffer_next(Application_Links* app,
                Buffer_ID buffer_id,
                Access_Flag access);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer to iterate from, or zero to get the first buffer

access

the type of access requirements used to filter on the buffers that are returned

Return

the id of the next buffer, or zero if there is no next buffer