1MP_GetObjectType(3CMoPmAmPoIn)Multipath Management Library FuMnPc_tGieotnOsbjectType(3MPAPI)
2
3
4

NAME

6       MP_GetObjectType - get an object type
7

SYNOPSIS

9       cc [ flag... ] file... -lMPAPI [ library... ]
10       #include <mpapi.h>
11
12       MP_STATUS MP_GetObjectType(MP_OID oid, MP_OBJECT_TYPE *pObjectType);
13
14

PARAMETERS

16       oid            The initialized object ID to have the type determined.
17
18
19       pObjectType    A  pointer  to an object ID that has type MP_OBJECT_TYPE
20                      variable allocated by  the  caller.  With  a  successful
21                      return it contains the object type of oid.
22
23

DESCRIPTION

25       The  MP_GetObjectType() function gets the object type of an initialized
26       object ID.
27
28
29       This API is provided so that clients can determine the type  of  object
30       an object ID represents.  This can be very useful for a client function
31       that receives notifications.
32

RETURN VALUES

34       MP_STATUS_INVALID_OBJECT_TYPE
35
36           The oid does not specify any valid object type. This is most likely
37           to happen if an uninitialized object ID is passed to th e API.
38
39
40       MP_STATUS_INVALID_PARAMETER
41
42           The  pObjectType  is  null or specifies a memory area to which data
43           cannot be written.
44
45
46       MP_STATUS_SUCCESS
47
48           The operation is successful.
49
50

ATTRIBUTES

52       See attributes(5) for descriptions of the following attributes:
53
54
55
56
57       ┌─────────────────────────────┬─────────────────────────────┐
58       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │Interface Stability          │Standard: ANSI  INCITS  412  │
61       │                             │Multipath Management API     │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │MT-Level                     │Safe                         │
64       └─────────────────────────────┴─────────────────────────────┘
65

SEE ALSO

67       libMPAPI(3LIB),          MP_RegisterForObjectVisibilityChanges(3MPAPI),
68       attributes(5)
69
70
71       Multipath Management API Version 1.0
72
73
74
75SunOS 5.11                        15 Feb 2006         MP_GetObjectType(3MPAPI)
Impressum