> home > Custom Layer Boundary API

buffer_get_managed_scope

January 19th 2020
Retrieve the managed scope tied to the lifetime of a buffer

Signature

C++
Managed_Scope
buffer_get_managed_scope(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 id of the managed scope tied to the buffer on success, when the buffer exists, zero otherwise

Related

Managed_Scope