> home > Custom Layer Boundary API

buffer_get_dirty_state

September 8th 2024
Retrieve the dirty state flags of a buffer

Signature

C++
Dirty_State
buffer_get_dirty_state(Application_Links* app,
                       Buffer_ID buffer_id);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer to query

Return

the dirty state flags of the buffer on success, when it exists, otherwise zero

Related

Dirty_State