mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[SCRRUN]
* Sync with Wine 1.7.17. CORE-8080 svn path=/trunk/; revision=62953
This commit is contained in:
parent
76c6533451
commit
d99b39c779
6 changed files with 2177 additions and 324 deletions
File diff suppressed because it is too large
Load diff
|
@ -90,9 +90,14 @@ static ITypeInfo *typeinfos[LAST_tid];
|
|||
static REFIID tid_ids[] = {
|
||||
&IID_NULL,
|
||||
&IID_IDictionary,
|
||||
&IID_IDrive,
|
||||
&IID_IDriveCollection,
|
||||
&IID_IFile,
|
||||
&IID_IFileCollection,
|
||||
&IID_IFileSystem3,
|
||||
&IID_IFolder,
|
||||
&IID_IFile
|
||||
&IID_IFolderCollection,
|
||||
&IID_ITextStream
|
||||
};
|
||||
|
||||
static HRESULT load_typelib(void)
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#pragma makedep regtypelib
|
||||
|
||||
import "unknwn.idl";
|
||||
import "objidl.idl";
|
||||
import "oaidl.idl";
|
||||
|
@ -24,6 +27,7 @@ cpp_quote("#undef CopyFile")
|
|||
cpp_quote("#undef DeleteFile")
|
||||
cpp_quote("#undef MoveFile")
|
||||
cpp_quote("#endif")
|
||||
cpp_quote("#define CTL_E_ENDOFFILE STD_CTL_SCODE(62)") /* this is not defined in public headers */
|
||||
|
||||
[
|
||||
uuid(420B2830-E718-11CF-893D-00A0C9054228),
|
||||
|
@ -33,23 +37,13 @@ library Scripting
|
|||
{
|
||||
importlib("stdole2.tlb");
|
||||
|
||||
interface IDictionary;
|
||||
interface IDrive;
|
||||
interface IDriveCollection;
|
||||
interface IFile;
|
||||
interface IFileCollection;
|
||||
interface IFileSystem;
|
||||
interface IFileSystem3;
|
||||
interface IFolder;
|
||||
interface IFolderCollection;
|
||||
interface IScriptEncoder;
|
||||
interface ITextStream;
|
||||
|
||||
typedef enum CompareMethod
|
||||
{
|
||||
BinaryCompare = 0,
|
||||
TextCompare = 1,
|
||||
DatabaseCompare = 2
|
||||
BinaryCompare,
|
||||
TextCompare,
|
||||
DatabaseCompare
|
||||
} CompareMethod;
|
||||
|
||||
typedef enum IOMode
|
||||
|
@ -61,10 +55,10 @@ library Scripting
|
|||
|
||||
typedef enum Tristate
|
||||
{
|
||||
TristateTrue = 0xffffffff,
|
||||
TristateFalse = 0,
|
||||
TristateUseDefault = 0xfffffffe,
|
||||
TristateMixed = 0xfffffffe
|
||||
TristateTrue = -1,
|
||||
TristateFalse = 0,
|
||||
TristateUseDefault = -2,
|
||||
TristateMixed = -2
|
||||
} Tristate;
|
||||
|
||||
typedef enum FileAttribute
|
||||
|
@ -82,26 +76,26 @@ library Scripting
|
|||
|
||||
typedef enum SpecialFolderConst
|
||||
{
|
||||
WindowsFolder = 0,
|
||||
SystemFolder = 1,
|
||||
TemporaryFolder = 2
|
||||
WindowsFolder,
|
||||
SystemFolder,
|
||||
TemporaryFolder
|
||||
} SpecialFolderConst;
|
||||
|
||||
typedef enum DriveTypeConst
|
||||
{
|
||||
UnknownType = 0,
|
||||
Removable = 1,
|
||||
Fixed = 2,
|
||||
Remote = 3,
|
||||
CDRom = 4,
|
||||
RamDisk = 5
|
||||
UnknownType,
|
||||
Removable,
|
||||
Fixed,
|
||||
Remote,
|
||||
CDRom,
|
||||
RamDisk
|
||||
} DriveTypeConst;
|
||||
|
||||
typedef enum StandardStreamTypes
|
||||
{
|
||||
StdIn = 0,
|
||||
StdOut = 1,
|
||||
StdErr = 2
|
||||
StdIn,
|
||||
StdOut,
|
||||
StdErr
|
||||
} StandardStreamTypes;
|
||||
|
||||
[
|
||||
|
@ -113,13 +107,13 @@ library Scripting
|
|||
]
|
||||
interface IDictionary : IDispatch
|
||||
{
|
||||
[id(00000000), propputref]
|
||||
[id(DISPID_VALUE), propputref]
|
||||
HRESULT Item([in] VARIANT* Key, [in] VARIANT* pRetItem);
|
||||
|
||||
[id(00000000), propput]
|
||||
[id(DISPID_VALUE), propput]
|
||||
HRESULT Item([in] VARIANT* Key, [in] VARIANT* pRetItem);
|
||||
|
||||
[id(00000000), propget]
|
||||
[id(DISPID_VALUE), propget]
|
||||
HRESULT Item([in] VARIANT* Key, [out, retval] VARIANT* pRetItem);
|
||||
|
||||
[id(0x00000001)]
|
||||
|
@ -159,6 +153,191 @@ library Scripting
|
|||
HRESULT HashVal([in] VARIANT* Key, [out, retval] VARIANT* HashVal);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A0-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IDrive : IDispatch
|
||||
{
|
||||
[id(DISPID_VALUE), propget]
|
||||
HRESULT Path([out, retval] BSTR* pbstrPath);
|
||||
|
||||
[id(0x00002710), propget]
|
||||
HRESULT DriveLetter([out, retval] BSTR* pbstrLetter);
|
||||
|
||||
[id(0x00002711), propget]
|
||||
HRESULT ShareName([out, retval] BSTR* pbstrShareName);
|
||||
|
||||
[id(0x00002712), propget]
|
||||
HRESULT DriveType([out, retval] DriveTypeConst* pdt);
|
||||
|
||||
[id(0x00002713), propget]
|
||||
HRESULT RootFolder([out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x00002715), propget]
|
||||
HRESULT AvailableSpace([out, retval] VARIANT* pvarAvail);
|
||||
|
||||
[id(0x00002714), propget]
|
||||
HRESULT FreeSpace([out, retval] VARIANT* pvarFree);
|
||||
|
||||
[id(0x00002716), propget]
|
||||
HRESULT TotalSize([out, retval] VARIANT* pvarTotal);
|
||||
|
||||
[id(0x00002717), propget]
|
||||
HRESULT VolumeName([out, retval] BSTR* pbstrName);
|
||||
|
||||
[id(0x00002717), propput]
|
||||
HRESULT VolumeName([in] BSTR pbstrName);
|
||||
|
||||
[id(0x00002718), propget]
|
||||
HRESULT FileSystem([out, retval] BSTR* pbstrFileSystem);
|
||||
|
||||
[id(0x00002719), propget]
|
||||
HRESULT SerialNumber([out, retval] long* pulSerialNumber);
|
||||
|
||||
[id(0x0000271a), propget]
|
||||
HRESULT IsReady([out, retval] VARIANT_BOOL* pfReady);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A1-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IDriveCollection : IDispatch {
|
||||
[id(DISPID_VALUE), propget]
|
||||
HRESULT Item([in] VARIANT Key, [out, retval] IDrive** ppdrive);
|
||||
|
||||
[id(DISPID_NEWENUM), propget, restricted, hidden]
|
||||
HRESULT _NewEnum([out, retval] IUnknown** ppenum);
|
||||
|
||||
[id(0x00000001), propget]
|
||||
HRESULT Count([out, retval] long* plCount);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(53BAD8C1-E718-11CF-893D-00A0C9054228),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface ITextStream : IDispatch
|
||||
{
|
||||
[id(0x00002710), propget]
|
||||
HRESULT Line([out, retval] long* Line);
|
||||
|
||||
[id(0xfffffdef), propget]
|
||||
HRESULT Column([out, retval] long* Column);
|
||||
|
||||
[id(0x00002712), propget]
|
||||
HRESULT AtEndOfStream([out, retval] VARIANT_BOOL* EOS);
|
||||
|
||||
[id(0x00002713), propget]
|
||||
HRESULT AtEndOfLine([out, retval] VARIANT_BOOL* EOL);
|
||||
|
||||
[id(0x00002714)]
|
||||
HRESULT Read([in] long Characters, [out, retval] BSTR* Text);
|
||||
|
||||
[id(0x00002715)]
|
||||
HRESULT ReadLine([out, retval] BSTR* Text);
|
||||
|
||||
[id(0x00002716)]
|
||||
HRESULT ReadAll([out, retval] BSTR* Text);
|
||||
|
||||
[id(0x00002717)]
|
||||
HRESULT Write([in] BSTR Text);
|
||||
|
||||
[id(0x00002718)]
|
||||
HRESULT WriteLine([in, defaultvalue("")] BSTR Text);
|
||||
|
||||
[id(0x00002719)]
|
||||
HRESULT WriteBlankLines([in] long Lines);
|
||||
|
||||
[id(0x0000271a)]
|
||||
HRESULT Skip([in] long Characters);
|
||||
|
||||
[id(0x0000271b)]
|
||||
HRESULT SkipLine();
|
||||
|
||||
[id(0x0000271c)]
|
||||
HRESULT Close();
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A4-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IFile : IDispatch
|
||||
{
|
||||
[id(DISPID_VALUE), propget]
|
||||
HRESULT Path([out, retval] BSTR* pbstrPath);
|
||||
|
||||
[id(0x000003e8), propget]
|
||||
HRESULT Name([out, retval] BSTR* pbstrName);
|
||||
|
||||
[id(0x000003e8), propput]
|
||||
HRESULT Name([in] BSTR pbstrName);
|
||||
|
||||
[id(0x000003ea), propget]
|
||||
HRESULT ShortPath([out, retval] BSTR* pbstrPath);
|
||||
|
||||
[id(0x000003e9), propget]
|
||||
HRESULT ShortName([out, retval] BSTR* pbstrName);
|
||||
|
||||
[id(0x000003ec), propget]
|
||||
HRESULT Drive([out, retval] IDrive** ppdrive);
|
||||
|
||||
[id(0x000003ed), propget]
|
||||
HRESULT ParentFolder([out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x000003eb), propget]
|
||||
HRESULT Attributes([out, retval] FileAttribute* pfa);
|
||||
|
||||
[id(0x000003eb), propput]
|
||||
HRESULT Attributes([in] FileAttribute pfa);
|
||||
|
||||
[id(0x000003ee), propget]
|
||||
HRESULT DateCreated([out, retval] DATE* pdate);
|
||||
|
||||
[id(0x000003ef), propget]
|
||||
HRESULT DateLastModified([out, retval] DATE* pdate);
|
||||
|
||||
[id(0x000003f0), propget]
|
||||
HRESULT DateLastAccessed([out, retval] DATE* pdate);
|
||||
|
||||
[id(0x000003f1), propget]
|
||||
HRESULT Size([out, retval] VARIANT* pvarSize);
|
||||
|
||||
[id(0x000003f2), propget]
|
||||
HRESULT Type([out, retval] BSTR* pbstrType);
|
||||
|
||||
[id(0x000004b0)]
|
||||
HRESULT Delete([in, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
|
||||
[id(0x000004b2)]
|
||||
HRESULT Copy([in] BSTR Destination, [in, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
|
||||
[id(0x000004b4)]
|
||||
HRESULT Move([in] BSTR Destination);
|
||||
|
||||
[id(0x0000044c)]
|
||||
HRESULT OpenAsTextStream([in, defaultvalue(1)] IOMode IOMode,
|
||||
[in, defaultvalue(0)] Tristate Format, [out, retval] ITextStream** ppts);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(0AB5A3D0-E5B6-11D0-ABF5-00A0C90FFFC0),
|
||||
|
@ -218,10 +397,10 @@ library Scripting
|
|||
HRESULT GetSpecialFolder([in] SpecialFolderConst SpecialFolder, [out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x000004b0)]
|
||||
HRESULT DeleteFile([in] BSTR FileSpec, [in, optional, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
HRESULT DeleteFile([in] BSTR FileSpec, [in, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
|
||||
[id(0x000004b1)]
|
||||
HRESULT DeleteFolder([in] BSTR FolderSpec, [in, optional, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
HRESULT DeleteFolder([in] BSTR FolderSpec, [in, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
|
||||
[id(0x000004b4), helpstring("Move a file"), helpcontext(0x00214bab)]
|
||||
HRESULT MoveFile([in] BSTR Source, [in] BSTR Destination);
|
||||
|
@ -231,37 +410,38 @@ library Scripting
|
|||
|
||||
[id(0x000004b2)]
|
||||
HRESULT CopyFile([in] BSTR Source, [in] BSTR Destination,
|
||||
[in, optional, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
[in, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
|
||||
[id(0x000004b3)]
|
||||
HRESULT CopyFolder([in] BSTR Source, [in] BSTR Destination,
|
||||
[in, optional, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
[in, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
|
||||
[id(0x00000460)]
|
||||
HRESULT CreateFolder([in] BSTR Path, [out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x0000044d)]
|
||||
HRESULT CreateTextFile([in] BSTR FileName, [in, optional, defaultvalue(-1)] VARIANT_BOOL Overwrite,
|
||||
[in, optional, defaultvalue(0)] VARIANT_BOOL Unicode, [out, retval] ITextStream** ppts);
|
||||
HRESULT CreateTextFile([in] BSTR FileName, [in, defaultvalue(-1)] VARIANT_BOOL Overwrite,
|
||||
[in, defaultvalue(0)] VARIANT_BOOL Unicode, [out, retval] ITextStream** ppts);
|
||||
|
||||
[id(0x0000044c)]
|
||||
HRESULT OpenTextFile([in] BSTR FileName, [in, optional, defaultvalue(1)] IOMode IOMode,
|
||||
[in, optional, defaultvalue(0)] VARIANT_BOOL Create,
|
||||
[in, optional, defaultvalue(0)] Tristate Format,
|
||||
HRESULT OpenTextFile([in] BSTR FileName, [in, defaultvalue(1)] IOMode IOMode,
|
||||
[in, defaultvalue(0)] VARIANT_BOOL Create,
|
||||
[in, defaultvalue(0)] Tristate Format,
|
||||
[out, retval] ITextStream** ppts);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A1-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
uuid(C7C3F5A5-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IDriveCollection : IDispatch {
|
||||
[id(00000000)]
|
||||
HRESULT Item([in] VARIANT Key, [out, retval] IDrive** ppdrive);
|
||||
interface IFileCollection : IDispatch
|
||||
{
|
||||
[id(DISPID_VALUE), propget]
|
||||
HRESULT Item([in] VARIANT Key, [out, retval] IFile** ppfile);
|
||||
|
||||
[id(DISPID_NEWENUM), propget, restricted, hidden]
|
||||
HRESULT _NewEnum([out, retval] IUnknown** ppenum);
|
||||
|
@ -272,52 +452,25 @@ library Scripting
|
|||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A0-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
uuid(C7C3F5A3-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IDrive : IDispatch
|
||||
interface IFolderCollection : IDispatch
|
||||
{
|
||||
[id(00000000), propget]
|
||||
HRESULT Path([out, retval] BSTR* pbstrPath);
|
||||
[id(0x00000002)]
|
||||
HRESULT Add([in] BSTR Name, [out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x00002710), propget]
|
||||
HRESULT DriveLetter([out, retval] BSTR* pbstrLetter)
|
||||
;
|
||||
[id(0x00002711), propget]
|
||||
HRESULT ShareName([out, retval] BSTR* pbstrShareName);
|
||||
[id(DISPID_VALUE), propget]
|
||||
HRESULT Item([in] VARIANT Key, [out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x00002712), propget]
|
||||
HRESULT DriveType([out, retval] DriveTypeConst* pdt);
|
||||
[id(DISPID_NEWENUM), propget, restricted, hidden]
|
||||
HRESULT _NewEnum([out, retval] IUnknown** ppenum);
|
||||
|
||||
[id(0x00002713), propget]
|
||||
HRESULT RootFolder([out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x00002715), propget]
|
||||
HRESULT AvailableSpace([out, retval] VARIANT* pvarAvail);
|
||||
|
||||
[id(0x00002714), propget]
|
||||
HRESULT FreeSpace([out, retval] VARIANT* pvarFree);
|
||||
|
||||
[id(0x00002716), propget]
|
||||
HRESULT TotalSize([out, retval] VARIANT* pvarTotal);
|
||||
|
||||
[id(0x00002717), propget]
|
||||
HRESULT VolumeName([out, retval] BSTR* pbstrName);
|
||||
|
||||
[id(0x00002717), propput]
|
||||
HRESULT VolumeName([in] BSTR pbstrName);
|
||||
|
||||
[id(0x00002718), propget]
|
||||
HRESULT FileSystem([out, retval] BSTR* pbstrFileSystem);
|
||||
|
||||
[id(0x00002719), propget]
|
||||
HRESULT SerialNumber([out, retval] long* pulSerialNumber);
|
||||
|
||||
[id(0x0000271a), propget]
|
||||
HRESULT IsReady([out, retval] VARIANT_BOOL* pfReady);
|
||||
[id(0x00000001), propget]
|
||||
HRESULT Count([out, retval] long* plCount);
|
||||
}
|
||||
|
||||
[
|
||||
|
@ -330,7 +483,7 @@ library Scripting
|
|||
]
|
||||
interface IFolder : IDispatch
|
||||
{
|
||||
[id(00000000), propget]
|
||||
[id(DISPID_VALUE), propget]
|
||||
HRESULT Path([out, retval] BSTR* pbstrPath);
|
||||
|
||||
[id(0x000003e8), propget]
|
||||
|
@ -370,10 +523,10 @@ library Scripting
|
|||
HRESULT Type([out, retval] BSTR* pbstrType);
|
||||
|
||||
[id(0x000004b1)]
|
||||
HRESULT Delete([in, optional, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
HRESULT Delete([in, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
|
||||
[id(0x000004b3)]
|
||||
HRESULT Copy([in] BSTR Destination, [in, optional, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
HRESULT Copy([in] BSTR Destination, [in, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
|
||||
[id(0x000004b5)]
|
||||
HRESULT Move([in] BSTR Destination);
|
||||
|
@ -391,167 +544,8 @@ library Scripting
|
|||
HRESULT Files([out, retval] IFileCollection** ppfiles);
|
||||
|
||||
[id(0x0000044d)]
|
||||
HRESULT CreateTextFile([in] BSTR FileName, [in, optional, defaultvalue(-1)] VARIANT_BOOL Overwrite,
|
||||
[in, optional, defaultvalue(0)] VARIANT_BOOL Unicode, [out, retval] ITextStream** ppts);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A3-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IFolderCollection : IDispatch
|
||||
{
|
||||
[id(0x00000002)]
|
||||
HRESULT Add([in] BSTR Name, [out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(00000000), propget]
|
||||
HRESULT Item([in] VARIANT Key, [out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(DISPID_NEWENUM), propget, restricted, hidden]
|
||||
HRESULT _NewEnum([out, retval] IUnknown** ppenum);
|
||||
|
||||
[id(0x00000001), propget]
|
||||
HRESULT Count([out, retval] long* plCount);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A5-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IFileCollection : IDispatch
|
||||
{
|
||||
[id(00000000), propget]
|
||||
HRESULT Item([in] VARIANT Key, [out, retval] IFile** ppfile);
|
||||
|
||||
[id(DISPID_NEWENUM), propget, restricted, hidden]
|
||||
HRESULT _NewEnum([out, retval] IUnknown** ppenum);
|
||||
|
||||
[id(0x00000001), propget]
|
||||
HRESULT Count([out, retval] long* plCount);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(C7C3F5A4-88A3-11D0-ABCB-00A0C90FFFC0),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface IFile : IDispatch
|
||||
{
|
||||
[id(00000000), propget]
|
||||
HRESULT Path([out, retval] BSTR* pbstrPath);
|
||||
|
||||
[id(0x000003e8), propget]
|
||||
HRESULT Name([out, retval] BSTR* pbstrName);
|
||||
|
||||
[id(0x000003e8), propput]
|
||||
HRESULT Name([in] BSTR pbstrName);
|
||||
|
||||
[id(0x000003ea), propget]
|
||||
HRESULT ShortPath([out, retval] BSTR* pbstrPath);
|
||||
|
||||
[id(0x000003e9), propget]
|
||||
HRESULT ShortName([out, retval] BSTR* pbstrName);
|
||||
|
||||
[id(0x000003ec), propget]
|
||||
HRESULT Drive([out, retval] IDrive** ppdrive);
|
||||
|
||||
[id(0x000003ed), propget]
|
||||
HRESULT ParentFolder([out, retval] IFolder** ppfolder);
|
||||
|
||||
[id(0x000003eb), propget]
|
||||
HRESULT Attributes([out, retval] FileAttribute* pfa);
|
||||
|
||||
[id(0x000003eb), propput]
|
||||
HRESULT Attributes([in] FileAttribute pfa);
|
||||
|
||||
[id(0x000003ee), propget]
|
||||
HRESULT DateCreated([out, retval] DATE* pdate);
|
||||
|
||||
[id(0x000003ef), propget]
|
||||
HRESULT DateLastModified([out, retval] DATE* pdate);
|
||||
|
||||
[id(0x000003f0), propget]
|
||||
HRESULT DateLastAccessed([out, retval] DATE* pdate);
|
||||
|
||||
[id(0x000003f1), propget]
|
||||
HRESULT Size([out, retval] VARIANT* pvarSize);
|
||||
|
||||
[id(0x000003f2), propget]
|
||||
HRESULT Type([out, retval] BSTR* pbstrType);
|
||||
|
||||
[id(0x000004b0)]
|
||||
HRESULT Delete([in, optional, defaultvalue(0)] VARIANT_BOOL Force);
|
||||
|
||||
[id(0x000004b2)]
|
||||
HRESULT Copy([in] BSTR Destination, [in, optional, defaultvalue(-1)] VARIANT_BOOL OverWriteFiles);
|
||||
|
||||
[id(0x000004b4)]
|
||||
HRESULT Move([in] BSTR Destination);
|
||||
|
||||
[id(0x0000044c)]
|
||||
HRESULT OpenAsTextStream([in, optional, defaultvalue(1)] IOMode IOMode,
|
||||
[in, optional, defaultvalue(0)] Tristate Format, [out, retval] ITextStream** ppts);
|
||||
}
|
||||
|
||||
[
|
||||
odl,
|
||||
uuid(53BAD8C1-E718-11CF-893D-00A0C9054228),
|
||||
hidden,
|
||||
dual,
|
||||
nonextensible,
|
||||
oleautomation
|
||||
]
|
||||
interface ITextStream : IDispatch
|
||||
{
|
||||
[id(0x00002710), propget]
|
||||
HRESULT Line([out, retval] long* Line);
|
||||
|
||||
[id(0xfffffdef), propget]
|
||||
HRESULT Column([out, retval] long* Column);
|
||||
|
||||
[id(0x00002712), propget]
|
||||
HRESULT AtEndOfStream([out, retval] VARIANT_BOOL* EOS);
|
||||
|
||||
[id(0x00002713), propget]
|
||||
HRESULT AtEndOfLine([out, retval] VARIANT_BOOL* EOL);
|
||||
|
||||
[id(0x00002714)]
|
||||
HRESULT Read([in] long Characters, [out, retval] BSTR* Text);
|
||||
|
||||
[id(0x00002715)]
|
||||
HRESULT ReadLine([out, retval] BSTR* Text);
|
||||
|
||||
[id(0x00002716)]
|
||||
HRESULT ReadAll([out, retval] BSTR* Text);
|
||||
|
||||
[id(0x00002717)]
|
||||
HRESULT Write([in] BSTR Text);
|
||||
|
||||
[id(0x00002718)]
|
||||
HRESULT WriteLine([in, optional, defaultvalue("")] BSTR Text);
|
||||
|
||||
[id(0x00002719)]
|
||||
HRESULT WriteBlankLines([in] long Lines);
|
||||
|
||||
[id(0x0000271a)]
|
||||
HRESULT Skip([in] long Characters);
|
||||
|
||||
[id(0x0000271b)]
|
||||
HRESULT SkipLine();
|
||||
|
||||
[id(0x0000271c)]
|
||||
HRESULT Close();
|
||||
HRESULT CreateTextFile([in] BSTR FileName, [in, defaultvalue(-1)] VARIANT_BOOL Overwrite,
|
||||
[in, defaultvalue(0)] VARIANT_BOOL Unicode, [out, retval] ITextStream** ppts);
|
||||
}
|
||||
|
||||
[
|
||||
|
@ -565,7 +559,7 @@ library Scripting
|
|||
{
|
||||
[id(0x00004e20)]
|
||||
HRESULT GetStandardStream([in] StandardStreamTypes StandardStreamType,
|
||||
[in, optional, defaultvalue(0)] VARIANT_BOOL Unicode, [out, retval] ITextStream** ppts);
|
||||
[in, defaultvalue(0)] VARIANT_BOOL Unicode, [out, retval] ITextStream** ppts);
|
||||
|
||||
[id(0x00004e2a)]
|
||||
HRESULT GetFileVersion([in] BSTR FileName, [out, retval] BSTR* FileVersion);
|
||||
|
@ -579,7 +573,7 @@ library Scripting
|
|||
]
|
||||
interface IScriptEncoder : IDispatch
|
||||
{
|
||||
[id(00000000)]
|
||||
[id(DISPID_VALUE)]
|
||||
HRESULT EncodeScriptFile([in] BSTR szExt, [in] BSTR bstrStreamIn, [in] long cFlags,
|
||||
[in] BSTR bstrDefaultLang, [out, retval] BSTR* pbstrStreamOut);
|
||||
}
|
||||
|
|
|
@ -47,10 +47,14 @@ typedef enum tid_t
|
|||
{
|
||||
NULL_tid,
|
||||
IDictionary_tid,
|
||||
IDrive_tid,
|
||||
IDriveCollection_tid,
|
||||
IFile_tid,
|
||||
IFileCollection_tid,
|
||||
IFileSystem3_tid,
|
||||
IFolder_tid,
|
||||
IFolderCollection_tid,
|
||||
ITextStream_tid,
|
||||
IFile_tid,
|
||||
LAST_tid
|
||||
} tid_t;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ HKCR
|
|||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{0AB5A3D0-E5B6-11D0-ABF5-00A0C90FFFC0}' = s 'IFileSystem'
|
||||
'{C7C3F5A0-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IDrive'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
|
@ -31,25 +31,7 @@ HKCR
|
|||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{C7C3F5A0-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IDrive'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{C7C3F5A2-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IFolder'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{C7C3F5A3-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IFolderCollection'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{C7C3F5A5-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IFileCollection'
|
||||
'{53BAD8C1-E718-11CF-893D-00A0C9054228}' = s 'ITextStream'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
|
@ -61,7 +43,25 @@ HKCR
|
|||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{53BAD8C1-E718-11CF-893D-00A0C9054228}' = s 'ITextStream'
|
||||
'{0AB5A3D0-E5B6-11D0-ABF5-00A0C90FFFC0}' = s 'IFileSystem'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{C7C3F5A5-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IFileCollection'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{C7C3F5A3-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IFolderCollection'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
TypeLib = s '{420B2830-E718-11CF-893D-00A0C9054228}' { val Version = s '1.0' }
|
||||
}
|
||||
'{C7C3F5A2-88A3-11D0-ABCB-00A0C90FFFC0}' = s 'IFolder'
|
||||
{
|
||||
ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}'
|
||||
ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}'
|
||||
|
|
|
@ -171,7 +171,7 @@ reactos/dll/win32/rsabase # Synced to Wine-1.7.1
|
|||
reactos/dll/win32/rsaenh # Synced to Wine-1.7.17
|
||||
reactos/dll/win32/sccbase # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/schannel # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/scrrun # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/scrrun # Synced to Wine-1.7.17
|
||||
reactos/dll/win32/secur32 # Forked
|
||||
reactos/dll/win32/security # Forked (different .spec)
|
||||
reactos/dll/win32/sensapi # Synced to Wine-1.7.1
|
||||
|
|
Loading…
Reference in a new issue