> home > Custom Layer Boundary API

get_this_ctx_view

January 19th 2020
Get the view attached to the thread context

Signature

C++
View_ID
get_this_ctx_view(Application_Links* app,
                  Access_Flag access);

Parameters

app

the standard custom layer context pointer

access

the type of access requirements that the view must satisfy

Return

the id of the view attached to this thread, if the calling thread is a view context, and if it can satisfy the access requirements, zero otherwise