Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
18c350ae
Commit
18c350ae
authored
Mar 19, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
idl: Remove 'optional' for 'defaultvalue' non-VARIANT arguments.
parent
62ee13c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
53 deletions
+53
-53
scrrun.idl
dlls/scrrun/scrrun.idl
+19
-19
wshom.idl
dlls/wshom.ocx/wshom.idl
+10
-10
msinkaut.idl
include/msinkaut.idl
+24
-24
No files found.
dlls/scrrun/scrrun.idl
View file @
18c350ae
...
...
@@ -256,7 +256,7 @@ library Scripting
HRESULT
Write
(
[
in
]
BSTR
Text
)
;
[
id
(
0
x00002718
)
]
HRESULT
WriteLine
(
[
in
,
optional
,
defaultvalue
(
""
)
]
BSTR
Text
)
;
HRESULT
WriteLine
(
[
in
,
defaultvalue
(
""
)
]
BSTR
Text
)
;
[
id
(
0
x00002719
)
]
HRESULT
WriteBlankLines
(
[
in
]
long
Lines
)
;
...
...
@@ -324,17 +324,17 @@ library Scripting
HRESULT
Type
(
[
out
,
retval
]
BSTR
*
pbstrType
)
;
[
id
(
0
x000004b0
)
]
HRESULT
Delete
(
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
HRESULT
Delete
(
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
[
id
(
0
x000004b2
)
]
HRESULT
Copy
(
[
in
]
BSTR
Destination
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
HRESULT
Copy
(
[
in
]
BSTR
Destination
,
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
id
(
0
x000004b4
)
]
HRESULT
Move
(
[
in
]
BSTR
Destination
)
;
[
id
(
0
x0000044c
)
]
HRESULT
OpenAsTextStream
(
[
in
,
optional
,
defaultvalue
(
1
)
]
IOMode
IOMode
,
[
in
,
optional
,
defaultvalue
(
0
)
]
Tristate
Format
,
[
out
,
retval
]
ITextStream
**
ppts
)
;
HRESULT
OpenAsTextStream
(
[
in
,
defaultvalue
(
1
)
]
IOMode
IOMode
,
[
in
,
defaultvalue
(
0
)
]
Tristate
Format
,
[
out
,
retval
]
ITextStream
**
ppts
)
;
}
[
...
...
@@ -396,10 +396,10 @@ library Scripting
HRESULT
GetSpecialFolder
(
[
in
]
SpecialFolderConst
SpecialFolder
,
[
out
,
retval
]
IFolder
**
ppfolder
)
;
[
id
(
0
x000004b0
)
]
HRESULT
DeleteFile
(
[
in
]
BSTR
FileSpec
,
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
HRESULT
DeleteFile
(
[
in
]
BSTR
FileSpec
,
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
[
id
(
0
x000004b1
)
]
HRESULT
DeleteFolder
(
[
in
]
BSTR
FolderSpec
,
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
HRESULT
DeleteFolder
(
[
in
]
BSTR
FolderSpec
,
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
[
id
(
0
x000004b4
),
helpstring
(
"Move a file"
),
helpcontext
(
0
x00214bab
)
]
HRESULT
MoveFile
(
[
in
]
BSTR
Source
,
[
in
]
BSTR
Destination
)
;
...
...
@@ -409,23 +409,23 @@ library Scripting
[
id
(
0
x000004b2
)
]
HRESULT
CopyFile
(
[
in
]
BSTR
Source
,
[
in
]
BSTR
Destination
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
id
(
0
x000004b3
)
]
HRESULT
CopyFolder
(
[
in
]
BSTR
Source
,
[
in
]
BSTR
Destination
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
id
(
0
x00000460
)
]
HRESULT
CreateFolder
(
[
in
]
BSTR
Path
,
[
out
,
retval
]
IFolder
**
ppfolder
)
;
[
id
(
0
x0000044d
)
]
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
(
0
x0000044c
)
]
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
)
;
}
...
...
@@ -522,10 +522,10 @@ library Scripting
HRESULT
Type
(
[
out
,
retval
]
BSTR
*
pbstrType
)
;
[
id
(
0
x000004b1
)
]
HRESULT
Delete
(
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
HRESULT
Delete
(
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
[
id
(
0
x000004b3
)
]
HRESULT
Copy
(
[
in
]
BSTR
Destination
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
HRESULT
Copy
(
[
in
]
BSTR
Destination
,
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
id
(
0
x000004b5
)
]
HRESULT
Move
(
[
in
]
BSTR
Destination
)
;
...
...
@@ -543,8 +543,8 @@ library Scripting
HRESULT
Files
(
[
out
,
retval
]
IFileCollection
**
ppfiles
)
;
[
id
(
0
x0000044d
)
]
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
)
;
}
[
...
...
@@ -558,7 +558,7 @@ library Scripting
{
[
id
(
0
x00004e20
)
]
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
(
0
x00004e2a
)
]
HRESULT
GetFileVersion
(
[
in
]
BSTR
FileName
,
[
out
,
retval
]
BSTR
*
FileVersion
)
;
...
...
dlls/wshom.ocx/wshom.idl
View file @
18c350ae
...
...
@@ -107,7 +107,7 @@ library IWshRuntimeLibrary
HRESULT
Write
(
[
in
]
BSTR
Text
)
;
[
id
(
0
x2718
)
]
HRESULT
WriteLine
(
[
in
,
optional
,
defaultvalue
(
""
)
]
BSTR
Text
)
;
HRESULT
WriteLine
(
[
in
,
defaultvalue
(
""
)
]
BSTR
Text
)
;
[
id
(
0
x2719
)
]
HRESULT
WriteBlankLines
(
[
in
]
long
Lines
)
;
...
...
@@ -223,20 +223,20 @@ library IWshRuntimeLibrary
HRESULT
Type
(
[
out
,
retval
]
BSTR
*
Type
)
;
[
id
(
0
x04b0
)
]
HRESULT
Delete
(
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
HRESULT
Delete
(
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Force
)
;
[
id
(
0
x04b2
)
]
HRESULT
Copy
(
[
in
]
BSTR
Destination
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
id
(
0
x04b4
)
]
HRESULT
Move
(
[
in
]
BSTR
Destination
)
;
[
id
(
0
x044c
)
]
HRESULT
OpenAsTextStream
(
[
in
,
optional
,
defaultvalue
(
1
)
]
IOMode
IOMode
,
[
in
,
optional
,
defaultvalue
(
0
)
]
Tristate
Format
,
[
in
,
defaultvalue
(
1
)
]
IOMode
IOMode
,
[
in
,
defaultvalue
(
0
)
]
Tristate
Format
,
[
out
,
retval
]
ITextStream
**
ppts
)
;
}
;
...
...
@@ -308,12 +308,12 @@ library IWshRuntimeLibrary
HRESULT
Type
(
[
out
,
retval
]
BSTR
*
type
)
;
[
id
(
0
x04b1
)
]
HRESULT
Delete
(
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
force
)
;
HRESULT
Delete
(
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
force
)
;
[
id
(
0
x04b3
)
]
HRESULT
Copy
(
[
in
]
BSTR
Destination
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
OverWriteFiles
)
;
[
id
(
0
x04b5
)
]
HRESULT
Move
(
[
in
]
BSTR
Destination
)
;
...
...
@@ -333,8 +333,8 @@ library IWshRuntimeLibrary
[
id
(
0
x044d
)
]
HRESULT
CreateTextFile
(
[
in
]
BSTR
FileName
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
Overwrite
,
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Unicode
,
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
Overwrite
,
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
Unicode
,
[
out
,
retval
]
ITextStream
**
ppts
)
;
}
;
...
...
@@ -575,7 +575,7 @@ library IWshRuntimeLibrary
HRESULT
LogEvent
(
[
in
]
VARIANT
*
Type
,
[
in
]
BSTR
Message
,
[
in
,
optional
,
defaultvalue
(
""
)
]
BSTR
Target
,
[
in
,
defaultvalue
(
""
)
]
BSTR
Target
,
[
out
,
retval
]
VARIANT_BOOL
*
out_Success
)
;
[
id
(
0
x0bc2
)
]
...
...
include/msinkaut.idl
View file @
18c350ae
...
...
@@ -211,8 +211,8 @@ cpp_quote("#endif /* _WINGDI_ */")
[
in
]
single
VerticalComponent
)
;
[
id
(
0
x00000003
)
]
HRESULT
Rotate
(
[
in
]
single
Degrees
,
[
in
,
optional
,
defaultvalue
(
0
)
]
single
x
,
[
in
,
optional
,
defaultvalue
(
0
)
]
single
y
)
;
[
in
,
defaultvalue
(
0
)
]
single
x
,
[
in
,
defaultvalue
(
0
)
]
single
y
)
;
[
id
(
0
x00000004
)
]
HRESULT
Reflect
(
[
in
]
VARIANT_BOOL
Horizontally
,
[
in
]
VARIANT_BOOL
Vertically
)
;
...
...
@@ -336,7 +336,7 @@ cpp_quote("#endif /* _WINGDI_ */")
[
id
(
0
x00000014
),
propget
]
HRESULT
Deleted
(
[
out
,
retval
]
VARIANT_BOOL
*
Deleted
)
;
[
id
(
0
x00000003
)
]
HRESULT
GetBoundingBox
(
[
in
,
optional
,
defaultvalue
(
0
)
]
InkBoundingBoxMode
BoundingBoxMode
,
[
in
,
defaultvalue
(
0
)
]
InkBoundingBoxMode
BoundingBoxMode
,
[
out
,
retval
]
IInkRectangle
**
Rectangle
)
;
[
id
(
0
x00000005
)
]
HRESULT
FindIntersections
(
[
in
]
IInkStrokes
*
Strokes
,
...
...
@@ -354,7 +354,7 @@ cpp_quote("#endif /* _WINGDI_ */")
[
id
(
0
x00000009
)
]
HRESULT
NearestPoint
(
[
in
]
long
x
,
[
in
]
long
y
,
[
in
,
out
,
optional
,
defaultvalue
(
0
)
]
single
*
Distance
,
[
in
,
out
,
defaultvalue
(
0
)
]
single
*
Distance
,
[
out
,
retval
]
single
*
Point
)
;
[
id
(
0
x0000000a
)
]
HRESULT
Split
(
[
in
]
single
SplitAt
,
...
...
@@ -366,35 +366,35 @@ cpp_quote("#endif /* _WINGDI_ */")
[
out
]
TabletPropertyMetricUnit
*
Units
,
[
out
]
single
*
Resolution
)
;
[
id
(
0
x00000016
)
]
HRESULT
GetPoints
(
[
in
,
optional
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
long
Count
,
[
in
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
defaultvalue
(
-
1
)
]
long
Count
,
[
out
,
retval
]
VARIANT
*
Points
)
;
[
id
(
0
x00000017
)
]
HRESULT
SetPoints
(
[
in
]
VARIANT
Points
,
[
in
,
optional
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
long
Count
,
[
in
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
defaultvalue
(
-
1
)
]
long
Count
,
[
out
,
retval
]
long
*
NumberOfPointsSet
)
;
[
id
(
0
x00000018
)
]
HRESULT
GetPacketData
(
[
in
,
optional
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
long
Count
,
[
in
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
defaultvalue
(
-
1
)
]
long
Count
,
[
out
,
retval
]
VARIANT
*
PacketData
)
;
[
id
(
0
x00000019
)
]
HRESULT
GetPacketValuesByProperty
(
[
in
]
BSTR
propertyName
,
[
in
,
optional
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
long
Count
,
[
in
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
defaultvalue
(
-
1
)
]
long
Count
,
[
out
,
retval
]
VARIANT
*
PacketValues
)
;
[
id
(
0
x0000001a
)
]
HRESULT
SetPacketValuesByProperty
(
[
in
]
BSTR
bstrPropertyName
,
[
in
]
VARIANT
PacketValues
,
[
in
,
optional
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
long
Count
,
[
in
,
defaultvalue
(
0
)
]
long
Index
,
[
in
,
defaultvalue
(
-
1
)
]
long
Count
,
[
out
,
retval
]
long
*
NumberOfPacketsSet
)
;
[
id
(
0
x0000001b
)
]
HRESULT
GetFlattenedBezierPoints
(
[
in
,
optional
,
defaultvalue
(
0
)
]
long
FittingError
,
[
in
,
defaultvalue
(
0
)
]
long
FittingError
,
[
out
,
retval
]
VARIANT
*
FlattenedBezierPoints
)
;
[
id
(
0
x0000001d
)
]
HRESULT
Transform
(
[
in
]
IInkTransform
*
Transform
,
[
in
,
optional
,
defaultvalue
(
0
)
]
VARIANT_BOOL
ApplyOnPenWidth
)
;
[
in
,
defaultvalue
(
0
)
]
VARIANT_BOOL
ApplyOnPenWidth
)
;
[
id
(
0
x0000001c
)
]
HRESULT
ScaleToRectangle
(
[
in
]
IInkRectangle
*
Rectangle
)
;
[
id
(
0
x0000001e
)
]
HRESULT
Move
(
...
...
@@ -402,8 +402,8 @@ cpp_quote("#endif /* _WINGDI_ */")
[
in
]
single
VerticalComponent
)
;
[
id
(
0
x0000001f
)
]
HRESULT
Rotate
(
[
in
]
single
Degrees
,
[
in
,
optional
,
defaultvalue
(
0
)
]
single
x
,
[
in
,
optional
,
defaultvalue
(
0
)
]
single
y
)
;
[
in
,
defaultvalue
(
0
)
]
single
x
,
[
in
,
defaultvalue
(
0
)
]
single
y
)
;
[
id
(
0
x00000020
)
]
HRESULT
Shear
(
[
in
]
single
HorizontalMultiplier
,
[
in
]
single
VerticalMultiplier
)
;
...
...
@@ -693,7 +693,7 @@ cpp_quote("#endif /* _WINGDI_ */")
HRESULT
DrawStroke
(
[
in
]
long
hDC
,
[
in
]
IInkStrokeDisp
*
Stroke
,
[
in
,
optional
,
defaultvalue
(
0
)
]
[
in
,
defaultvalue
(
0
)
]
IInkDrawingAttributes
*
DrawingAttributes
)
;
HRESULT
PixelToInkSpace
(
[
in
]
long
hDC
,
...
...
@@ -714,19 +714,19 @@ cpp_quote("#endif /* _WINGDI_ */")
[
out
,
retval
]
IInkRectangle
**
Rectangle
)
;
HRESULT
MeasureStroke
(
[
in
]
IInkStrokeDisp
*
Stroke
,
[
in
,
optional
,
defaultvalue
(
0
)
]
IInkDrawingAttributes
*
DrawingAttributes
,
[
in
,
defaultvalue
(
0
)
]
IInkDrawingAttributes
*
DrawingAttributes
,
[
out
,
retval
]
IInkRectangle
**
Rectangle
)
;
HRESULT
Move
(
[
in
]
single
HorizontalComponent
,
[
in
]
single
VerticalComponent
)
;
HRESULT
Rotate
(
[
in
]
single
Degrees
,
[
in
,
optional
,
defaultvalue
(
0
)
]
single
x
,
[
in
,
optional
,
defaultvalue
(
0
)
]
single
y
)
;
[
in
,
defaultvalue
(
0
)
]
single
x
,
[
in
,
defaultvalue
(
0
)
]
single
y
)
;
HRESULT
ScaleTransform
(
[
in
]
single
HorizontalMultiplier
,
[
in
]
single
VerticalMultiplier
,
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
ApplyOnPenWidth
)
;
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
ApplyOnPenWidth
)
;
}
;
typedef
enum
{
...
...
@@ -996,7 +996,7 @@ cpp_quote("#endif /* _WINGDI_ */")
[
id
(
0
x00000017
)
]
HRESULT
SetWindowInputRectangle
(
[
in
]
IInkRectangle
*
WindowInputRectangle
)
;
[
id
(
0
x0000001a
)
]
HRESULT
SetAllTabletsMode
(
[
in
,
optional
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
UseMouseForInput
)
;
[
in
,
defaultvalue
(
-
1
)
]
VARIANT_BOOL
UseMouseForInput
)
;
[
id
(
0
x0000001b
)
]
HRESULT
SetSingleTabletIntegratedMode
(
[
in
]
IInkTablet
*
Tablet
)
;
[
id
(
0
x0000000b
)
]
HRESULT
GetEventInterest
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment