MP_REGISTERFOROBJECTVISIBILITYCHANGES(3MPAPI) | Common Multipath Management Library Functions | MP_REGISTERFOROBJECTVISIBILITYCHANGES(3MPAPI) |
MP_RegisterForObjectVisibilityChanges - register a client function to be called
cc [ flag... ] file... -lMPAPI [ library... ] #include <mpapi.h> MP_STATUS MP_RegisterForObjectVisibilityChanges(
MP_OBJECT_PROPERTY_FN pClientFn, MP_OBJECT_TYPE objectType,
void *pCallerData, MP_OID pluginOid);
pClientFn
objectType
pCallerData
pluginOid
The MP_RegisterForObjectVisibilityChanges() function registers a client function to be called whenever the property of an object changes. The function specified by pClientFn is called whenever objects appear or disappear.
It is not an error to re-register a client function. However, a client function has only one registration. The first call to deregister a client function will deregister it no matter how many calls to register the function have been made.
MP_STATUS_INVALID_OBJECT_TYPE
MP_STATUS_OBJECT_NOT_FOUND
MP_STATUS_INVALID_PARAMETER
MP_STATUS_SUCCESS
MP_STATUS_FN_REPLACED
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard: ANSI INCITS 412 Multipath Management API |
MT-Level | Safe |
libMPAPI(3LIB), MP_DeregisterForObjectVisibilityChanges(3MPAPI), attributes(7)
Multipath Management API Version 1.0
February 15, 2006 | OmniOS |