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
d6e2b5b1
Commit
d6e2b5b1
authored
Mar 13, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmsdkidl.idl: Added IWMWriterAdvanced* interfaces declarations.
parent
14e62a0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
136 additions
and
0 deletions
+136
-0
wmsdkidl.idl
include/wmsdkidl.idl
+136
-0
No files found.
include/wmsdkidl.idl
View file @
d6e2b5b1
...
...
@@ -35,6 +35,31 @@ typedef struct _WMMediaType
[
size_is
(
cbFormat
)
]
BYTE
*
pbFormat
;
}
WM_MEDIA_TYPE
;
typedef
struct
_WMWriterStatistics
{
QWORD
qwSampleCount
;
QWORD
qwByteCount
;
QWORD
qwDroppedSampleCount
;
QWORD
qwDroppedByteCount
;
DWORD
dwCurrentBitrate
;
DWORD
dwAverageBitrate
;
DWORD
dwExpectedBitrate
;
DWORD
dwCurrentSampleRate
;
DWORD
dwAverageSampleRate
;
DWORD
dwExpectedSampleRate
;
}
WM_WRITER_STATISTICS
;
typedef
struct
_WMWriterStatisticsEx
{
DWORD
dwBitratePlusOverhead
;
DWORD
dwCurrentSampleDropRateInQueue
;
DWORD
dwCurrentSampleDropRateInCodec
;
DWORD
dwCurrentSampleDropRateInMultiplexer
;
DWORD
dwTotalSampleDropsInQueue
;
DWORD
dwTotalSampleDropsInCodec
;
DWORD
dwTotalSampleDropsInMultiplexer
;
}
WM_WRITER_STATISTICS_EX
;
typedef
enum
WMT_ATTR_DATATYPE
{
WMT_TYPE_DWORD
=
0
,
...
...
@@ -535,6 +560,30 @@ interface IWMInputMediaProps : IWMMediaProps
[
object
,
uuid
(
96406b
e4
-
2b2b
-
11
d3
-
b36b
-
00
c04f6108ff
),
pointer_default
(
unique
),
local
]
interface
IWMWriterSink
:
IUnknown
{
HRESULT
OnHeader
(
[
in
]
INSSBuffer
*
pHeader
)
;
HRESULT
IsRealTime
(
[
out
]
BOOL
*
pfRealTime
)
;
HRESULT
AllocateDataUnit
(
[
in
]
DWORD
cbDataUnit
,
[
out
]
INSSBuffer
**
ppDataUnit
)
;
HRESULT
OnDataUnit
(
[
in
]
INSSBuffer
*
pDataUnit
)
;
HRESULT
OnEndWriting
()
;
}
[
object
,
uuid
(
96406b
d4
-
2b2b
-
11
d3
-
b36b
-
00
c04f6108ff
),
pointer_default
(
unique
),
local
...
...
@@ -587,6 +636,93 @@ interface IWMWriter : IUnknown
HRESULT
Flush
()
;
}
[
object
,
uuid
(
96406b
e3
-
2b2b
-
11
d3
-
b36b
-
00
C04f6108ff
),
pointer_default
(
unique
),
local
]
interface
IWMWriterAdvanced
:
IUnknown
{
HRESULT
GetSinkCount
(
[
out
]
DWORD
*
pcSinks
)
;
HRESULT
GetSink
(
[
in
]
DWORD
dwSinkNum
,
[
out
]
IWMWriterSink
**
ppSink
)
;
HRESULT
AddSink
(
[
in
]
IWMWriterSink
*
pSink
)
;
HRESULT
RemoveSink
(
[
in
]
IWMWriterSink
*
pSink
)
;
HRESULT
WriteStreamSample
(
[
in
]
WORD
wStreamNum
,
[
in
]
QWORD
cnsSampleTime
,
[
in
]
DWORD
msSampleSendTime
,
[
in
]
QWORD
cnsSampleDuration
,
[
in
]
DWORD
dwFlags
,
[
in
]
INSSBuffer
*
pSample
)
;
HRESULT
SetLiveSource
(
BOOL
fIsLiveSource
)
;
HRESULT
IsRealTime
(
[
out
]
BOOL
*
pfRealTime
)
;
HRESULT
GetWriterTime
(
[
out
]
QWORD
*
pCurrentTime
)
;
HRESULT
GetStatistics
(
[
in
]
WORD
wStreamNum
,
[
out
]
WM_WRITER_STATISTICS
*
pStats
)
;
HRESULT
SetSyncTolerance
(
[
in
]
DWORD
msWindow
)
;
HRESULT
GetSyncTolerance
(
[
out
]
DWORD
*
pmsWindow
)
;
}
[
object
,
uuid
(
962
dc1ec
-
c046
-
4
db8
-
9
cc7
-
26
ceae500817
),
pointer_default
(
unique
),
local
]
interface
IWMWriterAdvanced2
:
IWMWriterAdvanced
{
HRESULT
GetInputSetting
(
[
in
]
DWORD
dwInputNum
,
[
in
]
LPCWSTR
pszName
,
[
out
]
WMT_ATTR_DATATYPE
*
pType
,
[
out
,
size_is
(
*
pcbLength
)
]
BYTE
*
pValue
,
[
in
,
out
]
WORD
*
pcbLength
)
;
HRESULT
SetInputSetting
(
[
in
]
DWORD
dwInputNum
,
[
in
]
LPCWSTR
pszName
,
[
in
]
WMT_ATTR_DATATYPE
Type
,
[
in
,
size_is
(
cbLength
)
]
const
BYTE
*
pValue
,
[
in
]
WORD
cbLength
)
;
}
[
object
,
uuid
(
2
cd6492d
-
7
c37
-
4
e76
-
9
d3b
-
59261183
a22e
),
pointer_default
(
unique
),
local
]
interface
IWMWriterAdvanced3
:
IWMWriterAdvanced2
{
HRESULT
GetStatisticsEx
(
[
in
]
WORD
wStreamNum
,
[
out
]
WM_WRITER_STATISTICS_EX
*
pStats
)
;
HRESULT
SetNonBlocking
()
;
}
cpp_quote
(
"HRESULT WINAPI WMCreateWriter(IUnknown*,IWMWriter**);"
)
cpp_quote
(
"EXTERN_GUID(WMMEDIASUBTYPE_Base, 0x00000000,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);"
)
...
...
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