ReactOS 0.4.15-dev-6055-g36cdd34
Scripting Module Reference

Classes

class  Dictionary
 
class  Drive
 
class  File
 
class  Folder
 
interface  IDictionary
 
interface  IDrive
 
interface  IDriveCollection
 
interface  IFile
 
interface  IFileCollection
 
interface  IFileSystem
 
interface  IFileSystem3
 
interface  IFolder
 
interface  IFolderCollection
 
interface  IScriptEncoder
 
interface  ITextStream
 
class  TextStream
 

Typedefs

typedef enum Scripting::CompareMethod CompareMethod
 
typedef enum Scripting::IOMode IOMode
 
typedef enum Scripting::Tristate Tristate
 
typedef enum Scripting::FileAttribute FileAttribute
 
typedef enum Scripting::SpecialFolderConst SpecialFolderConst
 
typedef enum Scripting::DriveTypeConst DriveTypeConst
 
typedef enum Scripting::StandardStreamTypes StandardStreamTypes
 

Enumerations

enum  CompareMethod {
  BinaryCompare , TextCompare , DatabaseCompare , BinaryCompare ,
  TextCompare , DatabaseCompare
}
 
enum  IOMode {
  ForReading = 1 , ForWriting = 2 , ForAppending = 8 , ForReading = 1 ,
  ForWriting = 2 , ForAppending = 8
}
 
enum  Tristate {
  TristateTrue = -1 , TristateFalse = 0 , TristateUseDefault = -2 , TristateMixed = -2 ,
  TristateTrue = -1 , TristateFalse = 0 , TristateUseDefault = -2 , TristateMixed = -2
}
 
enum  FileAttribute {
  Normal = 0 , ReadOnly = 1 , Hidden = 2 , System = 4 ,
  Volume = 8 , Directory = 16 , Archive = 32 , Alias = 1024 ,
  Compressed = 2048 , Normal = 0 , ReadOnly = 1 , Hidden = 2 ,
  System = 4 , Volume = 8 , Directory = 16 , Archive = 32 ,
  Alias = 1024 , Compressed = 2048
}
 
enum  SpecialFolderConst {
  WindowsFolder , SystemFolder , TemporaryFolder , WindowsFolder ,
  SystemFolder , TemporaryFolder
}
 
enum  DriveTypeConst {
  UnknownType , Removable , Fixed , Remote ,
  CDRom , RamDisk , UnknownType , Removable ,
  Fixed , Remote , CDRom , RamDisk
}
 
enum  StandardStreamTypes {
  StdIn , StdOut , StdErr , StdIn ,
  StdOut , StdErr
}
 
enum  CompareMethod {
  BinaryCompare , TextCompare , DatabaseCompare , BinaryCompare ,
  TextCompare , DatabaseCompare
}
 
enum  IOMode {
  ForReading = 1 , ForWriting = 2 , ForAppending = 8 , ForReading = 1 ,
  ForWriting = 2 , ForAppending = 8
}
 
enum  Tristate {
  TristateTrue = -1 , TristateFalse = 0 , TristateUseDefault = -2 , TristateMixed = -2 ,
  TristateTrue = -1 , TristateFalse = 0 , TristateUseDefault = -2 , TristateMixed = -2
}
 
enum  FileAttribute {
  Normal = 0 , ReadOnly = 1 , Hidden = 2 , System = 4 ,
  Volume = 8 , Directory = 16 , Archive = 32 , Alias = 1024 ,
  Compressed = 2048 , Normal = 0 , ReadOnly = 1 , Hidden = 2 ,
  System = 4 , Volume = 8 , Directory = 16 , Archive = 32 ,
  Alias = 1024 , Compressed = 2048
}
 
enum  SpecialFolderConst {
  WindowsFolder , SystemFolder , TemporaryFolder , WindowsFolder ,
  SystemFolder , TemporaryFolder
}
 
enum  DriveTypeConst {
  UnknownType , Removable , Fixed , Remote ,
  CDRom , RamDisk , UnknownType , Removable ,
  Fixed , Remote , CDRom , RamDisk
}
 
enum  StandardStreamTypes {
  StdIn , StdOut , StdErr , StdIn ,
  StdOut , StdErr
}
 

Functions

 importlib ("stdole2.tlb")
 
coclass Scripting::Dictionary uuid (0D43FE01-F093-11CF-8940-00A0C9054228)
 
coclass Scripting::Dictionary version (1.0)
 
coclass Scripting::Dictionary helpstring ("FileSystem Object")
 
coclass Scripting::Dictionary threading (both)
 
coclass Scripting::Dictionary progid ("Scripting.FileSystemObject")] coclass FileSystemObject
 
coclass Scripting::Drive uuid (C7C3F5B2-88A3-11D0-ABCB-00A0C90FFFC0)
 
coclass Scripting::Folder uuid (C7C3F5B4-88A3-11D0-ABCB-00A0C90FFFC0)
 
coclass Scripting::File uuid (C7C3F5B6-88A3-11D0-ABCB-00A0C90FFFC0)
 
coclass Scripting::TextStream uuid (32DA2B15-CFED-11D1-B747-00C04FC2B085)
 
coclass Scripting::TextStream helpstring ("Script Encoder Object")
 
coclass Scripting::TextStream threading (apartment)
 
coclass Scripting::TextStream progid ("Scripting.Encoder")] coclass Encoder
 

Variables

coclass Scripting::Drive noncreatable
 

Typedef Documentation

◆ CompareMethod

◆ DriveTypeConst

◆ FileAttribute

◆ IOMode

◆ SpecialFolderConst

◆ StandardStreamTypes

◆ Tristate

Enumeration Type Documentation

◆ CompareMethod [1/2]

Enumerator
BinaryCompare 
TextCompare 
DatabaseCompare 
BinaryCompare 
TextCompare 
DatabaseCompare 

Definition at line 45 of file scrrun.idl.

46 {
50 } CompareMethod;
#define TextCompare
Definition: text.h:19
@ BinaryCompare
Definition: scrrun.idl:47
@ DatabaseCompare
Definition: scrrun.idl:49

◆ CompareMethod [2/2]

Enumerator
BinaryCompare 
TextCompare 
DatabaseCompare 
BinaryCompare 
TextCompare 
DatabaseCompare 

Definition at line 45 of file scrrun.idl.

46 {
50 } CompareMethod;

◆ DriveTypeConst [1/2]

Enumerator
UnknownType 
Removable 
Fixed 
Remote 
CDRom 
RamDisk 
UnknownType 
Removable 
Fixed 
Remote 
CDRom 
RamDisk 

Definition at line 87 of file scrrun.idl.

88 {
91 Fixed,
92 Remote,
93 CDRom,
95 } DriveTypeConst;
@ UnknownType
Definition: scrrun.idl:89
@ RamDisk
Definition: scrrun.idl:94
@ Remote
Definition: scrrun.idl:92
@ Removable
Definition: arc.h:81

◆ DriveTypeConst [2/2]

Enumerator
UnknownType 
Removable 
Fixed 
Remote 
CDRom 
RamDisk 
UnknownType 
Removable 
Fixed 
Remote 
CDRom 
RamDisk 

Definition at line 87 of file scrrun.idl.

88 {
91 Fixed,
92 Remote,
93 CDRom,
95 } DriveTypeConst;

◆ FileAttribute [1/2]

Enumerator
Normal 
ReadOnly 
Hidden 
System 
Volume 
Directory 
Archive 
Alias 
Compressed 
Normal 
ReadOnly 
Hidden 
System 
Volume 
Directory 
Archive 
Alias 
Compressed 

Definition at line 67 of file scrrun.idl.

68 {
69 Normal = 0,
70 ReadOnly = 1,
71 Hidden = 2,
72 System = 4,
73 Volume = 8,
74 Directory = 16,
75 Archive = 32,
76 Alias = 1024,
77 Compressed = 2048
78 } FileAttribute;
UNICODE_STRING Volume
Definition: fltkernel.h:1172
@ Hidden
Definition: scrrun.idl:71
@ System
Definition: scrrun.idl:72
@ Compressed
Definition: scrrun.idl:77
@ Archive
Definition: scrrun.idl:75
@ Normal
Definition: sacdrv.h:1378
@ ReadOnly
Definition: arc.h:80
base for all directory entries
Definition: entries.h:138

◆ FileAttribute [2/2]

Enumerator
Normal 
ReadOnly 
Hidden 
System 
Volume 
Directory 
Archive 
Alias 
Compressed 
Normal 
ReadOnly 
Hidden 
System 
Volume 
Directory 
Archive 
Alias 
Compressed 

Definition at line 67 of file scrrun.idl.

68 {
69 Normal = 0,
70 ReadOnly = 1,
71 Hidden = 2,
72 System = 4,
73 Volume = 8,
74 Directory = 16,
75 Archive = 32,
76 Alias = 1024,
77 Compressed = 2048
78 } FileAttribute;

◆ IOMode [1/2]

Enumerator
ForReading 
ForWriting 
ForAppending 
ForReading 
ForWriting 
ForAppending 

Definition at line 52 of file scrrun.idl.

53 {
54 ForReading = 1,
55 ForWriting = 2,
56 ForAppending = 8
57 } IOMode;
@ ForWriting
Definition: scrrun.idl:55
@ ForAppending
Definition: scrrun.idl:56
@ ForReading
Definition: scrrun.idl:54

◆ IOMode [2/2]

Enumerator
ForReading 
ForWriting 
ForAppending 
ForReading 
ForWriting 
ForAppending 

Definition at line 52 of file scrrun.idl.

53 {
54 ForReading = 1,
55 ForWriting = 2,
56 ForAppending = 8
57 } IOMode;

◆ SpecialFolderConst [1/2]

Enumerator
WindowsFolder 
SystemFolder 
TemporaryFolder 
WindowsFolder 
SystemFolder 
TemporaryFolder 

Definition at line 80 of file scrrun.idl.

81 {
85 } SpecialFolderConst;
@ SystemFolder
Definition: scrrun.idl:83
@ TemporaryFolder
Definition: scrrun.idl:84
@ WindowsFolder
Definition: scrrun.idl:82

◆ SpecialFolderConst [2/2]

Enumerator
WindowsFolder 
SystemFolder 
TemporaryFolder 
WindowsFolder 
SystemFolder 
TemporaryFolder 

Definition at line 80 of file scrrun.idl.

81 {
85 } SpecialFolderConst;

◆ StandardStreamTypes [1/2]

Enumerator
StdIn 
StdOut 
StdErr 
StdIn 
StdOut 
StdErr 

Definition at line 97 of file scrrun.idl.

98 {
99 StdIn,
100 StdOut,
101 StdErr
102 } StandardStreamTypes;
#define StdOut
Definition: fc.c:14
#define StdErr
Definition: fc.c:15
#define StdIn
Definition: stream.h:81

◆ StandardStreamTypes [2/2]

Enumerator
StdIn 
StdOut 
StdErr 
StdIn 
StdOut 
StdErr 

Definition at line 97 of file scrrun.idl.

98 {
99 StdIn,
100 StdOut,
101 StdErr
102 } StandardStreamTypes;

◆ Tristate [1/2]

Enumerator
TristateTrue 
TristateFalse 
TristateUseDefault 
TristateMixed 
TristateTrue 
TristateFalse 
TristateUseDefault 
TristateMixed 

Definition at line 59 of file scrrun.idl.

60 {
61 TristateTrue = -1,
62 TristateFalse = 0,
64 TristateMixed = -2
65 } Tristate;
@ TristateUseDefault
Definition: scrrun.idl:63
@ TristateFalse
Definition: scrrun.idl:62
@ TristateTrue
Definition: scrrun.idl:61
@ TristateMixed
Definition: scrrun.idl:64

◆ Tristate [2/2]

Enumerator
TristateTrue 
TristateFalse 
TristateUseDefault 
TristateMixed 
TristateTrue 
TristateFalse 
TristateUseDefault 
TristateMixed 

Definition at line 59 of file scrrun.idl.

60 {
61 TristateTrue = -1,
62 TristateFalse = 0,
64 TristateMixed = -2
65 } Tristate;

Function Documentation

◆ helpstring() [1/2]

coclass Scripting::Dictionary Scripting::helpstring ( "FileSystem Object"  )

◆ helpstring() [2/2]

coclass Scripting::TextStream Scripting::helpstring ( "Script Encoder Object"  )

◆ importlib()

Scripting::importlib ( "stdole2.tlb"  )

◆ progid() [1/2]

coclass Scripting::TextStream Scripting::progid ( "Scripting.Encoder"  )

Definition at line 683 of file scrrun.idl.

686 {
687 [default] interface IScriptEncoder;
688 }

◆ progid() [2/2]

coclass Scripting::Dictionary Scripting::progid ( "Scripting.FileSystemObject"  )

Definition at line 601 of file scrrun.idl.

604 {
605 [default] interface IFileSystem3;
606 }

◆ threading() [1/2]

coclass Scripting::TextStream Scripting::threading ( apartment  )

◆ threading() [2/2]

coclass Scripting::Dictionary Scripting::threading ( both  )

◆ uuid() [1/5]

coclass Scripting::Dictionary Scripting::uuid ( 0D43FE01-F093-11CF-8940-  00A0C9054228)

◆ uuid() [2/5]

coclass Scripting::TextStream Scripting::uuid ( 32DA2B15-CFED-11D1-B747-  00C04FC2B085)

◆ uuid() [3/5]

coclass Scripting::Drive Scripting::uuid ( C7C3F5B2-88A3-11D0-ABCB-  00A0C90FFFC0)

◆ uuid() [4/5]

coclass Scripting::Folder Scripting::uuid ( C7C3F5B4-88A3-11D0-ABCB-  00A0C90FFFC0)

◆ uuid() [5/5]

coclass Scripting::File Scripting::uuid ( C7C3F5B6-88A3-11D0-ABCB-  00A0C90FFFC0)

◆ version()

coclass Scripting::TextStream Scripting::version ( 1.  0)

Definition at line 621 of file scrrun.idl.

624 {
625 [default] interface IDriveCollection;
626 }

Variable Documentation

◆ noncreatable

coclass Scripting::File Scripting::noncreatable

Definition at line 620 of file scrrun.idl.