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_DEREGISTERFOROBJECTVISIBILITYCHANGES 3MPAPI "Feb 15, 2006"
9 MP_DeregisterForObjectVisibilityChanges \- deregister a client function
13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lMPAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
16 \fBMP_STATUS\fR \fBMP_DeregisterForObjectVisibilityChanges\fR(
17 \fBMP_OBJECT_VISIBILITY_FN\fR \fIpClientFn\fR, \fBMP_OBJECT_TYPE\fR \fIobjectType\fR,
18 \fBMP_OID\fR \fIpluginOid\fR);
28 A pointer to an object ID that has type \fBMP_OBJECT_VISIBILITY_FN\fR function
29 defined by the client that was previously registered using the
30 \fBMP_RegisterForObjectVisibilityChanges\fR(3MPAPI) API. With a successful
31 return this function will no longer be called to inform the client of object
38 \fB\fIobjectType\fR\fR
41 The type of object the client wishes to deregister for visibility change
51 If this is a valid plugin object ID, then registration will be removed from
52 that plugin. If this is zero, then registration is removed for all plugins.
58 The \fBMP_DeregisterForObjectVisibilityChanges()\fR function deregistesr a
59 client function to be called whenever a high level object appears or
63 The function specified by \fIpClientFn\fR takes a single parameter of type
64 MP_OBJECT_VISIBILITY_FN.
67 The function specified by \fIpClientFn\fR will no longer be called whenever
68 high level objects appear or disappear.
73 \fB\fBMP_STATUS_INVALID_OBJECT_TYPE\fR\fR
77 The \fIpluginOid\fR parameter does not specify any valid object type. This is
78 most likely to happen if an uninitialized object ID is passed to the API.
84 \fB\fBMP_STATUS_INVALID_PARAMETER\fR\fR
88 The \fIpluginOid\fR parameter is not zero or has a type subfield other than
89 \fBMP_OBJECT_TYPE_PLUGIN\fR.
95 \fB\fBMP_STATUS_OBJECT_NOT_FOUND\fR\fR
99 The \fIpluginOid\fR owner ID or object sequence number is invalid.
105 \fB\fBMP_STATUS_UNKNOWN_FN\fR\fR
109 The \fIpluginOid\fR parameter is not zero or has a type subfield other than
110 \fBMP_OBJECT_TYPE_PLUGIN\fR.
116 \fB\fBMP_STATUS_SUCCESS\fR\fR
120 The \fIpClientFn\fR parameter is deregistered successfully.
126 \fB\fBMP_STATUS_FAILED\fR\fR
130 The \fIpClientFn\fR parameter deregistration is not possible at this time.
136 See \fBattributes\fR(5) for descriptions of the following attributes:
144 ATTRIBUTE TYPE ATTRIBUTE VALUE
146 Interface Stability T{
147 Standard: ANSI INCITS 412 Multipath Management API
156 \fBlibMPAPI\fR(3LIB), \fBMP_RegisterForObjectVisibilityChanges\fR(3MPAPI),
160 \fIMultipath Management API Version 1.0\fR