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
28237782
Commit
28237782
authored
Jan 04, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more MIDI messages 16<=>32 mapping.
Fixes some bugs in buffers handling and index for MAPPER.
parent
20fede7f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
lolvldrv.c
dlls/winmm/lolvldrv.c
+0
-0
mmsystem.c
dlls/winmm/mmsystem.c
+1
-2
mmsystem.h
include/mmsystem.h
+3
-3
No files found.
dlls/winmm/lolvldrv.c
View file @
28237782
This diff is collapsed.
Click to expand it.
dlls/winmm/mmsystem.c
View file @
28237782
...
...
@@ -2202,14 +2202,13 @@ UINT16 WINAPI midiOutPrepareHeader16(HMIDIOUT16 hMidiOut,
UINT16
uSize
)
{
LPWINE_MLD
wmld
;
LPMIDIHDR16
lpMidiOutHdr
=
PTR_SEG_TO_LIN
(
lpsegMidiOutHdr
);
TRACE
(
"(%04X, %p, %d)
\n
"
,
hMidiOut
,
lpsegMidiOutHdr
,
uSize
);
if
((
wmld
=
MMDRV_Get
(
hMidiOut
,
MMDRV_MIDIOUT
,
FALSE
))
==
NULL
)
return
MMSYSERR_INVALHANDLE
;
return
MMDRV_Message
(
wmld
,
MODM_PREPARE
,
(
DWORD
)
lpMidiOutHdr
,
uSize
,
FALSE
);
return
MMDRV_Message
(
wmld
,
MODM_PREPARE
,
(
DWORD
)
lp
seg
MidiOutHdr
,
uSize
,
FALSE
);
}
/**************************************************************************
...
...
include/mmsystem.h
View file @
28237782
...
...
@@ -561,20 +561,20 @@ typedef struct {
DECL_WINELIB_TYPE_AW
(
MIDIINCAPS
)
DECL_WINELIB_TYPE_AW
(
LPMIDIINCAPS
)
typedef
struct
{
typedef
struct
midihdr16_tag
{
LPSTR
lpData
;
/* pointer to locked data block */
DWORD
dwBufferLength
;
/* length of data in data block */
DWORD
dwBytesRecorded
;
/* used for input only */
DWORD
dwUser
;
/* for client's use */
DWORD
dwFlags
;
/* assorted flags (see defines) */
struct
midihdr_tag
*
lpNext
;
/* reserved for driver */
struct
midihdr
16
_tag
*
lpNext
;
/* reserved for driver */
DWORD
reserved
;
/* reserved for driver */
}
MIDIHDR16
,
*
LPMIDIHDR16
;
/* It seems that Win32 has a slightly different structure than Win 16.
* sigh....
*/
typedef
struct
{
typedef
struct
midihdr_tag
{
LPSTR
lpData
;
/* pointer to locked data block */
DWORD
dwBufferLength
;
/* length of data in data block */
DWORD
dwBytesRecorded
;
/* used for input only */
...
...
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