153 references to WmiNetUtilsHelper
System.Management (153)
Instrumentation\EventSource.cs (8)
109
Marshal.ThrowExceptionForHR(hr,
WmiNetUtilsHelper
.GetErrorInfo_f());
292
Marshal.ThrowExceptionForHR(hresult,
WmiNetUtilsHelper
.GetErrorInfo_f());
328
Marshal.ThrowExceptionForHR(hresult,
WmiNetUtilsHelper
.GetErrorInfo_f());
814
WmiNetUtilsHelper
.GetPropertyHandle_f27(27, insts[count], "InstanceId", out cimType, out handleInstanceId);
841
WmiNetUtilsHelper
.GetPropertyHandle_f27(27, insts[count], "InstanceId", out cimType, out handleInstanceId);
846
WmiNetUtilsHelper
.WritePropertyValue_f28(28, insts[count], handleInstanceId, (instanceId.Length+1)*2, instanceId);
869
WmiNetUtilsHelper
.Clone_f(12, objs[i], out objsClone[i]);
903
WmiNetUtilsHelper
.Clone_f(12, objs[i], out objsClone[i]);
Instrumentation\SchemaRegistration.cs (1)
283
WmiNetUtilsHelper
.VerifyClientKey_f();
InteropClasses\WMIInterop.cs (34)
142
int hResult =
WmiNetUtilsHelper
.GetQualifierSet_f(3, pWbemClassObject, out pQualSet);
154
int hr =
WmiNetUtilsHelper
.Get_f(4, pWbemClassObject, wszName, lFlags, ref pVal, ref pType, ref plFlavor);
176
int res =
WmiNetUtilsHelper
.Put_f(5, pWbemClassObject, wszName, lFlags, ref pVal, Type);
184
int res =
WmiNetUtilsHelper
.Delete_f(6, pWbemClassObject, wszName);
192
int res =
WmiNetUtilsHelper
.GetNames_f(7, pWbemClassObject, wszQualifierName, lFlags, ref pQualifierVal, out pNames);
201
int res =
WmiNetUtilsHelper
.BeginEnumeration_f(8, pWbemClassObject, lEnumFlags);
211
int res =
WmiNetUtilsHelper
.Next_f(9, pWbemClassObject, lFlags, ref strName, ref pVal, ref pType, ref plFlavor);
219
int res =
WmiNetUtilsHelper
.EndEnumeration_f(10, pWbemClassObject);
228
int hResult =
WmiNetUtilsHelper
.GetPropertyQualifierSet_f(11, pWbemClassObject, wszProperty, out pQualSet);
242
int hResult =
WmiNetUtilsHelper
.Clone_f(12, pWbemClassObject, out pWbemClassObjectNew);
255
int res =
WmiNetUtilsHelper
.GetObjectText_f(13, pWbemClassObject, lFlags, out pstrObjectText);
264
int hResult =
WmiNetUtilsHelper
.SpawnDerivedClass_f(14, pWbemClassObject, lFlags, out pWbemClassObjectNew);
278
int hResult =
WmiNetUtilsHelper
.SpawnInstance_f(15, pWbemClassObject, lFlags, out pWbemClassObjectNew);
291
int res =
WmiNetUtilsHelper
.CompareTo_f(16, pWbemClassObject, lFlags, pCompareTo.pWbemClassObject);
299
int res =
WmiNetUtilsHelper
.GetPropertyOrigin_f(17, pWbemClassObject, wszName, out pstrClassName);
307
int res =
WmiNetUtilsHelper
.InheritsFrom_f(18, pWbemClassObject, strAncestor);
317
int hResult =
WmiNetUtilsHelper
.GetMethod_f(19, pWbemClassObject, wszName, lFlags, out pInSignature, out pOutSignature);
336
int res =
WmiNetUtilsHelper
.PutMethod_f(20, pWbemClassObject, wszName, lFlags, pInSignature, pOutSignature);
344
int res =
WmiNetUtilsHelper
.DeleteMethod_f(21, pWbemClassObject, wszName);
352
int res =
WmiNetUtilsHelper
.BeginMethodEnumeration_f(22, pWbemClassObject, lEnumFlags);
364
int hResult =
WmiNetUtilsHelper
.NextMethod_f(23, pWbemClassObject, lFlags, out pstrName, out pInSignature, out pOutSignature);
382
int res =
WmiNetUtilsHelper
.EndMethodEnumeration_f(24, pWbemClassObject);
391
int hResult =
WmiNetUtilsHelper
.GetMethodQualifierSet_f(25, pWbemClassObject, wszMethod, out pQualSet);
403
int res =
WmiNetUtilsHelper
.GetMethodOrigin_f(26, pWbemClassObject, wszMethodName, out pstrClassName);
512
int res =
WmiNetUtilsHelper
.QualifierGet_f(3, pWbemQualifierSet, wszName, lFlags, ref pVal, ref plFlavor);
521
int res =
WmiNetUtilsHelper
.QualifierPut_f(4, pWbemQualifierSet, wszName, ref pVal, lFlavor);
529
int res =
WmiNetUtilsHelper
.QualifierDelete_f(5, pWbemQualifierSet, wszName);
537
int res =
WmiNetUtilsHelper
.QualifierGetNames_f(6, pWbemQualifierSet, lFlags, out pNames);
545
int res =
WmiNetUtilsHelper
.QualifierBeginEnumeration_f(7, pWbemQualifierSet, lFlags);
553
int res =
WmiNetUtilsHelper
.QualifierNext_f(8, pWbemQualifierSet, lFlags, out pstrName, out pVal, out plFlavor);
561
int res =
WmiNetUtilsHelper
.QualifierEndEnumeration_f(9, pWbemQualifierSet);
2121
WmiNetUtilsHelper
.APTTYPE aptType;
2125
if(0 !=
WmiNetUtilsHelper
.GetCurrentApartmentType_f(3, pComThreadingInfo, out aptType))
2129
if(aptType !=
WmiNetUtilsHelper
.APTTYPE.APTTYPE_MTA)
managementbaseobject.cs (7)
339
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
460
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
632
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
659
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
805
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
831
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
853
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
managementclass.cs (13)
90
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
353
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
493
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
627
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
716
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
785
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
870
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
933
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
966
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1096
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1204
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1303
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1404
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
managementeventwatcher.cs (5)
486
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
517
Marshal.ThrowExceptionForHR(sink.Status,
WmiNetUtilsHelper
.GetErrorInfo_f());
542
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
679
obj.Status =
WmiNetUtilsHelper
.GetDemultiplexedStub_f (obj, obj.isLocal, out dmuxStub);
778
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
managementobject.cs (20)
712
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
809
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
945
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1081
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1211
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1315
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1437
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1529
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1692
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1834
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1950
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2012
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2085
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2344
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2422
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2515
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2549
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2701
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2790
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
2882
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
managementobjectcollection.cs (3)
331
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
578
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
649
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
managementobjectsearcher.cs (2)
387
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
482
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
managementpath.cs (13)
118
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
286
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
342
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
384
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
530
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
626
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
656
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
779
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
829
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
950
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
977
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1006
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1035
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
managementscope.cs (17)
1169
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1225
status =
WmiNetUtilsHelper
.CloneEnumWbemClassObject_f(
1266
WmiNetUtilsHelper
.SetSecurity_f(ref needToReset, ref handle);
1270
status =
WmiNetUtilsHelper
.ConnectServerWmi_f(
1288
WmiNetUtilsHelper
.ResetSecurity_f(handle);
1346
status =
WmiNetUtilsHelper
.PutClassWmi_f(pObject,
1387
status =
WmiNetUtilsHelper
.CreateClassEnumWmi_f(strSuperClass,
1413
status =
WmiNetUtilsHelper
.PutInstanceWmi_f(pInst,
1455
status =
WmiNetUtilsHelper
.CreateInstanceEnumWmi_f(strFilter,
1481
status =
WmiNetUtilsHelper
.ExecQueryWmi_f(strQueryLanguage,
1508
status =
WmiNetUtilsHelper
.ExecNotificationQueryWmi_f(strQueryLanguage,
1561
WmiNetUtilsHelper
.SetSecurity_f(ref needToReset, ref handle);
1574
WmiNetUtilsHelper
.ResetSecurity_f ( handle);
1586
int status =
WmiNetUtilsHelper
.BlessIWbemServices_f
1598
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
1612
int status =
WmiNetUtilsHelper
.BlessIWbemServicesObject_f
1624
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
method.cs (2)
133
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
222
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
methodset.cs (4)
110
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
285
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
378
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
445
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
property.cs (3)
112
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
157
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
230
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
propertyset.cs (7)
90
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
160
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
266
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
384
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
427
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
469
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
507
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
qualifier.cs (6)
95
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
197
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
239
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
292
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
328
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
364
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
qualifierset.cs (6)
107
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
147
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
211
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
356
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
444
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
493
Marshal.ThrowExceptionForHR(status,
WmiNetUtilsHelper
.GetErrorInfo_f());
wmieventsink.cs (1)
119
WmiNetUtilsHelper
.GetDemultiplexedStub_f (this, this.isLocal, out stub);
wmiutil.cs (1)
52
IntPtr pErrorInfo =
WmiNetUtilsHelper
.GetErrorInfo_f();