Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptgetstruct.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptgetstruct.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptgetstruct.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptgetstruct.html on line 8
Retrieve the specified resource
int PtGetStruct( char *base,
PtResourceRec_t const *mod,
PtArg_t *arg );
- base
- The base address in the widget from which to fetch the resource.
- mod
- The resource record for the resource.
- arg
- A pointer to a
PtArg_t
structure (see the Photon Library Reference) that describes
the resource you want to retrieve.
For more information, see below.
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.
- 0
- Successful completion.
- -1
- An error occurred.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtSetStruct(),
PtSuperClassGetResources(),
PtSuperClassSetResources()
PtArg_t
in the Photon Library Reference
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptgetstruct.html on line 143
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptgetstruct.html on line 143