PvGetSettingMap()
Retrieves option ID and component ID for a setting.
Header File: config.h (See also
Header Files
)
Function First Available In Library: w3dbav75.dll (Windows), libpsqldti.so (Linux) (See also
Link Libraries
)
Syntax
BTI_SINT PvGetSettingMap(
BTI_ULONG
settingID,
BTI_WORD_PTR
pComponentID,
BTI_WORD_PTR
pOptionID
);
Arguments
In
settingID
Unique identifier for the setting. A list of settings can be obtained from
PvGetSettingList()
.
Out
pComponentID
Address of an unsigned short for Component.
Out
pOptionID
Address of an unsigned short for Option
Return Values
P_OK
The operation was successful.
P_E_NULL_PTR
Call with NULL pointer.
P_E_FAIL
Failed for other reasons.
Remarks
Option and Component maps setting to DBUGetInfo or DBUSetInfo calls.
See Also
PvStart()
PvConnectServer()
PvGetCategoryList()
PvGetSettingList()
PvDisconnect()
PvStop()