Return the value of an integer attribute.
These are the parameters that this method requires:
|instance||Pointer to the instance this method call is intended for|
|attr||Attribute to return value of (defined in VP.h)|
The value of the attribute.
If an invalid identifier is passed for attr, then 0 will be returned.
There is no way to know if the call was unsuccessful, use
vp_int_get() when this is required.
printf("My owner is user id #%d\n", vp_int(sdk, VP_MY_USER_ID));