Function
The function GetObjectId detects the unique identifier of defined object requested by some ObjAPI functions (e.g. the function SetNewValue) according to its name.
Declaration
HOBJ GetObjectId(const char *name, ValueType *ValTyp)
Parameters
The parameter name defines the object name. Object value type is returned by the parameter ValType. This type must be kept in case of writing a new value into the system using the function SetNewValue.
Return value
Unique identifier of the existing object, otherwise zero.
Napíšte komentár