Retrieve one resource value for an application
#define PtAppGetResources(type, value, len)
ph
This macro sets a pointer to a resource value within the application.
PtAppGetResource() doesn't support the nonpointer method of getting resources. For more information, see the Manipulating Resources in Application Code chapter of the Photon Programmer's Guide. For a list of application callbacks, see PtAppSetResources().
Because PtAppGetResource() returns pointers
directly into the internals of the widget, don't modify those values
directly. If you wish to retrieve the value of a given resource
and then modify that value:
|
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtAppAddCallback(), PtAppGetResources(), PtAppRemoveCallback(), PtAppSetResources(), PtAppSetResource(), PtSetArg().