Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1df10ead
Commit
1df10ead
authored
Aug 17, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Aug 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IWMPEvents/2/3/4 and supporting interfaces.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dd26e02c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
463 additions
and
0 deletions
+463
-0
wmp.idl
include/wmp.idl
+463
-0
No files found.
include/wmp.idl
View file @
1df10ead
...
...
@@ -74,6 +74,89 @@ library WMPLib {
wmppsLast
}
WMPPlayState
;
typedef
enum
{
wmplcUnknown
,
wmplcClear
,
wmplcInfoChange
,
wmplcMove
,
wmplcDelete
,
wmplcInsert
,
wmplcAppend
,
wmplcPrivate
,
wmplcNameChange
,
wmplcMorph
,
wmplcSort
,
wmplcLast
}
WMPPlaylistChangeEventType
;
typedef
enum
{
wmpdsUnknown
,
wmpdsPartnershipExists
,
wmpdsPartnershipDeclined
,
wmpdsPartnershipAnother
,
wmpdsManualDevice
,
wmpdsNewDevice
,
wmpdsLast
}
WMPDeviceStatus
;
typedef
enum
{
wmpssUnknown
,
wmpssSynchronizing
,
wmpssStopped
,
wmpssEstimating
,
wmpssLast
}
WMPSyncState
;
typedef
enum
{
wmprsUnknown
,
wmprsRipping
,
wmprsStopped
}
WMPRipState
;
typedef
enum
{
wmpbfAudioCD
,
wmpbfDataCD
}
WMPBurnFormat
;
typedef
enum
{
wmpbsUnknown
,
wmpbsBusy
,
wmpbsReady
,
wmpbsWaitingForDisc
,
wmpbsRefreshStatusPending
,
wmpbsPreparingToBurn
,
wmpbsBurning
,
wmpbsStopped
,
wmpbsErasing
,
wmpbsDownloading
}
WMPBurnState
;
typedef
enum
{
wmpltUnknown
,
wmpltAll
,
wmpltLocal
,
wmpltRemote
,
wmpltDisc
,
wmpltPortableDevice
}
WMPLibraryType
;
typedef
enum
{
wmpfssUnknown
,
wmpfssScanning
,
wmpfssUpdating
,
wmpfssStopped
}
WMPFolderScanState
;
typedef
enum
{
wmpsccetUnknown
,
wmpsccetInsert
,
wmpsccetChange
,
wmpsccetDelete
,
wmpsccetClear
,
wmpsccetBeginUpdates
,
wmpsccetEndUpdates
}
WMPStringCollectionChangeEventType
;
interface
IWMPMedia
;
[
...
...
@@ -925,6 +1008,386 @@ library WMPLib {
}
[
odl
,
uuid
(
82
a2986c
-
0293
-
4
fd0
-
b279
-
b21b86c058be
),
oleautomation
]
interface
IWMPSyncDevice
:
IUnknown
{
[
propget
]
HRESULT
friendlyName
(
[
out
,
retval
]
BSTR
*
name
)
;
[
propput
]
HRESULT
friendlyName
(
[
in
]
BSTR
name
)
;
[
propget
]
HRESULT
deviceName
(
[
out
,
retval
]
BSTR
*
name
)
;
[
propget
]
HRESULT
deviceId
(
[
out
,
retval
]
BSTR
*
device
)
;
[
propget
]
HRESULT
partnershipIndex
(
[
out
,
retval
]
long
*
index
)
;
[
propget
]
HRESULT
connected
(
[
out
,
retval
]
VARIANT_BOOL
*
connected
)
;
[
propget
]
HRESULT
status
(
[
out
,
retval
]
WMPDeviceStatus
*
status
)
;
[
propget
]
HRESULT
syncState
(
[
out
,
retval
]
WMPSyncState
*
state
)
;
[
propget
]
HRESULT
progress
(
[
out
,
retval
]
long
*
progress
)
;
HRESULT
getItemInfo
(
[
in
]
BSTR
name
,
[
out
,
retval
]
BSTR
*
val
)
;
HRESULT
createPartnership
(
[
in
]
VARIANT_BOOL
showui
)
;
HRESULT
deletePartnership
()
;
HRESULT
start
()
;
HRESULT
stop
()
;
HRESULT
showSettings
()
;
HRESULT
isIdentical
(
[
in
]
IWMPSyncDevice
*
device
,
[
out
,
retval
]
VARIANT_BOOL
*
ret
)
;
}
[
odl
,
uuid
(
88
afb4b2
-
140
a
-
44
d2
-
91
e6
-
4543
da467cd1
),
oleautomation
]
interface
IWMPSyncDevice2
:
IWMPSyncDevice
{
HRESULT
setItemInfo
(
[
in
]
BSTR
name
,
[
in
]
BSTR
val
)
;
}
[
odl
,
uuid
(
56
e2294f
-
69
ed
-
4629
-
a869
-
aea72c0dcc2c
),
oleautomation
]
interface
IWMPCdromRip
:
IUnknown
{
[
propget
]
HRESULT
ripState
(
[
out
,
retval
]
WMPRipState
*
state
)
;
[
propget
]
HRESULT
ripProgress
(
[
out
,
retval
]
long
*
progress
)
;
HRESULT
startRip
()
;
HRESULT
stopRip
()
;
}
[
odl
,
uuid
(
bd94dbeb
-
417
f
-
4928
-
aa06
-
087
d56ed9b59
),
oleautomation
]
interface
IWMPCdromBurn
:
IUnknown
{
HRESULT
isAvailable
(
[
in
]
BSTR
item
,
[
out
,
retval
]
VARIANT_BOOL
*
available
)
;
HRESULT
getItemInfo
(
[
in
]
BSTR
item
,
[
out
,
retval
]
BSTR
*
val
)
;
[
propget
]
HRESULT
label
(
[
out
,
retval
]
BSTR
*
label
)
;
[
propput
]
HRESULT
label
(
[
in
]
BSTR
label
)
;
[
propget
]
HRESULT
burnFormat
(
[
out
,
retval
]
WMPBurnFormat
*
format
)
;
[
propput
]
HRESULT
burnFormat
(
[
in
]
WMPBurnFormat
format
)
;
[
propget
]
HRESULT
burnPlaylist
(
[
out
,
retval
]
IWMPPlaylist
**
playlist
)
;
[
propput
]
HRESULT
burnPlaylist
(
[
in
]
IWMPPlaylist
*
playlist
)
;
HRESULT
refreshStatus
()
;
[
propget
]
HRESULT
burnState
(
[
out
,
retval
]
WMPBurnState
*
state
)
;
[
propget
]
HRESULT
burnProgress
(
[
out
,
retval
]
long
*
progress
)
;
HRESULT
startBurn
()
;
HRESULT
stopBurn
()
;
HRESULT
erase
()
;
}
[
odl
,
uuid
(
3
df47861
-
7
df1
-
4
c1f
-
a81b
-
4
c26f0f7a7c6
),
oleautomation
]
interface
IWMPLibrary
:
IUnknown
{
[
propget
]
HRESULT
name
(
[
out
,
retval
]
BSTR
*
name
)
;
[
propget
]
HRESULT
type
(
[
out
,
retval
]
WMPLibraryType
*
type
)
;
[
propget
]
HRESULT
mediaCollection
(
[
out
,
retval
]
IWMPMediaCollection
**
collection
)
;
HRESULT
isIdentical
(
[
in
]
IWMPLibrary
*
wmplibrary
,
[
out
,
retval
]
VARIANT_BOOL
*
ret
)
;
}
[
uuid
(
19
a6627b
-
da9e
-
47
c1
-
bb23
-
00b5
e668236a
),
odl
]
interface
IWMPEvents
:
IUnknown
{
void
OpenStateChange
(
[
in
]
long
state
)
;
void
PlayStateChange
(
[
in
]
long
state
)
;
void
AudioLanguageChange
(
[
in
]
long
lang
)
;
void
StatusChange
()
;
void
ScriptCommand
(
[
in
]
BSTR
type
,
[
in
]
BSTR
param
)
;
void
NewStream
()
;
void
Disconnect
(
[
in
]
long
result
)
;
void
Buffering
(
[
in
]
VARIANT_BOOL
start
)
;
void
Error
()
;
void
Warning
(
[
in
]
long
warning
,
[
in
]
long
param
,
[
in
]
BSTR
description
)
;
void
EndOfStream
(
[
in
]
long
result
)
;
void
PositionChange
(
[
in
]
double
old_position
,
[
in
]
double
new_position
)
;
void
MarkerHit
(
[
in
]
long
marker
)
;
void
DurationUnitChange
(
[
in
]
long
duration
)
;
void
CdromMediaChange
(
[
in
]
long
num
)
;
void
PlaylistChange
(
[
in
]
IDispatch
*
playlist
,
[
in
]
WMPPlaylistChangeEventType
change
)
;
void
CurrentPlaylistChange
(
[
in
]
WMPPlaylistChangeEventType
change
)
;
void
CurrentPlaylistItemAvailable
(
[
in
]
BSTR
item
)
;
void
MediaChange
(
[
in
]
IDispatch
*
item
)
;
void
CurrentMediaItemAvailable
(
[
in
]
BSTR
name
)
;
void
CurrentItemChange
(
[
in
]
IDispatch
*
media
)
;
void
MediaCollectionChange
()
;
void
MediaCollectionAttributeStringAdded
(
[
in
]
BSTR
name
,
[
in
]
BSTR
val
)
;
void
MediaCollectionAttributeStringRemoved
(
[
in
]
BSTR
name
,
[
in
]
BSTR
val
)
;
void
MediaCollectionAttributeStringChanged
(
[
in
]
BSTR
name
,
[
in
]
BSTR
old_val
,
[
in
]
BSTR
new_val
)
;
void
PlaylistCollectionChange
()
;
void
PlaylistCollectionPlaylistAdded
(
[
in
]
BSTR
name
)
;
void
PlaylistCollectionPlaylistRemoved
(
[
in
]
BSTR
name
)
;
void
PlaylistCollectionPlaylistSetAsDeleted
(
[
in
]
BSTR
name
,
[
in
]
VARIANT_BOOL
deleted
)
;
void
ModeChange
(
[
in
]
BSTR
ModeName
,
[
in
]
VARIANT_BOOL
value
)
;
void
MediaError
(
[
in
]
IDispatch
*
media
)
;
void
OpenPlaylistSwitch
(
[
in
]
IDispatch
*
item
)
;
void
DomainChange
(
[
in
]
BSTR
domain
)
;
void
SwitchedToPlayerApplication
()
;
void
SwitchedToControl
()
;
void
PlayerDockedStateChange
()
;
void
PlayerReconnect
()
;
void
Click
(
[
in
]
short
button
,
[
in
]
short
shift_state
,
[
in
]
long
x
,
[
in
]
long
y
)
;
void
DoubleClick
(
[
in
]
short
button
,
[
in
]
short
shift_state
,
[
in
]
long
fX
,
[
in
]
long
fY
)
;
void
KeyDown
(
[
in
]
short
keycode
,
[
in
]
short
shift_state
)
;
void
KeyPress
(
[
in
]
short
ascii
)
;
void
KeyUp
(
[
in
]
short
keycode
,
[
in
]
short
shift_state
)
;
void
MouseDown
(
[
in
]
short
button
,
[
in
]
short
nShiftState
,
[
in
]
long
x
,
[
in
]
long
y
)
;
void
MouseMove
(
[
in
]
short
button
,
[
in
]
short
shift_state
,
[
in
]
long
x
,
[
in
]
long
y
)
;
void
MouseUp
(
[
in
]
short
button
,
[
in
]
short
shift_state
,
[
in
]
long
x
,
[
in
]
long
y
)
;
}
[
uuid
(
1
e7601fa
-
47
ea
-
4107
-
9
ea9
-
9004
ed9684ff
),
odl
]
interface
IWMPEvents2
:
IWMPEvents
{
void
DeviceConnect
(
[
in
]
IWMPSyncDevice
*
device
)
;
void
DeviceDisconnect
(
[
in
]
IWMPSyncDevice
*
device
)
;
void
DeviceStatusChange
(
[
in
]
IWMPSyncDevice
*
device
,
[
in
]
WMPDeviceStatus
status
)
;
void
DeviceSyncStateChange
(
[
in
]
IWMPSyncDevice
*
device
,
[
in
]
WMPSyncState
state
)
;
void
DeviceSyncError
(
[
in
]
IWMPSyncDevice
*
device
,
[
in
]
IDispatch
*
media
)
;
void
CreatePartnershipComplete
(
[
in
]
IWMPSyncDevice
*
device
,
[
in
]
HRESULT
result
)
;
}
[
uuid
(
1
f504270
-
a66b
-
4223
-
8
e96
-
26
a06c63d69f
),
odl
]
interface
IWMPEvents3
:
IWMPEvents2
{
void
CdromRipStateChange
(
[
in
]
IWMPCdromRip
*
rip
,
[
in
]
WMPRipState
state
)
;
void
CdromRipMediaError
(
[
in
]
IWMPCdromRip
*
rip
,
[
in
]
IDispatch
*
media
)
;
void
CdromBurnStateChange
(
[
in
]
IWMPCdromBurn
*
burn
,
[
in
]
WMPBurnState
state
)
;
void
CdromBurnMediaError
(
[
in
]
IWMPCdromBurn
*
burn
,
[
in
]
IDispatch
*
media
)
;
void
CdromBurnError
(
[
in
]
IWMPCdromBurn
*
burn
,
[
in
]
HRESULT
error
)
;
void
LibraryConnect
(
[
in
]
IWMPLibrary
*
wmplibrary
)
;
void
LibraryDisconnect
(
[
in
]
IWMPLibrary
*
wmplibrary
)
;
void
FolderScanStateChange
(
[
in
]
WMPFolderScanState
state
)
;
void
StringCollectionChange
(
[
in
]
IDispatch
*
collection
,
[
in
]
WMPStringCollectionChangeEventType
change
,
[
in
]
long
index
)
;
void
MediaCollectionMediaAdded
(
[
in
]
IDispatch
*
media
)
;
void
MediaCollectionMediaRemoved
(
[
in
]
IDispatch
*
media
)
;
}
[
uuid
(
26
dabcfa
-
306b
-404d-9
a6f
-
630
a8405048d
),
odl
]
interface
IWMPEvents4
:
IWMPEvents3
{
void
DeviceEstimation
(
[
in
]
IWMPSyncDevice
*
device
,
[
in
]
HRESULT
result
,
[
in
]
LONGLONG
used_space
,
[
in
]
LONGLONG
estimated_space
)
;
}
[
hidden
,
uuid
(
6b
f52a51
-
394
a
-
11
d3
-
b153
-
00
c04f79faa6
)
]
...
...
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