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
fc9446cb
Commit
fc9446cb
authored
Jan 04, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uncommented 'optional' attributes.
parent
b624b873
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
29 deletions
+29
-29
amstream.idl
include/amstream.idl
+7
-7
ddstream.idl
include/ddstream.idl
+9
-9
mmstream.idl
include/mmstream.idl
+13
-13
No files found.
include/amstream.idl
View file @
fc9446cb
...
@@ -91,7 +91,7 @@ interface IAMMultiMediaStream : IMultiMediaStream
...
@@ -91,7 +91,7 @@ interface IAMMultiMediaStream : IMultiMediaStream
HRESULT
Initialize
(
HRESULT
Initialize
(
[
in
]
STREAM_TYPE
StreamType
,
[
in
]
STREAM_TYPE
StreamType
,
[
in
]
DWORD
dwFlags
,
[
in
]
DWORD
dwFlags
,
[
in
]
/*
[
optional
]
*/
IGraphBuilder
*
pFilterGraph
)
;
[
in
,
optional
]
IGraphBuilder
*
pFilterGraph
)
;
HRESULT
GetFilterGraph
(
HRESULT
GetFilterGraph
(
[
out
]
IGraphBuilder
**
ppGraphBuilder
)
;
[
out
]
IGraphBuilder
**
ppGraphBuilder
)
;
...
@@ -100,10 +100,10 @@ interface IAMMultiMediaStream : IMultiMediaStream
...
@@ -100,10 +100,10 @@ interface IAMMultiMediaStream : IMultiMediaStream
[
out
]
IMediaStreamFilter
**
ppFilter
)
;
[
out
]
IMediaStreamFilter
**
ppFilter
)
;
HRESULT
AddMediaStream
(
HRESULT
AddMediaStream
(
[
in
]
/*
[
optional
]
*/
IUnknown
*
pStreamObject
,
[
in
,
optional
]
IUnknown
*
pStreamObject
,
[
in
]
/*
[
optional
]
*/
const
MSPID
*
PurposeId
,
[
in
,
optional
]
const
MSPID
*
PurposeId
,
[
in
]
DWORD
dwFlags
,
[
in
]
DWORD
dwFlags
,
[
out
]
/*
[
optional
]
*/
IMediaStream
**
ppNewStream
)
;
[
out
,
optional
]
IMediaStream
**
ppNewStream
)
;
HRESULT
OpenFile
(
HRESULT
OpenFile
(
[
in
]
LPCWSTR
pszFileName
,
[
in
]
LPCWSTR
pszFileName
,
...
@@ -127,7 +127,7 @@ pointer_default(unique)
...
@@ -127,7 +127,7 @@ pointer_default(unique)
interface
IAMMediaStream
:
IMediaStream
interface
IAMMediaStream
:
IMediaStream
{
{
HRESULT
Initialize
(
HRESULT
Initialize
(
[
in
]
/*
[
optional
]
*/
IUnknown
*
pSourceObject
,
[
in
,
optional
]
IUnknown
*
pSourceObject
,
[
in
]
DWORD
dwFlags
,
[
in
]
DWORD
dwFlags
,
[
in
]
REFMSPID
PurposeId
,
[
in
]
REFMSPID
PurposeId
,
[
in
]
const
STREAM_TYPE
StreamType
)
;
[
in
]
const
STREAM_TYPE
StreamType
)
;
...
@@ -231,9 +231,9 @@ interface IAMMediaTypeStream : IMediaStream
...
@@ -231,9 +231,9 @@ interface IAMMediaTypeStream : IMediaStream
HRESULT
CreateSample
(
HRESULT
CreateSample
(
[
in
]
long
lSampleSize
,
[
in
]
long
lSampleSize
,
[
in
]
/*
[
optional
]
*/
BYTE
*
pbBuffer
,
[
in
,
optional
]
BYTE
*
pbBuffer
,
[
in
]
DWORD
dwFlags
,
[
in
]
DWORD
dwFlags
,
[
in
]
/*
[
optional
]
*/
IUnknown
*
pUnkOuter
,
[
in
,
optional
]
IUnknown
*
pUnkOuter
,
[
out
]
IAMMediaTypeSample
**
ppAMMediaTypeSample
)
;
[
out
]
IAMMediaTypeSample
**
ppAMMediaTypeSample
)
;
HRESULT
GetStreamAllocatorRequirements
(
HRESULT
GetStreamAllocatorRequirements
(
...
...
include/ddstream.idl
View file @
fc9446cb
...
@@ -44,14 +44,14 @@ pointer_default(unique)
...
@@ -44,14 +44,14 @@ pointer_default(unique)
interface
IDirectDrawMediaStream
:
IMediaStream
interface
IDirectDrawMediaStream
:
IMediaStream
{
{
HRESULT
GetFormat
(
HRESULT
GetFormat
(
[
out
]
/*
[
optional
]
*/
DDSURFACEDESC
*
pDDSDCurrent
,
[
out
,
optional
]
DDSURFACEDESC
*
pDDSDCurrent
,
[
out
]
/*
[
optional
]
*/
IDirectDrawPalette
**
ppDirectDrawPalette
,
[
out
,
optional
]
IDirectDrawPalette
**
ppDirectDrawPalette
,
[
out
]
/*
[
optional
]
*/
DDSURFACEDESC
*
pDDSDDesired
,
[
out
,
optional
]
DDSURFACEDESC
*
pDDSDDesired
,
[
out
]
/*
[
optional
]
*/
DWORD
*
pdwFlags
)
;
[
out
,
optional
]
DWORD
*
pdwFlags
)
;
HRESULT
SetFormat
(
HRESULT
SetFormat
(
[
in
]
const
DDSURFACEDESC
*
pDDSurfaceDesc
,
[
in
]
const
DDSURFACEDESC
*
pDDSurfaceDesc
,
[
in
]
/*
[
optional
]
*/
IDirectDrawPalette
*
pDirectDrawPalette
)
;
[
in
,
optional
]
IDirectDrawPalette
*
pDirectDrawPalette
)
;
HRESULT
GetDirectDraw
(
HRESULT
GetDirectDraw
(
[
out
]
IDirectDraw
**
ppDirectDraw
)
;
[
out
]
IDirectDraw
**
ppDirectDraw
)
;
...
@@ -60,8 +60,8 @@ interface IDirectDrawMediaStream : IMediaStream
...
@@ -60,8 +60,8 @@ interface IDirectDrawMediaStream : IMediaStream
[
in
]
IDirectDraw
*
pDirectDraw
)
;
[
in
]
IDirectDraw
*
pDirectDraw
)
;
HRESULT
CreateSample
(
HRESULT
CreateSample
(
[
in
]
/*
[
optional
]
*/
IDirectDrawSurface
*
pSurface
,
[
in
,
optional
]
IDirectDrawSurface
*
pSurface
,
[
in
]
/*
[
optional
]
*/
const
RECT
*
pRect
,
[
in
,
optional
]
const
RECT
*
pRect
,
[
in
]
DWORD
dwFlags
,
[
in
]
DWORD
dwFlags
,
[
out
]
IDirectDrawStreamSample
**
ppSample
)
;
[
out
]
IDirectDrawStreamSample
**
ppSample
)
;
...
@@ -79,8 +79,8 @@ pointer_default(unique)
...
@@ -79,8 +79,8 @@ pointer_default(unique)
interface
IDirectDrawStreamSample
:
IStreamSample
interface
IDirectDrawStreamSample
:
IStreamSample
{
{
HRESULT
GetSurface
(
HRESULT
GetSurface
(
[
out
]
/*
[
optional
]
*/
IDirectDrawSurface
**
ppDirectDrawSurface
,
[
out
,
optional
]
IDirectDrawSurface
**
ppDirectDrawSurface
,
[
out
]
/*
[
optional
]
*/
RECT
*
pRect
)
;
[
out
,
optional
]
RECT
*
pRect
)
;
HRESULT
SetRect
(
HRESULT
SetRect
(
[
in
]
const
RECT
*
pRect
)
;
[
in
]
const
RECT
*
pRect
)
;
...
...
include/mmstream.idl
View file @
fc9446cb
...
@@ -90,8 +90,8 @@ pointer_default(unique)
...
@@ -90,8 +90,8 @@ pointer_default(unique)
interface
IMultiMediaStream
:
IUnknown
{
interface
IMultiMediaStream
:
IUnknown
{
HRESULT
GetInformation
(
HRESULT
GetInformation
(
[
out
]
/*
[
optional
]
*/
char
*
pdwFlags
,
[
out
,
optional
]
char
*
pdwFlags
,
[
out
]
/*
[
optional
]
*/
STREAM_TYPE
*
pStreamType
)
;
[
out
,
optional
]
STREAM_TYPE
*
pStreamType
)
;
HRESULT
GetMediaStream
(
HRESULT
GetMediaStream
(
[
in
]
REFMSPID
idPurpose
,
[
in
]
REFMSPID
idPurpose
,
...
@@ -132,8 +132,8 @@ interface IMediaStream : IUnknown {
...
@@ -132,8 +132,8 @@ interface IMediaStream : IUnknown {
[
out
]
IMultiMediaStream
**
ppMultiMediaStream
)
;
[
out
]
IMultiMediaStream
**
ppMultiMediaStream
)
;
HRESULT
GetInformation
(
HRESULT
GetInformation
(
[
out
]
/*
[
optional
]
*/
MSPID
*
pPurposeId
,
[
out
,
optional
]
MSPID
*
pPurposeId
,
[
out
]
/*
[
optional
]
*/
STREAM_TYPE
*
pType
)
;
[
out
,
optional
]
STREAM_TYPE
*
pType
)
;
HRESULT
SetSameFormat
(
HRESULT
SetSameFormat
(
[
in
]
IMediaStream
*
pStreamThatHasDesiredFormat
,
[
in
]
IMediaStream
*
pStreamThatHasDesiredFormat
,
...
@@ -164,21 +164,21 @@ interface IStreamSample : IUnknown {
...
@@ -164,21 +164,21 @@ interface IStreamSample : IUnknown {
[
in
]
IMediaStream
**
ppMediaStream
)
;
[
in
]
IMediaStream
**
ppMediaStream
)
;
HRESULT
GetSampleTimes
(
HRESULT
GetSampleTimes
(
[
out
]
/*
[
optional
]
*/
STREAM_TIME
*
pStartTime
,
[
out
,
optional
]
STREAM_TIME
*
pStartTime
,
[
out
]
/*
[
optional
]
*/
STREAM_TIME
*
pEndTime
,
[
out
,
optional
]
STREAM_TIME
*
pEndTime
,
[
out
]
/*
[
optional
]
*/
STREAM_TIME
*
pCurrentTime
)
;
[
out
,
optional
]
STREAM_TIME
*
pCurrentTime
)
;
HRESULT
SetSampleTimes
(
HRESULT
SetSampleTimes
(
[
in
]
/*
[
optional
]
*/
const
STREAM_TIME
*
pStartTime
,
[
in
,
optional
]
const
STREAM_TIME
*
pStartTime
,
[
in
]
/*
[
optional
]
*/
const
STREAM_TIME
*
pEndTime
)
;
[
in
,
optional
]
const
STREAM_TIME
*
pEndTime
)
;
HRESULT
Update
(
HRESULT
Update
(
[
in
]
DWORD
dwFlags
,
[
in
]
DWORD
dwFlags
,
[
in
]
/*
[
optional
]
*/
HANDLE
hEvent
,
[
in
,
optional
]
HANDLE
hEvent
,
[
in
]
/*
[
optional
]
*/
PAPCFUNC
pfnAPC
,
[
in
,
optional
]
PAPCFUNC
pfnAPC
,
[
in
]
/*
[
optional
]
*/
DWORD
dwAPCData
)
;
[
in
,
optional
]
DWORD
dwAPCData
)
;
HRESULT
CompletionStatus
(
HRESULT
CompletionStatus
(
[
in
]
DWORD
dwFlags
,
[
in
]
DWORD
dwFlags
,
[
in
]
/*
[
optional
]
*/
DWORD
dwMilliseconds
)
;
[
in
,
optional
]
DWORD
dwMilliseconds
)
;
}
;
}
;
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