1MP_DeregisterForObCjoemcmtoPnroMpuelrttiypCahtahnMgMPea_snD(ae3grMeePmgAeiPnsItt)eLriFborraOrbyjeFcutnPcrtoipoenrstyChanges(3MPAPI)
2
3
4
6 MP_DeregisterForObjectPropertyChanges - deregister a previously regis‐
7 tered client function
8
10 cc [ flag... ] file... -lMPAPI [ library... ]
11 #include <mpapi.h>
12
13 MP_STATUS MP_DeregisterForObjectPropertyChanges(
14 MP_OBJECT_PROPERTY_FN pClientFn, MP_OBJECT_TYPE objectType,
15 MP_OID pluginOid);
16
17
19 pClientFn A pointer to an object ID that has type MP_OBJECT_PROP‐
20 ERTY_FN function defined by the client that was previ‐
21 ously registered using the MP_RegisterForObjectProperty‐
22 Changes(3MPAPI) API. With a successful return this func‐
23 tion will no longer be called to inform the client of
24 object property changes.
25
26
27 objectType The type of object the client wants to deregister for
28 property change callbacks.
29
30
31 pluginOid If this is a valid plugin object ID, then registration
32 will be removed from that plugin. If this is zero, then
33 registration is removed for all plugins.
34
35
37 The MP_DeregisterForObjectPropertyChanges() function deregisters a pre‐
38 viously registered client function that is to be invoked whenever an
39 object's property changes.
40
41
42 The function specified by pClientFn takes a single parameter of type
43 MP_OBJECT_PROPERTY_FN.
44
45
46 The function specified by pClientFn will no longer be called whenever
47 an object's property changes.
48
50 MP_STATUS_INVALID_OBJECT_TYPE
51
52 The pluginOid parameter does not specify any valid object type.
53 This is most likely to happen if an uninitialized object ID is
54 passed to the API.
55
56
57 MP_STATUS_INVALID_PARAMETER
58
59 The pluginOid parmeter is not zero and has a type subfield other
60 than MP_OBJECT_TYPE_PLUGIN.
61
62
63 MP_STATUS_OBJECT_NOT_FOUND
64
65 The pluginOid owner ID or object sequence number is invalid.
66
67
68 MP_STATUS_UNKNOWN_FN
69
70 The pClientFn parmeter is not the same as the previously registered
71 function.
72
73
74 MP_STATUS_SUCCESS
75
76 The pClientFn parmeter is deregistered successfully.
77
78
79 MP_STATUS_FAILED
80
81 The pClientFn parmeter deregistration is not possible.
82
83
85 See attributes(5) for descriptions of the following attributes:
86
87
88
89
90 ┌─────────────────────────────┬─────────────────────────────┐
91 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
92 ├─────────────────────────────┼─────────────────────────────┤
93 │Interface Stability │Standard: ANSI INCITS 412 │
94 │ │Multipath Management API │
95 ├─────────────────────────────┼─────────────────────────────┤
96 │MT-Level │Safe │
97 └─────────────────────────────┴─────────────────────────────┘
98
100 libMPAPI(3LIB), MP_RegisterForObjectPropertyChanges(3MPAPI),
101 attributes(5)
102
103
104 Multipath Management API Version 1.0
105
106
107
108SunOS 5.11 M1P5_DFeerbeg2i0s0t6erForObjectPropertyChanges(3MPAPI)