Summary The omp_get_interop_ptr routine retrieves a pointer property from an omp_interop_t object.
void* omp_get_interop_ptr(const omp_interop_t interop,
omp_interop_property_t property_id,
int *ret_code);
Effect The omp_get_interop_ptr routine returns the requested pointer property, if available, and NULL if an error occurs or no value is available.
If the interop is omp_interop_none, an empty error occurs.
If the property_id is smaller than omp_ipr_first or not smaller than omp_get_num_interop_properties(interop), an out of range error occurs.
If the requested property value is not convertible into a pointer value, a type error occurs.
If a non-null pointer is passed to ret_code, an omp_interop_rc_t value that indicates the return code is stored in the object to which the ret_code points. If an error occurred, the stored value will be negative and it will match the error as defined in Table 3.2. On success, zero will be stored. If no error occurred but no meaningful value can be returned, omp_irc_no_value, which is one, will be stored.
Restrictions Restrictions to the omp_get_interop_ptr routine are as follows: