> home > Custom Layer Boundary API

buffer_get_file_attributes

January 19th 2020
Get file attributes of a buffer

Signature

C++
File_Attributes
buffer_get_file_attributes(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 file attributes of the buffer as set by the last time it synced with it's attached file on disk when the buffer exists, cleared to zero otherwise

Related

File_Attributes