2 .\" Copyright (c) 2004-2006 Storage Networking Industry Association. All Rights Reserved.
3 .\" Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH MP_DEREGISTERFOROBJECTPROPERTYCHANGES 3MPAPI "Feb 15, 2006"
9 MP_DeregisterForObjectPropertyChanges \- deregister a previously registered
14 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lMPAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
17 \fBMP_STATUS\fR \fBMP_DeregisterForObjectPropertyChanges\fR(
18 \fBMP_OBJECT_PROPERTY_FN\fR \fIpClientFn\fR, \fBMP_OBJECT_TYPE\fR \fIobjectType\fR,
19 \fBMP_OID\fR \fIpluginOid\fR);
29 A pointer to an object ID that has type \fBMP_OBJECT_PROPERTY_FN\fR function
30 defined by the client that was previously registered using the
31 \fBMP_RegisterForObjectPropertyChanges\fR(3MPAPI) API. With a successful return
32 this function will no longer be called to inform the client of object property
39 \fB\fIobjectType\fR\fR
42 The type of object the client wants to deregister for property change
52 If this is a valid plugin object ID, then registration will be removed from
53 that plugin. If this is zero, then registration is removed for all plugins.
59 The \fBMP_DeregisterForObjectPropertyChanges()\fR function deregisters a
60 previously registered client function that is to be invoked whenever an
61 object's property changes.
64 The function specified by \fIpClientFn\fR takes a single parameter of type
65 \fBMP_OBJECT_PROPERTY_FN\fR.
68 The function specified by \fIpClientFn\fR will no longer be called whenever an
69 object's property changes.
74 \fB\fBMP_STATUS_INVALID_OBJECT_TYPE\fR\fR
78 The \fIpluginOid\fR parameter does not specify any valid object type. This is
79 most likely to happen if an uninitialized object ID is passed to the API.
85 \fB\fBMP_STATUS_INVALID_PARAMETER\fR\fR
89 The \fIpluginOid\fR parmeter is not zero and has a type subfield other than
90 \fBMP_OBJECT_TYPE_PLUGIN\fR.
96 \fB\fBMP_STATUS_OBJECT_NOT_FOUND\fR\fR
100 The \fIpluginOid\fR owner ID or object sequence number is invalid.
106 \fB\fBMP_STATUS_UNKNOWN_FN\fR\fR
110 The \fIpClientFn\fR parmeter is not the same as the previously registered
117 \fB\fBMP_STATUS_SUCCESS\fR\fR
121 The \fIpClientFn\fR parmeter is deregistered successfully.
127 \fB\fBMP_STATUS_FAILED\fR\fR
131 The \fIpClientFn\fR parmeter deregistration is not possible.
137 See \fBattributes\fR(5) for descriptions of the following attributes:
145 ATTRIBUTE TYPE ATTRIBUTE VALUE
147 Interface Stability T{
148 Standard: ANSI INCITS 412 Multipath Management API
157 \fBlibMPAPI\fR(3LIB), \fBMP_RegisterForObjectPropertyChanges\fR(3MPAPI),
161 \fIMultipath Management API Version 1.0\fR