![]()  | 
![]()  | 
![]()  | 
![]()  | 
Retrieve the specified resource
int PtGetStruct( char *base, 
                 PtResourceRec_t const *mod, 
                 PtArg_t *arg );
This function retrieves the resource specified by arg from the widget at address base as described by mod.
If the value and len members of arg are non-NULL, they're assumed to contain the addresses of pointers of the type appropriate for the resource. The pointers are set to point to the resource's value in the widget's internal memory.
![]()  | 
Don't use these pointers to change the resource's value. | 
If either of the value and len members of arg is NULL, the retrieved resources are stored in these members.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtSetStruct(), PtSuperClassGetResources(), PtSuperClassSetResources()
PtArg_t in the Photon Library Reference
![]()  | 
![]()  | 
![]()  | 
![]()  |