wfdcfg_device_get_extension()
Graphics and Screen4.0 (8.x)OpenWF Configuration Developer's GuideAPIProgramming
Retrieve an extension identified by a key (string) from a device
Synopsis:
#include <wfdqnx/wfdcfg.h>
struct wfdcfg_keyval* wfdcfg_device_get_extension(const struct wfdcfg_device *device,
const char *key)
Arguments:
- device
- A handle to the device whose extension(s) you are retrieving
- key
- Identifier of extension to retrieve
Library:
libwfdcfgDescription:
The extension is valid between the time you create and destroy the device.
Returns:
Pointer to wfdcfg_keyval if the extension was found; NULL if the extension was not found. It's considered acceptable for a device to have no extensions.
Page updated: