4 writes to pWbemClassObject
System.Management (4)
InteropClasses\WMIInterop.cs (4)
38
this.
pWbemClassObject
= pWbemClassObject;
74
pWbemClassObject
= IntPtr.Zero;
91
pWbemClassObject
= IntPtr.Zero;
96
pWbemClassObject
= CoUnmarshalInterface(stream, ref IID_IWbemClassObject);
53 references to pWbemClassObject
System.Management (53)
InteropClasses\WMIInterop.cs (53)
45
return wbemClassObject.
pWbemClassObject
;
71
if(
pWbemClassObject
!= IntPtr.Zero)
73
Marshal.Release(
pWbemClassObject
);
117
CoMarshalInterface(stream, ref IID_IWbemClassObject,
pWbemClassObject
, (UInt32)MSHCTX.MSHCTX_DIFFERENTMACHINE, IntPtr.Zero, (UInt32)MSHLFLAGS.MSHLFLAGS_TABLEWEAK);
139
if(
pWbemClassObject
== IntPtr.Zero)
142
int hResult = WmiNetUtilsHelper.GetQualifierSet_f(3,
pWbemClassObject
, out pQualSet);
152
if(
pWbemClassObject
== IntPtr.Zero)
154
int hr = WmiNetUtilsHelper.Get_f(4,
pWbemClassObject
, wszName, lFlags, ref pVal, ref pType, ref plFlavor);
174
if(
pWbemClassObject
== IntPtr.Zero)
176
int res = WmiNetUtilsHelper.Put_f(5,
pWbemClassObject
, wszName, lFlags, ref pVal, Type);
182
if(
pWbemClassObject
== IntPtr.Zero)
184
int res = WmiNetUtilsHelper.Delete_f(6,
pWbemClassObject
, wszName);
190
if(
pWbemClassObject
== IntPtr.Zero)
192
int res = WmiNetUtilsHelper.GetNames_f(7,
pWbemClassObject
, wszQualifierName, lFlags, ref pQualifierVal, out pNames);
199
if(
pWbemClassObject
== IntPtr.Zero)
201
int res = WmiNetUtilsHelper.BeginEnumeration_f(8,
pWbemClassObject
, lEnumFlags);
207
if(
pWbemClassObject
== IntPtr.Zero)
211
int res = WmiNetUtilsHelper.Next_f(9,
pWbemClassObject
, lFlags, ref strName, ref pVal, ref pType, ref plFlavor);
217
if(
pWbemClassObject
== IntPtr.Zero)
219
int res = WmiNetUtilsHelper.EndEnumeration_f(10,
pWbemClassObject
);
225
if(
pWbemClassObject
== IntPtr.Zero)
228
int hResult = WmiNetUtilsHelper.GetPropertyQualifierSet_f(11,
pWbemClassObject
, wszProperty, out pQualSet);
239
if(
pWbemClassObject
== IntPtr.Zero)
242
int hResult = WmiNetUtilsHelper.Clone_f(12,
pWbemClassObject
, out pWbemClassObjectNew);
253
if(
pWbemClassObject
== IntPtr.Zero)
255
int res = WmiNetUtilsHelper.GetObjectText_f(13,
pWbemClassObject
, lFlags, out pstrObjectText);
261
if(
pWbemClassObject
== IntPtr.Zero)
264
int hResult = WmiNetUtilsHelper.SpawnDerivedClass_f(14,
pWbemClassObject
, lFlags, out pWbemClassObjectNew);
275
if(
pWbemClassObject
== IntPtr.Zero)
278
int hResult = WmiNetUtilsHelper.SpawnInstance_f(15,
pWbemClassObject
, lFlags, out pWbemClassObjectNew);
289
if(
pWbemClassObject
== IntPtr.Zero)
291
int res = WmiNetUtilsHelper.CompareTo_f(16,
pWbemClassObject
, lFlags, pCompareTo.
pWbemClassObject
);
297
if(
pWbemClassObject
== IntPtr.Zero)
299
int res = WmiNetUtilsHelper.GetPropertyOrigin_f(17,
pWbemClassObject
, wszName, out pstrClassName);
305
if(
pWbemClassObject
== IntPtr.Zero)
307
int res = WmiNetUtilsHelper.InheritsFrom_f(18,
pWbemClassObject
, strAncestor);
313
if(
pWbemClassObject
== IntPtr.Zero)
317
int hResult = WmiNetUtilsHelper.GetMethod_f(19,
pWbemClassObject
, wszName, lFlags, out pInSignature, out pOutSignature);
334
if(
pWbemClassObject
== IntPtr.Zero)
336
int res = WmiNetUtilsHelper.PutMethod_f(20,
pWbemClassObject
, wszName, lFlags, pInSignature, pOutSignature);
342
if(
pWbemClassObject
== IntPtr.Zero)
344
int res = WmiNetUtilsHelper.DeleteMethod_f(21,
pWbemClassObject
, wszName);
350
if(
pWbemClassObject
== IntPtr.Zero)
352
int res = WmiNetUtilsHelper.BeginMethodEnumeration_f(22,
pWbemClassObject
, lEnumFlags);
358
if(
pWbemClassObject
== IntPtr.Zero)
364
int hResult = WmiNetUtilsHelper.NextMethod_f(23,
pWbemClassObject
, lFlags, out pstrName, out pInSignature, out pOutSignature);
380
if(
pWbemClassObject
== IntPtr.Zero)
382
int res = WmiNetUtilsHelper.EndMethodEnumeration_f(24,
pWbemClassObject
);
388
if(
pWbemClassObject
== IntPtr.Zero)
391
int hResult = WmiNetUtilsHelper.GetMethodQualifierSet_f(25,
pWbemClassObject
, wszMethod, out pQualSet);
401
if(
pWbemClassObject
== IntPtr.Zero)
403
int res = WmiNetUtilsHelper.GetMethodOrigin_f(26,
pWbemClassObject
, wszMethodName, out pstrClassName);