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_GETDEVICEPRODUCTPROPERTIES 3MPAPI "Feb 15, 2006"
9 MP_GetDeviceProductProperties \- get the properties of a specified device
14 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lMPAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
17 \fBMP_STATUS\fR \fBMP_GetDeviceProductProperties\fR(\fBMP_OID\fR \fIoid\fR,
18 \fBMP_DEVICE_PRODUCT_PROPERTIES\fR \fI*pProps\fR);
28 The object ID of the device product.
37 A pointer to an object ID that has type \fBMP_DEVICE_PR ODUCT_PROPERTIES\fR
38 structure allocated by the caller. With a successful return, this structure
39 contains the properties of the device product specified by the \fIoid\fR.
45 The \fBMP_GetDeviceProductProperties()\fR function gets the properties of the
46 specified device product.
51 \fB\fBMP_STATUS_INVALID_OBJECT_TYPE\fR\fR
55 The \fIoid\fR does not specify any valid object type. This is most likely to
56 happen if an uninitialized object ID is passed to the API.
62 \fB\fBMP_STATUS_OBJECT_NOT_FOUND\fR\fR
66 The \fIoid\fR owner ID or object sequence number is invalid.
72 \fB\fBMP_STATUS_INVALID_PARAMETER\fR\fR
76 Returned when \fIpProps\fR is null or specifies a memory area to which data
77 cannot be written, or the \fIoid\fR has a type subfield other than
78 \fBMP_OBJECT_TYPE_DEVICE_PRODUCT\fR.
84 \fB\fBMP_STATUS_SUCCESS\fR\fR
88 The operation is successful.
94 \fB\fBMP_STATUS_FAILED\fR\fR
98 The plugin for the specified \fIoid\fR is not found.
104 \fB\fBMP_STATUS_UNSUPPORTED\fR\fR
108 The implementation does not support the API.
114 See \fBattributes\fR(5) for descriptions of the following attributes:
122 ATTRIBUTE TYPE ATTRIBUTE VALUE
124 Interface Stability T{
125 Standard: ANSI INCITS 412 Multipath Management API
134 \fBlibMPAPI\fR(3LIB), \fBMP_GetDeviceProductOidList\fR(3MPAPI),
138 \fIMultipath Management API Version 1.0\fR