Sanitizer_ResourceContextData
-
struct Sanitizer_ResourceContextData
Data passed into a context resource callback function.
Data passed into a context resource callback function as the
cbdataargument to Sanitizer_CallbackFunc. Thecbdatawill be this type fordomainequal to SANITIZER_CB_DOMAIN_RESOURCE andcbidequal to SANITIZER_CBID_RESOURCE_CONTEXT_CREATION_STARTING, SANITIZER_CBID_RESOURCE_CONTEXT_CREATION_FINISHED, SANITIZER_CBID_RESOURCE_CONTEXT_DESTROY_STARTING or SANITIZER_CBID_RESOURCE_CONTEXT_DESTROY_FINISHED. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.