-
Notifications
You must be signed in to change notification settings - Fork 188
/
WbemScripting_TLB.pas
2274 lines (2122 loc) · 121 KB
/
WbemScripting_TLB.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
unit WbemScripting_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// $Rev: 52393 $
// File generated on 03/04/2019 16:27:07 from Type Library described below.
// ************************************************************************ //
// Type Lib: C:\Windows\SysWOW64\wbem\wbemdisp.TLB (1)
// LIBID: {565783C6-CB41-11D1-8B02-00600806D9B6}
// LCID: 0
// Helpfile:
// HelpString: Microsoft WMI Scripting V1.2 Library
// DepndLst:
// (1) v2.0 stdole, (C:\Windows\SysWOW64\stdole2.tlb)
// SYS_KIND: SYS_WIN32
// Errors:
// Hint: Member 'Class' of 'ISWbemObjectPath' changed to 'Class_'
// Hint: Member 'Object' of 'ISWbemRefreshableItem' changed to 'Object_'
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
{$ALIGN 4}
interface
uses Winapi.Windows, System.Classes, System.Variants, System.Win.StdVCL, Vcl.Graphics, Vcl.OleServer, Winapi.ActiveX;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
// TypeLibrary Major and minor versions
WbemScriptingMajorVersion = 1;
WbemScriptingMinorVersion = 2;
LIBID_WbemScripting: TGUID = '{565783C6-CB41-11D1-8B02-00600806D9B6}';
IID_ISWbemServices: TGUID = '{76A6415C-CB41-11D1-8B02-00600806D9B6}';
IID_ISWbemObject: TGUID = '{76A6415A-CB41-11D1-8B02-00600806D9B6}';
IID_ISWbemObjectPath: TGUID = '{5791BC27-CE9C-11D1-97BF-0000F81E849C}';
IID_ISWbemNamedValueSet: TGUID = '{CF2376EA-CE8C-11D1-8B05-00600806D9B6}';
IID_ISWbemNamedValue: TGUID = '{76A64164-CB41-11D1-8B02-00600806D9B6}';
IID_ISWbemSecurity: TGUID = '{B54D66E6-2287-11D2-8B33-00600806D9B6}';
IID_ISWbemPrivilegeSet: TGUID = '{26EE67BF-5804-11D2-8B4A-00600806D9B6}';
IID_ISWbemPrivilege: TGUID = '{26EE67BD-5804-11D2-8B4A-00600806D9B6}';
IID_ISWbemObjectSet: TGUID = '{76A6415F-CB41-11D1-8B02-00600806D9B6}';
IID_ISWbemQualifierSet: TGUID = '{9B16ED16-D3DF-11D1-8B08-00600806D9B6}';
IID_ISWbemQualifier: TGUID = '{79B05932-D3B7-11D1-8B06-00600806D9B6}';
IID_ISWbemPropertySet: TGUID = '{DEA0A7B2-D4BA-11D1-8B09-00600806D9B6}';
IID_ISWbemProperty: TGUID = '{1A388F98-D4BA-11D1-8B09-00600806D9B6}';
IID_ISWbemMethodSet: TGUID = '{C93BA292-D955-11D1-8B09-00600806D9B6}';
IID_ISWbemMethod: TGUID = '{422E8E90-D955-11D1-8B09-00600806D9B6}';
IID_ISWbemEventSource: TGUID = '{27D54D92-0EBE-11D2-8B22-00600806D9B6}';
IID_ISWbemLocator: TGUID = '{76A6415B-CB41-11D1-8B02-00600806D9B6}';
IID_ISWbemLastError: TGUID = '{D962DB84-D4BB-11D1-8B09-00600806D9B6}';
DIID_ISWbemSinkEvents: TGUID = '{75718CA0-F029-11D1-A1AC-00C04FB6C223}';
IID_ISWbemSink: TGUID = '{75718C9F-F029-11D1-A1AC-00C04FB6C223}';
IID_ISWbemServicesEx: TGUID = '{D2F68443-85DC-427E-91D8-366554CC754C}';
IID_ISWbemObjectEx: TGUID = '{269AD56A-8A67-4129-BC8C-0506DCFE9880}';
IID_ISWbemDateTime: TGUID = '{5E97458A-CF77-11D3-B38F-00105A1F473A}';
IID_ISWbemRefresher: TGUID = '{14D8250E-D9C2-11D3-B38F-00105A1F473A}';
IID_ISWbemRefreshableItem: TGUID = '{5AD4BF92-DAAB-11D3-B38F-00105A1F473A}';
CLASS_SWbemLocator: TGUID = '{76A64158-CB41-11D1-8B02-00600806D9B6}';
CLASS_SWbemNamedValueSet: TGUID = '{9AED384E-CE8B-11D1-8B05-00600806D9B6}';
CLASS_SWbemObjectPath: TGUID = '{5791BC26-CE9C-11D1-97BF-0000F81E849C}';
CLASS_SWbemLastError: TGUID = '{C2FEEEAC-CFCD-11D1-8B05-00600806D9B6}';
CLASS_SWbemSink: TGUID = '{75718C9A-F029-11D1-A1AC-00C04FB6C223}';
CLASS_SWbemDateTime: TGUID = '{47DFBE54-CF76-11D3-B38F-00105A1F473A}';
CLASS_SWbemRefresher: TGUID = '{D269BF5C-D9C1-11D3-B38F-00105A1F473A}';
CLASS_SWbemServices: TGUID = '{04B83D63-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemServicesEx: TGUID = '{62E522DC-8CF3-40A8-8B2E-37D595651E40}';
CLASS_SWbemObject: TGUID = '{04B83D62-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemObjectEx: TGUID = '{D6BDAFB2-9435-491F-BB87-6AA0F0BC31A2}';
CLASS_SWbemObjectSet: TGUID = '{04B83D61-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemNamedValue: TGUID = '{04B83D60-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemQualifier: TGUID = '{04B83D5F-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemQualifierSet: TGUID = '{04B83D5E-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemProperty: TGUID = '{04B83D5D-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemPropertySet: TGUID = '{04B83D5C-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemMethod: TGUID = '{04B83D5B-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemMethodSet: TGUID = '{04B83D5A-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemEventSource: TGUID = '{04B83D58-21AE-11D2-8B33-00600806D9B6}';
CLASS_SWbemSecurity: TGUID = '{B54D66E9-2287-11D2-8B33-00600806D9B6}';
CLASS_SWbemPrivilege: TGUID = '{26EE67BC-5804-11D2-8B4A-00600806D9B6}';
CLASS_SWbemPrivilegeSet: TGUID = '{26EE67BE-5804-11D2-8B4A-00600806D9B6}';
CLASS_SWbemRefreshableItem: TGUID = '{8C6854BC-DE4B-11D3-B390-00105A1F473A}';
// *********************************************************************//
// Declaration of Enumerations defined in Type Library
// *********************************************************************//
// Constants for enum WbemImpersonationLevelEnum
type
WbemImpersonationLevelEnum = TOleEnum;
const
wbemImpersonationLevelAnonymous = $00000001;
wbemImpersonationLevelIdentify = $00000002;
wbemImpersonationLevelImpersonate = $00000003;
wbemImpersonationLevelDelegate = $00000004;
// Constants for enum WbemAuthenticationLevelEnum
type
WbemAuthenticationLevelEnum = TOleEnum;
const
wbemAuthenticationLevelDefault = $00000000;
wbemAuthenticationLevelNone = $00000001;
wbemAuthenticationLevelConnect = $00000002;
wbemAuthenticationLevelCall = $00000003;
wbemAuthenticationLevelPkt = $00000004;
wbemAuthenticationLevelPktIntegrity = $00000005;
wbemAuthenticationLevelPktPrivacy = $00000006;
// Constants for enum WbemPrivilegeEnum
type
WbemPrivilegeEnum = TOleEnum;
const
wbemPrivilegeCreateToken = $00000001;
wbemPrivilegePrimaryToken = $00000002;
wbemPrivilegeLockMemory = $00000003;
wbemPrivilegeIncreaseQuota = $00000004;
wbemPrivilegeMachineAccount = $00000005;
wbemPrivilegeTcb = $00000006;
wbemPrivilegeSecurity = $00000007;
wbemPrivilegeTakeOwnership = $00000008;
wbemPrivilegeLoadDriver = $00000009;
wbemPrivilegeSystemProfile = $0000000A;
wbemPrivilegeSystemtime = $0000000B;
wbemPrivilegeProfileSingleProcess = $0000000C;
wbemPrivilegeIncreaseBasePriority = $0000000D;
wbemPrivilegeCreatePagefile = $0000000E;
wbemPrivilegeCreatePermanent = $0000000F;
wbemPrivilegeBackup = $00000010;
wbemPrivilegeRestore = $00000011;
wbemPrivilegeShutdown = $00000012;
wbemPrivilegeDebug = $00000013;
wbemPrivilegeAudit = $00000014;
wbemPrivilegeSystemEnvironment = $00000015;
wbemPrivilegeChangeNotify = $00000016;
wbemPrivilegeRemoteShutdown = $00000017;
wbemPrivilegeUndock = $00000018;
wbemPrivilegeSyncAgent = $00000019;
wbemPrivilegeEnableDelegation = $0000001A;
wbemPrivilegeManageVolume = $0000001B;
// Constants for enum WbemCimtypeEnum
type
WbemCimtypeEnum = TOleEnum;
const
wbemCimtypeSint8 = $00000010;
wbemCimtypeUint8 = $00000011;
wbemCimtypeSint16 = $00000002;
wbemCimtypeUint16 = $00000012;
wbemCimtypeSint32 = $00000003;
wbemCimtypeUint32 = $00000013;
wbemCimtypeSint64 = $00000014;
wbemCimtypeUint64 = $00000015;
wbemCimtypeReal32 = $00000004;
wbemCimtypeReal64 = $00000005;
wbemCimtypeBoolean = $0000000B;
wbemCimtypeString = $00000008;
wbemCimtypeDatetime = $00000065;
wbemCimtypeReference = $00000066;
wbemCimtypeChar16 = $00000067;
wbemCimtypeObject = $0000000D;
// Constants for enum WbemErrorEnum
type
WbemErrorEnum = TOleEnum;
const
wbemNoErr = $00000000;
wbemErrFailed = $80041001;
wbemErrNotFound = $80041002;
wbemErrAccessDenied = $80041003;
wbemErrProviderFailure = $80041004;
wbemErrTypeMismatch = $80041005;
wbemErrOutOfMemory = $80041006;
wbemErrInvalidContext = $80041007;
wbemErrInvalidParameter = $80041008;
wbemErrNotAvailable = $80041009;
wbemErrCriticalError = $8004100A;
wbemErrInvalidStream = $8004100B;
wbemErrNotSupported = $8004100C;
wbemErrInvalidSuperclass = $8004100D;
wbemErrInvalidNamespace = $8004100E;
wbemErrInvalidObject = $8004100F;
wbemErrInvalidClass = $80041010;
wbemErrProviderNotFound = $80041011;
wbemErrInvalidProviderRegistration = $80041012;
wbemErrProviderLoadFailure = $80041013;
wbemErrInitializationFailure = $80041014;
wbemErrTransportFailure = $80041015;
wbemErrInvalidOperation = $80041016;
wbemErrInvalidQuery = $80041017;
wbemErrInvalidQueryType = $80041018;
wbemErrAlreadyExists = $80041019;
wbemErrOverrideNotAllowed = $8004101A;
wbemErrPropagatedQualifier = $8004101B;
wbemErrPropagatedProperty = $8004101C;
wbemErrUnexpected = $8004101D;
wbemErrIllegalOperation = $8004101E;
wbemErrCannotBeKey = $8004101F;
wbemErrIncompleteClass = $80041020;
wbemErrInvalidSyntax = $80041021;
wbemErrNondecoratedObject = $80041022;
wbemErrReadOnly = $80041023;
wbemErrProviderNotCapable = $80041024;
wbemErrClassHasChildren = $80041025;
wbemErrClassHasInstances = $80041026;
wbemErrQueryNotImplemented = $80041027;
wbemErrIllegalNull = $80041028;
wbemErrInvalidQualifierType = $80041029;
wbemErrInvalidPropertyType = $8004102A;
wbemErrValueOutOfRange = $8004102B;
wbemErrCannotBeSingleton = $8004102C;
wbemErrInvalidCimType = $8004102D;
wbemErrInvalidMethod = $8004102E;
wbemErrInvalidMethodParameters = $8004102F;
wbemErrSystemProperty = $80041030;
wbemErrInvalidProperty = $80041031;
wbemErrCallCancelled = $80041032;
wbemErrShuttingDown = $80041033;
wbemErrPropagatedMethod = $80041034;
wbemErrUnsupportedParameter = $80041035;
wbemErrMissingParameter = $80041036;
wbemErrInvalidParameterId = $80041037;
wbemErrNonConsecutiveParameterIds = $80041038;
wbemErrParameterIdOnRetval = $80041039;
wbemErrInvalidObjectPath = $8004103A;
wbemErrOutOfDiskSpace = $8004103B;
wbemErrBufferTooSmall = $8004103C;
wbemErrUnsupportedPutExtension = $8004103D;
wbemErrUnknownObjectType = $8004103E;
wbemErrUnknownPacketType = $8004103F;
wbemErrMarshalVersionMismatch = $80041040;
wbemErrMarshalInvalidSignature = $80041041;
wbemErrInvalidQualifier = $80041042;
wbemErrInvalidDuplicateParameter = $80041043;
wbemErrTooMuchData = $80041044;
wbemErrServerTooBusy = $80041045;
wbemErrInvalidFlavor = $80041046;
wbemErrCircularReference = $80041047;
wbemErrUnsupportedClassUpdate = $80041048;
wbemErrCannotChangeKeyInheritance = $80041049;
wbemErrCannotChangeIndexInheritance = $80041050;
wbemErrTooManyProperties = $80041051;
wbemErrUpdateTypeMismatch = $80041052;
wbemErrUpdateOverrideNotAllowed = $80041053;
wbemErrUpdatePropagatedMethod = $80041054;
wbemErrMethodNotImplemented = $80041055;
wbemErrMethodDisabled = $80041056;
wbemErrRefresherBusy = $80041057;
wbemErrUnparsableQuery = $80041058;
wbemErrNotEventClass = $80041059;
wbemErrMissingGroupWithin = $8004105A;
wbemErrMissingAggregationList = $8004105B;
wbemErrPropertyNotAnObject = $8004105C;
wbemErrAggregatingByObject = $8004105D;
wbemErrUninterpretableProviderQuery = $8004105F;
wbemErrBackupRestoreWinmgmtRunning = $80041060;
wbemErrQueueOverflow = $80041061;
wbemErrPrivilegeNotHeld = $80041062;
wbemErrInvalidOperator = $80041063;
wbemErrLocalCredentials = $80041064;
wbemErrCannotBeAbstract = $80041065;
wbemErrAmendedObject = $80041066;
wbemErrClientTooSlow = $80041067;
wbemErrNullSecurityDescriptor = $80041068;
wbemErrTimeout = $80041069;
wbemErrInvalidAssociation = $8004106A;
wbemErrAmbiguousOperation = $8004106B;
wbemErrQuotaViolation = $8004106C;
wbemErrTransactionConflict = $8004106D;
wbemErrForcedRollback = $8004106E;
wbemErrUnsupportedLocale = $8004106F;
wbemErrHandleOutOfDate = $80041070;
wbemErrConnectionFailed = $80041071;
wbemErrInvalidHandleRequest = $80041072;
wbemErrPropertyNameTooWide = $80041073;
wbemErrClassNameTooWide = $80041074;
wbemErrMethodNameTooWide = $80041075;
wbemErrQualifierNameTooWide = $80041076;
wbemErrRerunCommand = $80041077;
wbemErrDatabaseVerMismatch = $80041078;
wbemErrVetoPut = $80041079;
wbemErrVetoDelete = $8004107A;
wbemErrInvalidLocale = $80041080;
wbemErrProviderSuspended = $80041081;
wbemErrSynchronizationRequired = $80041082;
wbemErrNoSchema = $80041083;
wbemErrProviderAlreadyRegistered = $80041084;
wbemErrProviderNotRegistered = $80041085;
wbemErrFatalTransportError = $80041086;
wbemErrEncryptedConnectionRequired = $80041087;
wbemErrRegistrationTooBroad = $80042001;
wbemErrRegistrationTooPrecise = $80042002;
wbemErrTimedout = $80043001;
wbemErrResetToDefault = $80043002;
// Constants for enum WbemObjectTextFormatEnum
type
WbemObjectTextFormatEnum = TOleEnum;
const
wbemObjectTextFormatCIMDTD20 = $00000001;
wbemObjectTextFormatWMIDTD20 = $00000002;
// Constants for enum WbemChangeFlagEnum
type
WbemChangeFlagEnum = TOleEnum;
const
wbemChangeFlagCreateOrUpdate = $00000000;
wbemChangeFlagUpdateOnly = $00000001;
wbemChangeFlagCreateOnly = $00000002;
wbemChangeFlagUpdateCompatible = $00000000;
wbemChangeFlagUpdateSafeMode = $00000020;
wbemChangeFlagUpdateForceMode = $00000040;
wbemChangeFlagStrongValidation = $00000080;
wbemChangeFlagAdvisory = $00010000;
// Constants for enum WbemFlagEnum
type
WbemFlagEnum = TOleEnum;
const
wbemFlagReturnImmediately = $00000010;
wbemFlagReturnWhenComplete = $00000000;
wbemFlagBidirectional = $00000000;
wbemFlagForwardOnly = $00000020;
wbemFlagNoErrorObject = $00000040;
wbemFlagReturnErrorObject = $00000000;
wbemFlagSendStatus = $00000080;
wbemFlagDontSendStatus = $00000000;
wbemFlagEnsureLocatable = $00000100;
wbemFlagDirectRead = $00000200;
wbemFlagSendOnlySelected = $00000000;
wbemFlagUseAmendedQualifiers = $00020000;
wbemFlagGetDefault = $00000000;
wbemFlagSpawnInstance = $00000001;
wbemFlagUseCurrentTime = $00000001;
// Constants for enum WbemQueryFlagEnum
type
WbemQueryFlagEnum = TOleEnum;
const
wbemQueryFlagDeep = $00000000;
wbemQueryFlagShallow = $00000001;
wbemQueryFlagPrototype = $00000002;
// Constants for enum WbemTextFlagEnum
type
WbemTextFlagEnum = TOleEnum;
const
wbemTextFlagNoFlavors = $00000001;
// Constants for enum WbemTimeout
type
WbemTimeout = TOleEnum;
const
wbemTimeoutInfinite = $FFFFFFFF;
// Constants for enum WbemComparisonFlagEnum
type
WbemComparisonFlagEnum = TOleEnum;
const
wbemComparisonFlagIncludeAll = $00000000;
wbemComparisonFlagIgnoreQualifiers = $00000001;
wbemComparisonFlagIgnoreObjectSource = $00000002;
wbemComparisonFlagIgnoreDefaultValues = $00000004;
wbemComparisonFlagIgnoreClass = $00000008;
wbemComparisonFlagIgnoreCase = $00000010;
wbemComparisonFlagIgnoreFlavor = $00000020;
// Constants for enum WbemConnectOptionsEnum
type
WbemConnectOptionsEnum = TOleEnum;
const
wbemConnectFlagUseMaxWait = $00000080;
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
ISWbemServices = interface;
ISWbemServicesDisp = dispinterface;
ISWbemObject = interface;
ISWbemObjectDisp = dispinterface;
ISWbemObjectPath = interface;
ISWbemObjectPathDisp = dispinterface;
ISWbemNamedValueSet = interface;
ISWbemNamedValueSetDisp = dispinterface;
ISWbemNamedValue = interface;
ISWbemNamedValueDisp = dispinterface;
ISWbemSecurity = interface;
ISWbemSecurityDisp = dispinterface;
ISWbemPrivilegeSet = interface;
ISWbemPrivilegeSetDisp = dispinterface;
ISWbemPrivilege = interface;
ISWbemPrivilegeDisp = dispinterface;
ISWbemObjectSet = interface;
ISWbemObjectSetDisp = dispinterface;
ISWbemQualifierSet = interface;
ISWbemQualifierSetDisp = dispinterface;
ISWbemQualifier = interface;
ISWbemQualifierDisp = dispinterface;
ISWbemPropertySet = interface;
ISWbemPropertySetDisp = dispinterface;
ISWbemProperty = interface;
ISWbemPropertyDisp = dispinterface;
ISWbemMethodSet = interface;
ISWbemMethodSetDisp = dispinterface;
ISWbemMethod = interface;
ISWbemMethodDisp = dispinterface;
ISWbemEventSource = interface;
ISWbemEventSourceDisp = dispinterface;
ISWbemLocator = interface;
ISWbemLocatorDisp = dispinterface;
ISWbemLastError = interface;
ISWbemLastErrorDisp = dispinterface;
ISWbemSinkEvents = dispinterface;
ISWbemSink = interface;
ISWbemSinkDisp = dispinterface;
ISWbemServicesEx = interface;
ISWbemServicesExDisp = dispinterface;
ISWbemObjectEx = interface;
ISWbemObjectExDisp = dispinterface;
ISWbemDateTime = interface;
ISWbemDateTimeDisp = dispinterface;
ISWbemRefresher = interface;
ISWbemRefresherDisp = dispinterface;
ISWbemRefreshableItem = interface;
ISWbemRefreshableItemDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
SWbemLocator = ISWbemLocator;
SWbemNamedValueSet = ISWbemNamedValueSet;
SWbemObjectPath = ISWbemObjectPath;
SWbemLastError = ISWbemLastError;
SWbemSink = ISWbemSink;
SWbemDateTime = ISWbemDateTime;
SWbemRefresher = ISWbemRefresher;
SWbemServices = ISWbemServices;
SWbemServicesEx = ISWbemServicesEx;
SWbemObject = ISWbemObject;
SWbemObjectEx = ISWbemObjectEx;
SWbemObjectSet = ISWbemObjectSet;
SWbemNamedValue = ISWbemNamedValue;
SWbemQualifier = ISWbemQualifier;
SWbemQualifierSet = ISWbemQualifierSet;
SWbemProperty = ISWbemProperty;
SWbemPropertySet = ISWbemPropertySet;
SWbemMethod = ISWbemMethod;
SWbemMethodSet = ISWbemMethodSet;
SWbemEventSource = ISWbemEventSource;
SWbemSecurity = ISWbemSecurity;
SWbemPrivilege = ISWbemPrivilege;
SWbemPrivilegeSet = ISWbemPrivilegeSet;
SWbemRefreshableItem = ISWbemRefreshableItem;
// *********************************************************************//
// Declaration of structures, unions and aliases.
// *********************************************************************//
POleVariant1 = ^OleVariant; {*}
// *********************************************************************//
// Interface: ISWbemServices
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {76A6415C-CB41-11D1-8B02-00600806D9B6}
// *********************************************************************//
ISWbemServices = interface(IDispatch)
['{76A6415C-CB41-11D1-8B02-00600806D9B6}']
function Get(const strObjectPath: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObject; safecall;
procedure GetAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
procedure Delete(const strObjectPath: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch); safecall;
procedure DeleteAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function InstancesOf(const strClass: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure InstancesOfAsync(const objWbemSink: IDispatch; const strClass: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function SubclassesOf(const strSuperclass: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure SubclassesOfAsync(const objWbemSink: IDispatch; const strSuperclass: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function ExecQuery(const strQuery: WideString; const strQueryLanguage: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure ExecQueryAsync(const objWbemSink: IDispatch; const strQuery: WideString;
const strQueryLanguage: WideString; lFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function AssociatorsOf(const strObjectPath: WideString; const strAssocClass: WideString;
const strResultClass: WideString; const strResultRole: WideString;
const strRole: WideString; bClassesOnly: WordBool;
bSchemaOnly: WordBool; const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure AssociatorsOfAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
const strAssocClass: WideString; const strResultClass: WideString;
const strResultRole: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function ReferencesTo(const strObjectPath: WideString; const strResultClass: WideString;
const strRole: WideString; bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure ReferencesToAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
const strResultClass: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function ExecNotificationQuery(const strQuery: WideString; const strQueryLanguage: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemEventSource; safecall;
procedure ExecNotificationQueryAsync(const objWbemSink: IDispatch; const strQuery: WideString;
const strQueryLanguage: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function ExecMethod(const strObjectPath: WideString; const strMethodName: WideString;
const objWbemInParameters: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObject; safecall;
procedure ExecMethodAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
const strMethodName: WideString;
const objWbemInParameters: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function Get_Security_: ISWbemSecurity; safecall;
property Security_: ISWbemSecurity read Get_Security_;
end;
// *********************************************************************//
// DispIntf: ISWbemServicesDisp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {76A6415C-CB41-11D1-8B02-00600806D9B6}
// *********************************************************************//
ISWbemServicesDisp = dispinterface
['{76A6415C-CB41-11D1-8B02-00600806D9B6}']
function Get(const strObjectPath: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObject; dispid 1;
procedure GetAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 2;
procedure Delete(const strObjectPath: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch); dispid 3;
procedure DeleteAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 4;
function InstancesOf(const strClass: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 5;
procedure InstancesOfAsync(const objWbemSink: IDispatch; const strClass: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 6;
function SubclassesOf(const strSuperclass: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 7;
procedure SubclassesOfAsync(const objWbemSink: IDispatch; const strSuperclass: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 8;
function ExecQuery(const strQuery: WideString; const strQueryLanguage: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 9;
procedure ExecQueryAsync(const objWbemSink: IDispatch; const strQuery: WideString;
const strQueryLanguage: WideString; lFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 10;
function AssociatorsOf(const strObjectPath: WideString; const strAssocClass: WideString;
const strResultClass: WideString; const strResultRole: WideString;
const strRole: WideString; bClassesOnly: WordBool;
bSchemaOnly: WordBool; const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 11;
procedure AssociatorsOfAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
const strAssocClass: WideString; const strResultClass: WideString;
const strResultRole: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 12;
function ReferencesTo(const strObjectPath: WideString; const strResultClass: WideString;
const strRole: WideString; bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 13;
procedure ReferencesToAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
const strResultClass: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 14;
function ExecNotificationQuery(const strQuery: WideString; const strQueryLanguage: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemEventSource; dispid 15;
procedure ExecNotificationQueryAsync(const objWbemSink: IDispatch; const strQuery: WideString;
const strQueryLanguage: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 16;
function ExecMethod(const strObjectPath: WideString; const strMethodName: WideString;
const objWbemInParameters: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObject; dispid 17;
procedure ExecMethodAsync(const objWbemSink: IDispatch; const strObjectPath: WideString;
const strMethodName: WideString;
const objWbemInParameters: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 18;
property Security_: ISWbemSecurity readonly dispid 19;
end;
// *********************************************************************//
// Interface: ISWbemObject
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {76A6415A-CB41-11D1-8B02-00600806D9B6}
// *********************************************************************//
ISWbemObject = interface(IDispatch)
['{76A6415A-CB41-11D1-8B02-00600806D9B6}']
function Put_(iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectPath; safecall;
procedure PutAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch; const objWbemAsyncContext: IDispatch); safecall;
procedure Delete_(iFlags: Integer; const objWbemNamedValueSet: IDispatch); safecall;
procedure DeleteAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function Instances_(iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure InstancesAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function Subclasses_(iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure SubclassesAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function Associators_(const strAssocClass: WideString; const strResultClass: WideString;
const strResultRole: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure AssociatorsAsync_(const objWbemSink: IDispatch; const strAssocClass: WideString;
const strResultClass: WideString; const strResultRole: WideString;
const strRole: WideString; bClassesOnly: WordBool;
bSchemaOnly: WordBool; const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function References_(const strResultClass: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; safecall;
procedure ReferencesAsync_(const objWbemSink: IDispatch; const strResultClass: WideString;
const strRole: WideString; bClassesOnly: WordBool;
bSchemaOnly: WordBool; const strRequiredQualifier: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function ExecMethod_(const strMethodName: WideString; const objWbemInParameters: IDispatch;
iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObject; safecall;
procedure ExecMethodAsync_(const objWbemSink: IDispatch; const strMethodName: WideString;
const objWbemInParameters: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); safecall;
function Clone_: ISWbemObject; safecall;
function GetObjectText_(iFlags: Integer): WideString; safecall;
function SpawnDerivedClass_(iFlags: Integer): ISWbemObject; safecall;
function SpawnInstance_(iFlags: Integer): ISWbemObject; safecall;
function CompareTo_(const objWbemObject: IDispatch; iFlags: Integer): WordBool; safecall;
function Get_Qualifiers_: ISWbemQualifierSet; safecall;
function Get_Properties_: ISWbemPropertySet; safecall;
function Get_Methods_: ISWbemMethodSet; safecall;
function Get_Derivation_: OleVariant; safecall;
function Get_Path_: ISWbemObjectPath; safecall;
function Get_Security_: ISWbemSecurity; safecall;
property Qualifiers_: ISWbemQualifierSet read Get_Qualifiers_;
property Properties_: ISWbemPropertySet read Get_Properties_;
property Methods_: ISWbemMethodSet read Get_Methods_;
property Derivation_: OleVariant read Get_Derivation_;
property Path_: ISWbemObjectPath read Get_Path_;
property Security_: ISWbemSecurity read Get_Security_;
end;
// *********************************************************************//
// DispIntf: ISWbemObjectDisp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {76A6415A-CB41-11D1-8B02-00600806D9B6}
// *********************************************************************//
ISWbemObjectDisp = dispinterface
['{76A6415A-CB41-11D1-8B02-00600806D9B6}']
function Put_(iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectPath; dispid 1;
procedure PutAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch; const objWbemAsyncContext: IDispatch); dispid 2;
procedure Delete_(iFlags: Integer; const objWbemNamedValueSet: IDispatch); dispid 3;
procedure DeleteAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 4;
function Instances_(iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 5;
procedure InstancesAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 6;
function Subclasses_(iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 7;
procedure SubclassesAsync_(const objWbemSink: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 8;
function Associators_(const strAssocClass: WideString; const strResultClass: WideString;
const strResultRole: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 9;
procedure AssociatorsAsync_(const objWbemSink: IDispatch; const strAssocClass: WideString;
const strResultClass: WideString; const strResultRole: WideString;
const strRole: WideString; bClassesOnly: WordBool;
bSchemaOnly: WordBool; const strRequiredAssocQualifier: WideString;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 10;
function References_(const strResultClass: WideString; const strRole: WideString;
bClassesOnly: WordBool; bSchemaOnly: WordBool;
const strRequiredQualifier: WideString; iFlags: Integer;
const objWbemNamedValueSet: IDispatch): ISWbemObjectSet; dispid 11;
procedure ReferencesAsync_(const objWbemSink: IDispatch; const strResultClass: WideString;
const strRole: WideString; bClassesOnly: WordBool;
bSchemaOnly: WordBool; const strRequiredQualifier: WideString;
iFlags: Integer; const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 12;
function ExecMethod_(const strMethodName: WideString; const objWbemInParameters: IDispatch;
iFlags: Integer; const objWbemNamedValueSet: IDispatch): ISWbemObject; dispid 13;
procedure ExecMethodAsync_(const objWbemSink: IDispatch; const strMethodName: WideString;
const objWbemInParameters: IDispatch; iFlags: Integer;
const objWbemNamedValueSet: IDispatch;
const objWbemAsyncContext: IDispatch); dispid 14;
function Clone_: ISWbemObject; dispid 15;
function GetObjectText_(iFlags: Integer): WideString; dispid 16;
function SpawnDerivedClass_(iFlags: Integer): ISWbemObject; dispid 17;
function SpawnInstance_(iFlags: Integer): ISWbemObject; dispid 18;
function CompareTo_(const objWbemObject: IDispatch; iFlags: Integer): WordBool; dispid 19;
property Qualifiers_: ISWbemQualifierSet readonly dispid 20;
property Properties_: ISWbemPropertySet readonly dispid 21;
property Methods_: ISWbemMethodSet readonly dispid 22;
property Derivation_: OleVariant readonly dispid 23;
property Path_: ISWbemObjectPath readonly dispid 24;
property Security_: ISWbemSecurity readonly dispid 25;
end;
// *********************************************************************//
// Interface: ISWbemObjectPath
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {5791BC27-CE9C-11D1-97BF-0000F81E849C}
// *********************************************************************//
ISWbemObjectPath = interface(IDispatch)
['{5791BC27-CE9C-11D1-97BF-0000F81E849C}']
function Get_Path: WideString; safecall;
procedure Set_Path(const strPath: WideString); safecall;
function Get_RelPath: WideString; safecall;
procedure Set_RelPath(const strRelPath: WideString); safecall;
function Get_Server: WideString; safecall;
procedure Set_Server(const strServer: WideString); safecall;
function Get_Namespace: WideString; safecall;
procedure Set_Namespace(const strNamespace: WideString); safecall;
function Get_ParentNamespace: WideString; safecall;
function Get_DisplayName: WideString; safecall;
procedure Set_DisplayName(const strDisplayName: WideString); safecall;
function Get_Class_: WideString; safecall;
procedure Set_Class_(const strClass: WideString); safecall;
function Get_IsClass: WordBool; safecall;
procedure SetAsClass; safecall;
function Get_IsSingleton: WordBool; safecall;
procedure SetAsSingleton; safecall;
function Get_Keys: ISWbemNamedValueSet; safecall;
function Get_Security_: ISWbemSecurity; safecall;
function Get_Locale: WideString; safecall;
procedure Set_Locale(const strLocale: WideString); safecall;
function Get_Authority: WideString; safecall;
procedure Set_Authority(const strAuthority: WideString); safecall;
property Path: WideString read Get_Path write Set_Path;
property RelPath: WideString read Get_RelPath write Set_RelPath;
property Server: WideString read Get_Server write Set_Server;
property Namespace: WideString read Get_Namespace write Set_Namespace;
property ParentNamespace: WideString read Get_ParentNamespace;
property DisplayName: WideString read Get_DisplayName write Set_DisplayName;
property Class_: WideString read Get_Class_ write Set_Class_;
property IsClass: WordBool read Get_IsClass;
property IsSingleton: WordBool read Get_IsSingleton;
property Keys: ISWbemNamedValueSet read Get_Keys;
property Security_: ISWbemSecurity read Get_Security_;
property Locale: WideString read Get_Locale write Set_Locale;
property Authority: WideString read Get_Authority write Set_Authority;
end;
// *********************************************************************//
// DispIntf: ISWbemObjectPathDisp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {5791BC27-CE9C-11D1-97BF-0000F81E849C}
// *********************************************************************//
ISWbemObjectPathDisp = dispinterface
['{5791BC27-CE9C-11D1-97BF-0000F81E849C}']
property Path: WideString dispid 0;
property RelPath: WideString dispid 1;
property Server: WideString dispid 2;
property Namespace: WideString dispid 3;
property ParentNamespace: WideString readonly dispid 4;
property DisplayName: WideString dispid 5;
property Class_: WideString dispid 6;
property IsClass: WordBool readonly dispid 7;
procedure SetAsClass; dispid 8;
property IsSingleton: WordBool readonly dispid 9;
procedure SetAsSingleton; dispid 10;
property Keys: ISWbemNamedValueSet readonly dispid 11;
property Security_: ISWbemSecurity readonly dispid 12;
property Locale: WideString dispid 13;
property Authority: WideString dispid 14;
end;
// *********************************************************************//
// Interface: ISWbemNamedValueSet
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {CF2376EA-CE8C-11D1-8B05-00600806D9B6}
// *********************************************************************//
ISWbemNamedValueSet = interface(IDispatch)
['{CF2376EA-CE8C-11D1-8B05-00600806D9B6}']
function Get__NewEnum: IUnknown; safecall;
function Item(const strName: WideString; iFlags: Integer): ISWbemNamedValue; safecall;
function Get_Count: Integer; safecall;
function Add(const strName: WideString; const varValue: OleVariant; iFlags: Integer): ISWbemNamedValue; safecall;
procedure Remove(const strName: WideString; iFlags: Integer); safecall;
function Clone: ISWbemNamedValueSet; safecall;
procedure DeleteAll; safecall;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ISWbemNamedValueSetDisp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {CF2376EA-CE8C-11D1-8B05-00600806D9B6}
// *********************************************************************//
ISWbemNamedValueSetDisp = dispinterface
['{CF2376EA-CE8C-11D1-8B05-00600806D9B6}']
property _NewEnum: IUnknown readonly dispid -4;
function Item(const strName: WideString; iFlags: Integer): ISWbemNamedValue; dispid 0;
property Count: Integer readonly dispid 1;
function Add(const strName: WideString; const varValue: OleVariant; iFlags: Integer): ISWbemNamedValue; dispid 2;
procedure Remove(const strName: WideString; iFlags: Integer); dispid 3;
function Clone: ISWbemNamedValueSet; dispid 4;
procedure DeleteAll; dispid 5;
end;
// *********************************************************************//
// Interface: ISWbemNamedValue
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {76A64164-CB41-11D1-8B02-00600806D9B6}
// *********************************************************************//
ISWbemNamedValue = interface(IDispatch)
['{76A64164-CB41-11D1-8B02-00600806D9B6}']
function Get_Value: OleVariant; safecall;
procedure Set_Value(const varValue: OleVariant); safecall;
function Get_Name: WideString; safecall;
// Skipped Property "Value"
property Name: WideString read Get_Name;
end;
// *********************************************************************//
// DispIntf: ISWbemNamedValueDisp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {76A64164-CB41-11D1-8B02-00600806D9B6}
// *********************************************************************//
ISWbemNamedValueDisp = dispinterface
['{76A64164-CB41-11D1-8B02-00600806D9B6}']
function Value: OleVariant; dispid 0;
property Name: WideString readonly dispid 2;
end;
// *********************************************************************//
// Interface: ISWbemSecurity
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {B54D66E6-2287-11D2-8B33-00600806D9B6}
// *********************************************************************//
ISWbemSecurity = interface(IDispatch)
['{B54D66E6-2287-11D2-8B33-00600806D9B6}']
function Get_ImpersonationLevel: WbemImpersonationLevelEnum; safecall;
procedure Set_ImpersonationLevel(iImpersonationLevel: WbemImpersonationLevelEnum); safecall;
function Get_AuthenticationLevel: WbemAuthenticationLevelEnum; safecall;
procedure Set_AuthenticationLevel(iAuthenticationLevel: WbemAuthenticationLevelEnum); safecall;
function Get_Privileges: ISWbemPrivilegeSet; safecall;
property ImpersonationLevel: WbemImpersonationLevelEnum read Get_ImpersonationLevel write Set_ImpersonationLevel;
property AuthenticationLevel: WbemAuthenticationLevelEnum read Get_AuthenticationLevel write Set_AuthenticationLevel;
property Privileges: ISWbemPrivilegeSet read Get_Privileges;
end;
// *********************************************************************//
// DispIntf: ISWbemSecurityDisp
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {B54D66E6-2287-11D2-8B33-00600806D9B6}
// *********************************************************************//
ISWbemSecurityDisp = dispinterface
['{B54D66E6-2287-11D2-8B33-00600806D9B6}']
property ImpersonationLevel: WbemImpersonationLevelEnum dispid 1;
property AuthenticationLevel: WbemAuthenticationLevelEnum dispid 2;
property Privileges: ISWbemPrivilegeSet readonly dispid 3;
end;
// *********************************************************************//
// Interface: ISWbemPrivilegeSet
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {26EE67BF-5804-11D2-8B4A-00600806D9B6}
// *********************************************************************//
ISWbemPrivilegeSet = interface(IDispatch)
['{26EE67BF-5804-11D2-8B4A-00600806D9B6}']
function Get__NewEnum: IUnknown; safecall;
function Item(iPrivilege: WbemPrivilegeEnum): ISWbemPrivilege; safecall;
function Get_Count: Integer; safecall;
function Add(iPrivilege: WbemPrivilegeEnum; bIsEnabled: WordBool): ISWbemPrivilege; safecall;
procedure Remove(iPrivilege: WbemPrivilegeEnum); safecall;
procedure DeleteAll; safecall;
function AddAsString(const strPrivilege: WideString; bIsEnabled: WordBool): ISWbemPrivilege; safecall;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ISWbemPrivilegeSetDisp
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {26EE67BF-5804-11D2-8B4A-00600806D9B6}
// *********************************************************************//
ISWbemPrivilegeSetDisp = dispinterface
['{26EE67BF-5804-11D2-8B4A-00600806D9B6}']
property _NewEnum: IUnknown readonly dispid -4;
function Item(iPrivilege: WbemPrivilegeEnum): ISWbemPrivilege; dispid 0;
property Count: Integer readonly dispid 1;
function Add(iPrivilege: WbemPrivilegeEnum; bIsEnabled: WordBool): ISWbemPrivilege; dispid 2;
procedure Remove(iPrivilege: WbemPrivilegeEnum); dispid 3;
procedure DeleteAll; dispid 4;
function AddAsString(const strPrivilege: WideString; bIsEnabled: WordBool): ISWbemPrivilege; dispid 5;
end;
// *********************************************************************//
// Interface: ISWbemPrivilege
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {26EE67BD-5804-11D2-8B4A-00600806D9B6}
// *********************************************************************//
ISWbemPrivilege = interface(IDispatch)
['{26EE67BD-5804-11D2-8B4A-00600806D9B6}']
function Get_IsEnabled: WordBool; safecall;
procedure Set_IsEnabled(bIsEnabled: WordBool); safecall;
function Get_Name: WideString; safecall;
function Get_DisplayName: WideString; safecall;
function Get_Identifier: WbemPrivilegeEnum; safecall;
property IsEnabled: WordBool read Get_IsEnabled write Set_IsEnabled;
property Name: WideString read Get_Name;
property DisplayName: WideString read Get_DisplayName;
property Identifier: WbemPrivilegeEnum read Get_Identifier;
end;
// *********************************************************************//
// DispIntf: ISWbemPrivilegeDisp
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {26EE67BD-5804-11D2-8B4A-00600806D9B6}
// *********************************************************************//
ISWbemPrivilegeDisp = dispinterface
['{26EE67BD-5804-11D2-8B4A-00600806D9B6}']
property IsEnabled: WordBool dispid 0;
property Name: WideString readonly dispid 1;
property DisplayName: WideString readonly dispid 2;
property Identifier: WbemPrivilegeEnum readonly dispid 3;
end;
// *********************************************************************//
// Interface: ISWbemObjectSet
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {76A6415F-CB41-11D1-8B02-00600806D9B6}
// *********************************************************************//
ISWbemObjectSet = interface(IDispatch)
['{76A6415F-CB41-11D1-8B02-00600806D9B6}']
function Get__NewEnum: IUnknown; safecall;
function Item(const strObjectPath: WideString; iFlags: Integer): ISWbemObject; safecall;
function Get_Count: Integer; safecall;
function Get_Security_: ISWbemSecurity; safecall;
function ItemIndex(lIndex: Integer): ISWbemObject; safecall;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;