~mingw-w64/mingw-w64/experimental

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
/* Automated generated idl file <ihost>.
 * Generated by genidl tool (c) 2009, 2010 Mingw-w64 project.
 */

/* Union record forward declarations.  */
dispinterface IHost;
dispinterface IArguments2;
dispinterface IArguments;
dispinterface IWSHNamedArguments;
dispinterface IWSHUnnamedArguments;
dispinterface ITextStream;
dispinterface IFileSystem;
dispinterface IDriveCollection;
dispinterface IDrive;
dispinterface IFolder;
dispinterface IFolderCollection;
dispinterface IFileCollection;
dispinterface IFile;
dispinterface IFileSystem3;

/* Union record forward declarations.  */
coclass FileSystemObject;
coclass Drive;
coclass Drives;
coclass Folder;
coclass Folders;
coclass File;
coclass Files;
coclass TextStream;
coclass IHost_Class;
coclass IArguments_Class;
coclass IWSHNamedArguments_Class;
coclass IWSHUnnamedArguments_Class;

/* Enumeration declarations.  */
enum CompareMethod
{
  BinaryCompare = (int) 201326592,
  TextCompare = (int) 201326593,
  DatabaseCompare = (int) 201326594
};
enum IOMode
{
  ForReading = (int) 201326593,
  ForWriting = (int) 201326594,
  ForAppending = (int) 201326600
};
enum Tristate
{
  TristateTrue = (int) -1,
  TristateFalse = (int) 201326592,
  TristateUseDefault = (int) -2,
  TristateMixed = (int) -2
};
enum __MIDL___MIDL_itf_ihost_0001_0000_0001
{
  Normal = (int) 201326592,
  ReadOnly = (int) 201326593,
  Hidden = (int) 201326594,
  System = (int) 201326596,
  Volume = (int) 201326600,
  Directory = (int) 201326608,
  Archive = (int) 201326624,
  Alias = (int) 201327616,
  Compressed = (int) 201328640
};
enum __MIDL___MIDL_itf_ihost_0001_0000_0002
{
  UnknownType = (int) 201326592,
  Removable = (int) 201326593,
  Fixed = (int) 201326594,
  Remote = (int) 201326595,
  CDRom = (int) 201326596,
  RamDisk = (int) 201326597
};
enum __MIDL___MIDL_itf_ihost_0001_0000_0003
{
  WindowsFolder = (int) 201326592,
  SystemFolder = (int) 201326593,
  TemporaryFolder = (int) 201326594
};
enum __MIDL___MIDL_itf_ihost_0001_0000_0004
{
  StdIn = (int) 201326592,
  StdOut = (int) 201326593,
  StdErr = (int) 201326594
};

/* Type definitions.  */
typedef enum __MIDL___MIDL_itf_ihost_0001_0000_0001 FileAttribute;
typedef enum __MIDL___MIDL_itf_ihost_0001_0000_0002 DriveTypeConst;
typedef enum __MIDL___MIDL_itf_ihost_0001_0000_0003 SpecialFolderConst;
typedef enum __MIDL___MIDL_itf_ihost_0001_0000_0004 StandardStreamTypes;

[
  uuid(60254CA0-953B-11CF-8C96-00AA00B8708C),
  version(5.6),
  helpstring("Windows Script Host (Ver 5.6)")
]
library ihost
{
  importlib("stdole2.tlb");

   /* CoClass declarations.  */
   [
     uuid(0D43FE01-F093-11CF-8940-00A0C9054228),
     cancreate
   ]
   coclass FileSystemObject
   {
     dispinterface IFileSystem3;
   };
   [
     uuid(C7C3F5B1-88A3-11D0-ABCB-00A0C90FFFC0)
   ]
   coclass Drive
   {
     dispinterface IDrive;
   };
   [
     uuid(C7C3F5B2-88A3-11D0-ABCB-00A0C90FFFC0)
   ]
   coclass Drives
   {
     dispinterface IDriveCollection;
   };
   [
     uuid(C7C3F5B3-88A3-11D0-ABCB-00A0C90FFFC0)
   ]
   coclass Folder
   {
     dispinterface IFolder;
   };
   [
     uuid(C7C3F5B4-88A3-11D0-ABCB-00A0C90FFFC0)
   ]
   coclass Folders
   {
     dispinterface IFolderCollection;
   };
   [
     uuid(C7C3F5B5-88A3-11D0-ABCB-00A0C90FFFC0)
   ]
   coclass File
   {
     dispinterface IFile;
   };
   [
     uuid(C7C3F5B6-88A3-11D0-ABCB-00A0C90FFFC0)
   ]
   coclass Files
   {
     dispinterface IFileCollection;
   };
   [
     uuid(0BB02EC0-EF49-11CF-8940-00A0C9054228)
   ]
   coclass TextStream
   {
     dispinterface ITextStream;
   };
   [
     uuid(60254CA2-953B-11CF-8C96-00AA00B8708C),
     helpstring("Windows Script Host Object"),
     cancreate
   ]
   coclass IHost_Class
   {
     dispinterface IHost;
   };
   [
     uuid(60254CA4-953B-11CF-8C96-00AA00B8708C),
     helpstring("Arguments Collection Object"),
     cancreate
   ]
   coclass IArguments_Class
   {
     dispinterface IArguments2;
   };
   [
     uuid(54A24970-B1E6-11D3-A286-00104BD35090),
     helpstring("Named Arguments Collection Object"),
     cancreate
   ]
   coclass IWSHNamedArguments_Class
   {
     dispinterface IWSHNamedArguments;
   };
   [
     uuid(2AC0525F-38ED-4B87-B9A7-78132D32D58F),
     helpstring("Unnamed Arguments Collection Object"),
     cancreate
   ]
   coclass IWSHUnnamedArguments_Class
   {
     dispinterface IWSHUnnamedArguments;
   };

   /* Dispatch interface declarations.  */
   [
     uuid(91AFBD1B-5FEB-43F5-B028-E2CA960617EC),
     helpstring("Windows Script Host Application Interface"),
     dual,
     oleautomation,
     dispatchable
   ]
   dispinterface IHost : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Name (
       [out retval] BSTR *out_Name
     );
     [id(100), propget]
     HRESULT __stdcall Application (
       [out retval] IDispatch **out_Dispatch
     );
     [propget]
     HRESULT __stdcall FullName (
       [out retval] BSTR *out_Path
     );
     [propget]
     HRESULT __stdcall Path (
       [out retval] BSTR *out_Path
     );
     [propget]
     HRESULT __stdcall Interactive (
       [out retval] WINBOOL *out_Interactive
     );
     [id(103), propput]
     HRESULT __stdcall Interactive (
       [in] WINBOOL argNo1
     );
     [id(200)]
     HRESULT __stdcall Quit (
       [in opt] int ExitCode = (int) 201326592
     );
     [id(1000), propget]
     HRESULT __stdcall ScriptName (
       [out retval] BSTR *out_ScriptName
     );
     [propget]
     HRESULT __stdcall ScriptFullName (
       [out retval] BSTR *out_ScriptFullName
     );
     [propget]
     HRESULT __stdcall Arguments (
       [out retval] dispinterface IArguments2 **out_Arguments
     );
     [propget]
     HRESULT __stdcall Version (
       [out retval] BSTR *out_Version
     );
     [propget]
     HRESULT __stdcall BuildVersion (
       [out retval] int *out_Build
     );
     [propget]
     HRESULT __stdcall Timeout (
       [out retval] long *out_Timeout
     );
     [id(1005), propput]
     HRESULT __stdcall Timeout (
       [in] long argNo1
     );
     [id(2000)]
     HRESULT __stdcall CreateObject (
       [in] BSTR ProgID,
       [in opt] BSTR Prefix = L"",
       [out retval] IDispatch **out_Dispatch
     );
     HRESULT __stdcall Echo (
       [in] VARIANT pArgs[]
     );
     HRESULT __stdcall GetObject (
       [in] BSTR Pathname,
       [in opt] BSTR ProgID = L"",
       [in opt] BSTR Prefix = L"",
       [out retval] IDispatch **out_Dispatch
     );
     HRESULT __stdcall DisconnectObject (
       [in] IDispatch * Object
     );
     HRESULT __stdcall Sleep (
       [in] long Time
     );
     HRESULT __stdcall ConnectObject (
       [in] IDispatch * Object,
       [in] BSTR Prefix
     );
     [id(1006), propget]
     HRESULT __stdcall StdIn (
       [out retval] dispinterface ITextStream **out_ppts
     );
     [propget]
     HRESULT __stdcall StdOut (
       [out retval] dispinterface ITextStream **ppts
     );
     [propget]
     HRESULT __stdcall StdErr (
       [out retval] dispinterface ITextStream **ppts
     );
   };
   [
     uuid(2CC5A9D1-B1E5-11D3-A286-00104BD35090),
     helpstring("Arguments Collection Object Interface"),
     dual,
     oleautomation,
     dispatchable
   ]
   dispinterface IArguments2 : IArguments
   {
     [id(3), propget]
     HRESULT __stdcall Named (
       [out retval] dispinterface IWSHNamedArguments **out_ppnamed
     );
     [propget]
     HRESULT __stdcall Unnamed (
       [out retval] dispinterface IWSHUnnamedArguments **out_ppnamed
     );
     HRESULT __stdcall ShowUsage (void);
   };
   [
     uuid(60254CA3-953B-11CF-8C96-00AA00B8708C),
     helpstring("Arguments Collection Object Interface"),
     dual,
     oleautomation,
     dispatchable
   ]
   dispinterface IArguments : IDispatch
   {
     [id(0)]
     HRESULT __stdcall Item (
       [in] long Index,
       [out retval] BSTR *out_Value
     );
     HRESULT __stdcall Count (
       [out retval] long *out_Count
     );
     [propget]
     HRESULT __stdcall length (
       [out retval] long *out_Count
     );
     [id(-4)]
     HRESULT __stdcall _NewEnum (
       [out retval] IUnknown **out_Enum
     );
   };
   [
     uuid(2CC5A9D0-B1E5-11D3-A286-00104BD35090),
     helpstring("Named Arguments Collection Object Interface"),
     dual,
     oleautomation,
     dispatchable
   ]
   dispinterface IWSHNamedArguments : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Item (
       [in] BSTR Switch,
       [out retval] VARIANT *out_Value
     );
     [propget]
     HRESULT __stdcall Count (
       [out retval] long *out_Count
     );
     [propget]
     HRESULT __stdcall length (
       [out retval] long *out_Count
     );
     HRESULT __stdcall Exists (
       [in] BSTR Switch,
       [out retval] WINBOOL *out_Exists
     );
     [id(-4)]
     HRESULT __stdcall _NewEnum (
       [out retval] IUnknown **out_Enum
     );
   };
   [
     uuid(BF64FAF0-5906-426C-B4BC-7B753CBE819F),
     helpstring("Unnamed Arguments Collection Object Interface"),
     dual,
     oleautomation,
     dispatchable
   ]
   dispinterface IWSHUnnamedArguments : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Item (
       [in] long Index,
       [out retval] VARIANT *out_Value
     );
     [propget]
     HRESULT __stdcall Count (
       [out retval] long *out_Count
     );
     [propget]
     HRESULT __stdcall length (
       [out retval] long *out_Count
     );
     [id(-4)]
     HRESULT __stdcall _NewEnum (
       [out retval] IUnknown **out_Enum
     );
   };
   [
     uuid(53BAD8C1-E718-11CF-893D-00A0C9054228),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface ITextStream : IDispatch
   {
     [id(10000), propget]
     HRESULT __stdcall Line (
       [out retval] long *Line
     );
     [id(-529), propget]
     HRESULT __stdcall Column (
       [out retval] long *Column
     );
     [id(10002), propget]
     HRESULT __stdcall AtEndOfStream (
       [out retval] WINBOOL *EOS
     );
     [propget]
     HRESULT __stdcall AtEndOfLine (
       [out retval] WINBOOL *EOL
     );
     HRESULT __stdcall Read (
       [in] long Characters,
       [out retval] BSTR *Text
     );
     HRESULT __stdcall ReadLine (
       [out retval] BSTR *Text
     );
     HRESULT __stdcall ReadAll (
       [out retval] BSTR *Text
     );
     HRESULT __stdcall Write (
       [in] BSTR Text
     );
     HRESULT __stdcall WriteLine (
       [in opt] BSTR Text = L""
     );
     HRESULT __stdcall WriteBlankLines (
       [in] long Lines
     );
     HRESULT __stdcall Skip (
       [in] long Characters
     );
     HRESULT __stdcall SkipLine (void);
     HRESULT __stdcall Close (void);
   };
   [
     uuid(0AB5A3D0-E5B6-11D0-ABF5-00A0C90FFFC0),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IFileSystem : IDispatch
   {
     [id(10010), propget]
     HRESULT __stdcall Drives (
       [out retval] dispinterface IDriveCollection **ppdrives
     );
     [id(10000)]
     HRESULT __stdcall BuildPath (
       [in] BSTR Path,
       [in] BSTR Name,
       [out retval] BSTR *pbstrResult
     );
     [id(10004)]
     HRESULT __stdcall GetDriveName (
       [in] BSTR Path,
       [out retval] BSTR *pbstrResult
     );
     HRESULT __stdcall GetParentFolderName (
       [in] BSTR Path,
       [out retval] BSTR *pbstrResult
     );
     HRESULT __stdcall GetFileName (
       [in] BSTR Path,
       [out retval] BSTR *pbstrResult
     );
     HRESULT __stdcall GetBaseName (
       [in] BSTR Path,
       [out retval] BSTR *pbstrResult
     );
     HRESULT __stdcall GetExtensionName (
       [in] BSTR Path,
       [out retval] BSTR *pbstrResult
     );
     [id(10002)]
     HRESULT __stdcall GetAbsolutePathName (
       [in] BSTR Path,
       [out retval] BSTR *pbstrResult
     );
     HRESULT __stdcall GetTempName (
       [out retval] BSTR *pbstrResult
     );
     [id(10015)]
     HRESULT __stdcall DriveExists (
       [in] BSTR DriveSpec,
       [out retval] WINBOOL *pfExists
     );
     HRESULT __stdcall FileExists (
       [in] BSTR FileSpec,
       [out retval] WINBOOL *pfExists
     );
     HRESULT __stdcall FolderExists (
       [in] BSTR FolderSpec,
       [out retval] WINBOOL *pfExists
     );
     [id(10011)]
     HRESULT __stdcall GetDrive (
       [in] BSTR DriveSpec,
       [out retval] dispinterface IDrive **ppdrive
     );
     HRESULT __stdcall GetFile (
       [in] BSTR FilePath,
       [out retval] dispinterface IFile **ppfile
     );
     HRESULT __stdcall GetFolder (
       [in] BSTR FolderPath,
       [out retval] dispinterface IFolder **ppfolder
     );
     HRESULT __stdcall GetSpecialFolder (
       [in] SpecialFolderConst SpecialFolder,
       [out retval] dispinterface IFolder **ppfolder
     );
     [id(1200)]
     HRESULT __stdcall DeleteFile (
       [in] BSTR FileSpec,
       [in opt] WINBOOL Force = (BOOL) 0
     );
     HRESULT __stdcall DeleteFolder (
       [in] BSTR FolderSpec,
       [in opt] WINBOOL Force = (BOOL) 0
     );
     [id(1204)]
     HRESULT __stdcall MoveFile (
       [in] BSTR Source,
       [in] BSTR Destination
     );
     HRESULT __stdcall MoveFolder (
       [in] BSTR Source,
       [in] BSTR Destination
     );
     [id(1202)]
     HRESULT __stdcall CopyFile (
       [in] BSTR Source,
       [in] BSTR Destination,
       [in opt] WINBOOL OverWriteFiles = (BOOL) -1
     );
     HRESULT __stdcall CopyFolder (
       [in] BSTR Source,
       [in] BSTR Destination,
       [in opt] WINBOOL OverWriteFiles = (BOOL) -1
     );
     [id(1120)]
     HRESULT __stdcall CreateFolder (
       [in] BSTR Path,
       [out retval] dispinterface IFolder **ppfolder
     );
     [id(1101)]
     HRESULT __stdcall CreateTextFile (
       [in] BSTR FileName,
       [in opt] WINBOOL Overwrite = (BOOL) -1,
       [in opt] WINBOOL Unicode = (BOOL) 0,
       [out retval] dispinterface ITextStream **ppts
     );
     [id(1100)]
     HRESULT __stdcall OpenTextFile (
       [in] BSTR FileName,
       [in opt] enum IOMode IOMode = (int) 201326593,
       [in opt] WINBOOL Create = (BOOL) 0,
       [in opt] enum Tristate Format = (int) 201326592,
       [out retval] dispinterface ITextStream **ppts
     );
   };
   [
     uuid(C7C3F5A1-88A3-11D0-ABCB-00A0C90FFFC0),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IDriveCollection : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Item (
       [in] VARIANT Key,
       [out retval] dispinterface IDrive **ppdrive
     );
     [id(-4), propget, restricted, hidden]
     HRESULT __stdcall _NewEnum (
       [out retval] IUnknown **ppenum
     );
     [id(1), propget]
     HRESULT __stdcall Count (
       [out retval] long *plCount
     );
   };
   [
     uuid(C7C3F5A0-88A3-11D0-ABCB-00A0C90FFFC0),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IDrive : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Path (
       [out retval] BSTR *pbstrPath
     );
     [id(10000), propget]
     HRESULT __stdcall DriveLetter (
       [out retval] BSTR *pbstrLetter
     );
     [propget]
     HRESULT __stdcall ShareName (
       [out retval] BSTR *pbstrShareName
     );
     [propget]
     HRESULT __stdcall DriveType (
       [out retval] DriveTypeConst *pdt
     );
     [propget]
     HRESULT __stdcall RootFolder (
       [out retval] dispinterface IFolder **ppfolder
     );
     [id(10005), propget]
     HRESULT __stdcall AvailableSpace (
       [out retval] VARIANT *pvarAvail
     );
     [id(10004), propget]
     HRESULT __stdcall FreeSpace (
       [out retval] VARIANT *pvarFree
     );
     [id(10006), propget]
     HRESULT __stdcall TotalSize (
       [out retval] VARIANT *pvarTotal
     );
     [propget]
     HRESULT __stdcall VolumeName (
       [out retval] BSTR *pbstrName
     );
     [id(10007), propput]
     HRESULT __stdcall VolumeName (
       [in] BSTR argNo1
     );
     [propget]
     HRESULT __stdcall FileSystem (
       [out retval] BSTR *pbstrFileSystem
     );
     [propget]
     HRESULT __stdcall SerialNumber (
       [out retval] long *pulSerialNumber
     );
     [propget]
     HRESULT __stdcall IsReady (
       [out retval] WINBOOL *pfReady
     );
   };
   [
     uuid(C7C3F5A2-88A3-11D0-ABCB-00A0C90FFFC0),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IFolder : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Path (
       [out retval] BSTR *pbstrPath
     );
     [id(1000), propget]
     HRESULT __stdcall Name (
       [out retval] BSTR *pbstrName
     );
     [id(1000), propput]
     HRESULT __stdcall Name (
       [in] BSTR argNo1
     );
     [id(1002), propget]
     HRESULT __stdcall ShortPath (
       [out retval] BSTR *pbstrPath
     );
     [id(1001), propget]
     HRESULT __stdcall ShortName (
       [out retval] BSTR *pbstrName
     );
     [id(1004), propget]
     HRESULT __stdcall Drive (
       [out retval] dispinterface IDrive **ppdrive
     );
     [propget]
     HRESULT __stdcall ParentFolder (
       [out retval] dispinterface IFolder **ppfolder
     );
     [id(1003), propget]
     HRESULT __stdcall Attributes (
       [out retval] FileAttribute *pfa
     );
     [id(1003), propput]
     HRESULT __stdcall Attributes (
       [in] FileAttribute argNo1
     );
     [id(1006), propget]
     HRESULT __stdcall DateCreated (
       [out retval] DATE *pdate
     );
     [propget]
     HRESULT __stdcall DateLastModified (
       [out retval] DATE *pdate
     );
     [propget]
     HRESULT __stdcall DateLastAccessed (
       [out retval] DATE *pdate
     );
     [id(1010), propget]
     HRESULT __stdcall Type (
       [out retval] BSTR *pbstrType
     );
     [id(1201)]
     HRESULT __stdcall Delete (
       [in opt] WINBOOL Force = (BOOL) 0
     );
     [id(1203)]
     HRESULT __stdcall Copy (
       [in] BSTR Destination,
       [in opt] WINBOOL OverWriteFiles = (BOOL) -1
     );
     [id(1205)]
     HRESULT __stdcall Move (
       [in] BSTR Destination
     );
     [id(10000), propget]
     HRESULT __stdcall IsRootFolder (
       [out retval] WINBOOL *pfRootFolder
     );
     [id(1009), propget]
     HRESULT __stdcall Size (
       [out retval] VARIANT *pvarSize
     );
     [id(10001), propget]
     HRESULT __stdcall SubFolders (
       [out retval] dispinterface IFolderCollection **ppfolders
     );
     [propget]
     HRESULT __stdcall Files (
       [out retval] dispinterface IFileCollection **ppfiles
     );
     [id(1101)]
     HRESULT __stdcall CreateTextFile (
       [in] BSTR FileName,
       [in opt] WINBOOL Overwrite = (BOOL) -1,
       [in opt] WINBOOL Unicode = (BOOL) 0,
       [out retval] dispinterface ITextStream **ppts
     );
   };
   [
     uuid(C7C3F5A3-88A3-11D0-ABCB-00A0C90FFFC0),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IFolderCollection : IDispatch
   {
     [id(2)]
     HRESULT __stdcall Add (
       [in] BSTR Name,
       [out retval] dispinterface IFolder **ppfolder
     );
     [id(0), propget]
     HRESULT __stdcall Item (
       [in] VARIANT Key,
       [out retval] dispinterface IFolder **ppfolder
     );
     [id(-4), propget, restricted, hidden]
     HRESULT __stdcall _NewEnum (
       [out retval] IUnknown **ppenum
     );
     [id(1), propget]
     HRESULT __stdcall Count (
       [out retval] long *plCount
     );
   };
   [
     uuid(C7C3F5A5-88A3-11D0-ABCB-00A0C90FFFC0),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IFileCollection : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Item (
       [in] VARIANT Key,
       [out retval] dispinterface IFile **ppfile
     );
     [id(-4), propget, restricted, hidden]
     HRESULT __stdcall _NewEnum (
       [out retval] IUnknown **ppenum
     );
     [id(1), propget]
     HRESULT __stdcall Count (
       [out retval] long *plCount
     );
   };
   [
     uuid(C7C3F5A4-88A3-11D0-ABCB-00A0C90FFFC0),
     hidden,
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IFile : IDispatch
   {
     [id(0), propget]
     HRESULT __stdcall Path (
       [out retval] BSTR *pbstrPath
     );
     [id(1000), propget]
     HRESULT __stdcall Name (
       [out retval] BSTR *pbstrName
     );
     [id(1000), propput]
     HRESULT __stdcall Name (
       [in] BSTR argNo1
     );
     [id(1002), propget]
     HRESULT __stdcall ShortPath (
       [out retval] BSTR *pbstrPath
     );
     [id(1001), propget]
     HRESULT __stdcall ShortName (
       [out retval] BSTR *pbstrName
     );
     [id(1004), propget]
     HRESULT __stdcall Drive (
       [out retval] dispinterface IDrive **ppdrive
     );
     [propget]
     HRESULT __stdcall ParentFolder (
       [out retval] dispinterface IFolder **ppfolder
     );
     [id(1003), propget]
     HRESULT __stdcall Attributes (
       [out retval] FileAttribute *pfa
     );
     [id(1003), propput]
     HRESULT __stdcall Attributes (
       [in] FileAttribute argNo1
     );
     [id(1006), propget]
     HRESULT __stdcall DateCreated (
       [out retval] DATE *pdate
     );
     [propget]
     HRESULT __stdcall DateLastModified (
       [out retval] DATE *pdate
     );
     [propget]
     HRESULT __stdcall DateLastAccessed (
       [out retval] DATE *pdate
     );
     [propget]
     HRESULT __stdcall Size (
       [out retval] VARIANT *pvarSize
     );
     [propget]
     HRESULT __stdcall Type (
       [out retval] BSTR *pbstrType
     );
     [id(1200)]
     HRESULT __stdcall Delete (
       [in opt] WINBOOL Force = (BOOL) 0
     );
     [id(1202)]
     HRESULT __stdcall Copy (
       [in] BSTR Destination,
       [in opt] WINBOOL OverWriteFiles = (BOOL) -1
     );
     [id(1204)]
     HRESULT __stdcall Move (
       [in] BSTR Destination
     );
     [id(1100)]
     HRESULT __stdcall OpenAsTextStream (
       [in opt] enum IOMode IOMode = (int) 201326593,
       [in opt] enum Tristate Format = (int) 201326592,
       [out retval] dispinterface ITextStream **ppts
     );
   };
   [
     uuid(2A0B9D10-4B87-11D3-A97A-00104B365C9F),
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IFileSystem3 : IFileSystem
   {
     [id(20000)]
     HRESULT __stdcall GetStandardStream (
       [in] StandardStreamTypes StandardStreamType,
       [in opt] WINBOOL Unicode = (BOOL) 0,
       [out retval] dispinterface ITextStream **ppts
     );
     [id(20010)]
     HRESULT __stdcall GetFileVersion (
       [in] BSTR FileName,
       [out retval] BSTR *FileVersion
     );
   };

};