1MP_GetDeviceProducCtoPmrmoopnerMtuiletsi(p3aMtPhAPMIa)nagemeMnPt_GLeitbDreavriyceFPurnocdtuicotnPsroperties(3MPAPI)
2
3
4
6 MP_GetDeviceProductProperties - get the properties of a specified
7 device product
8
10 cc [ flag... ] file... -lMPAPI [ library... ]
11 #include <mpapi.h>
12
13 MP_STATUS MP_GetDeviceProductProperties(MP_OID oid,
14 MP_DEVICE_PRODUCT_PROPERTIES *pProps);
15
16
18 oid The object ID of the device product.
19
20
21 pProps A pointer to an object ID that has type MP_DEVICE_PR
22 ODUCT_PROPERTIES structure allocated by the caller. With a
23 successful return, this structure contains the properties of
24 the device product specified by the oid.
25
26
28 The MP_GetDeviceProductProperties() function gets the properties of the
29 specified device product.
30
32 MP_STATUS_INVALID_OBJECT_TYPE
33
34 The oid does not specify any valid object type. This is most likely
35 to happen if an uninitialized object ID is passed to the API.
36
37
38 MP_STATUS_OBJECT_NOT_FOUND
39
40 The oid owner ID or object sequence number is invalid.
41
42
43 MP_STATUS_INVALID_PARAMETER
44
45 Returned when pProps is null or specifies a memory area to which
46 data cannot be written, or the oid has a type subfield other than
47 MP_OBJECT_TYPE_DEVICE_PRODUCT.
48
49
50 MP_STATUS_SUCCESS
51
52 The operation is successful.
53
54
55 MP_STATUS_FAILED
56
57 The plugin for the specified oid is not found.
58
59
60 MP_STATUS_UNSUPPORTED
61
62 The implementation does not support the API.
63
64
66 See attributes(5) for descriptions of the following attributes:
67
68
69
70
71 ┌─────────────────────────────┬─────────────────────────────┐
72 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
73 ├─────────────────────────────┼─────────────────────────────┤
74 │Interface Stability │Standard: ANSI INCITS 412 │
75 │ │Multipath Management API │
76 ├─────────────────────────────┼─────────────────────────────┤
77 │MT-Level │Safe │
78 └─────────────────────────────┴─────────────────────────────┘
79
81 libMPAPI(3LIB), MP_GetDeviceProductOidList(3MPAPI), attributes(5)
82
83
84 Multipath Management API Version 1.0
85
86
87
88SunOS 5.11 15 Feb 2M0P0_6GetDeviceProductProperties(3MPAPI)