1 mike 1.1 /* @migen@ */
2 /*
3 **==============================================================================
4 **
5 ** WARNING: THIS FILE WAS AUTOMATICALLY GENERATED. PLEASE DO NOT EDIT.
6 **
7 **==============================================================================
8 */
9 #ifndef _MSFT_Process_h
10 #define _MSFT_Process_h
11
12 #include <MI.h>
13 #include "CIM_Process.h"
14 #include "CIM_ConcreteJob.h"
15
16 /*
17 **==============================================================================
18 **
19 ** MSFT_Process [MSFT_Process]
20 **
21 ** Keys:
22 mike 1.1 ** CSCreationClassName
23 ** CSName
24 ** OSCreationClassName
25 ** OSName
26 ** CreationClassName
27 ** Handle
28 **
29 **==============================================================================
30 */
31
32 typedef struct _MSFT_Process /* extends CIM_Process */
33 {
34 MI_Instance __instance;
35 /* CIM_ManagedElement properties */
36 MI_ConstStringField InstanceID;
37 MI_ConstStringField Caption;
38 MI_ConstStringField Description;
39 MI_ConstStringField ElementName;
40 /* CIM_ManagedSystemElement properties */
41 MI_ConstDatetimeField InstallDate;
42 MI_ConstStringField Name;
43 mike 1.1 MI_ConstUint16AField OperationalStatus;
44 MI_ConstStringAField StatusDescriptions;
45 MI_ConstStringField Status;
46 MI_ConstUint16Field HealthState;
47 MI_ConstUint16Field CommunicationStatus;
48 MI_ConstUint16Field DetailedStatus;
49 MI_ConstUint16Field OperatingStatus;
50 MI_ConstUint16Field PrimaryStatus;
51 /* CIM_LogicalElement properties */
52 /* CIM_EnabledLogicalElement properties */
53 MI_ConstUint16Field EnabledState;
54 MI_ConstStringField OtherEnabledState;
55 MI_ConstUint16Field RequestedState;
56 MI_ConstUint16Field EnabledDefault;
57 MI_ConstDatetimeField TimeOfLastStateChange;
58 MI_ConstUint16AField AvailableRequestedStates;
59 MI_ConstUint16Field TransitioningToState;
60 /* CIM_Process properties */
61 /*KEY*/ MI_ConstStringField CSCreationClassName;
62 /*KEY*/ MI_ConstStringField CSName;
63 /*KEY*/ MI_ConstStringField OSCreationClassName;
64 mike 1.1 /*KEY*/ MI_ConstStringField OSName;
65 /*KEY*/ MI_ConstStringField CreationClassName;
66 /*KEY*/ MI_ConstStringField Handle;
67 MI_ConstUint32Field Priority;
68 MI_ConstUint16Field ExecutionState;
69 MI_ConstStringField OtherExecutionDescription;
70 MI_ConstDatetimeField CreationDate;
71 MI_ConstDatetimeField TerminationDate;
72 MI_ConstUint64Field KernelModeTime;
73 MI_ConstUint64Field UserModeTime;
74 MI_ConstUint64Field WorkingSetSize;
75 /* MSFT_Process properties */
76 }
77 MSFT_Process;
78
79 typedef struct _MSFT_Process_Ref
80 {
81 MSFT_Process* value;
82 MI_Boolean exists;
83 MI_Uint8 flags;
84 }
85 mike 1.1 MSFT_Process_Ref;
86
87 typedef struct _MSFT_Process_ConstRef
88 {
89 MI_CONST MSFT_Process* value;
90 MI_Boolean exists;
91 MI_Uint8 flags;
92 }
93 MSFT_Process_ConstRef;
94
95 typedef struct _MSFT_Process_Array
96 {
97 struct _MSFT_Process** data;
98 MI_Uint32 size;
99 }
100 MSFT_Process_Array;
101
102 typedef struct _MSFT_Process_ConstArray
103 {
104 struct _MSFT_Process MI_CONST* MI_CONST* data;
105 MI_Uint32 size;
106 mike 1.1 }
107 MSFT_Process_ConstArray;
108
109 typedef struct _MSFT_Process_ArrayRef
110 {
111 MSFT_Process_Array value;
112 MI_Boolean exists;
113 MI_Uint8 flags;
114 }
115 MSFT_Process_ArrayRef;
116
117 typedef struct _MSFT_Process_ConstArrayRef
118 {
119 MSFT_Process_ConstArray value;
120 MI_Boolean exists;
121 MI_Uint8 flags;
122 }
123 MSFT_Process_ConstArrayRef;
124
125 MI_EXTERN_C MI_CONST MI_ClassDecl MSFT_Process_rtti;
126
127 mike 1.1 /*
128 **==============================================================================
129 **
130 ** MSFT_Process.RequestStateChange()
131 **
132 **==============================================================================
133 */
134
135 typedef struct _MSFT_Process_RequestStateChange
136 {
137 MI_Instance __instance;
138 /*OUT*/ MI_ConstUint32Field MIReturn;
139 /*IN*/ MI_ConstUint16Field RequestedState;
140 /*OUT*/ CIM_ConcreteJob_ConstRef Job;
141 /*IN*/ MI_ConstDatetimeField TimeoutPeriod;
142 }
143 MSFT_Process_RequestStateChange;
144
145
146 /*
147 **==============================================================================
148 mike 1.1 **
149 ** MSFT_Process_Class
150 **
151 **==============================================================================
152 */
153
154 #ifdef __cplusplus
155 # include <micxx/micxx.h>
156
157 MI_BEGIN_NAMESPACE
158
159 class MSFT_Process_Class : public CIM_Process_Class
160 {
161 public:
162
163 typedef MSFT_Process Self;
164
165 MSFT_Process_Class() :
166 CIM_Process_Class(&MSFT_Process_rtti)
167 {
168 }
169 mike 1.1
170 MSFT_Process_Class(
171 const MSFT_Process* instanceName,
172 bool keysOnly) :
173 CIM_Process_Class(
174 &MSFT_Process_rtti,
175 &instanceName->__instance,
176 keysOnly)
177 {
178 }
179
180 MSFT_Process_Class(
181 const MI_ClassDecl* clDecl,
182 const MI_Instance* instance,
183 bool keysOnly) :
184 CIM_Process_Class(clDecl, instance, keysOnly)
185 {
186 }
187
188 MSFT_Process_Class(
189 const MI_ClassDecl* clDecl) :
190 mike 1.1 CIM_Process_Class(clDecl)
191 {
192 }
193
194 MSFT_Process_Class& operator=(
195 const MSFT_Process_Class& x)
196 {
197 CopyRef(x);
198 return *this;
199 }
200
201 MSFT_Process_Class(
202 const MSFT_Process_Class& x) :
203 CIM_Process_Class(x)
204 {
205 }
206
207 static const MI_ClassDecl* GetClassDecl()
208 {
209 return &MSFT_Process_rtti;
210 }
211 mike 1.1
212 };
213
214 typedef Array<MSFT_Process_Class> MSFT_Process_ClassA;
215
216 MI_END_NAMESPACE
217
218 #endif /* __cplusplus */
219
220 #endif /* _MSFT_Process_h */
|