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
f8fe366b
Commit
f8fe366b
authored
Mar 19, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 19, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed segmented/linear buffers manipulation.
Better IO buffering. Added some missing prototypes.
parent
98f86fcd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
14 deletions
+26
-14
mmio.c
dlls/winmm/mmio.c
+0
-0
mmsystem.spec
dlls/winmm/mmsystem.spec
+3
-3
winemm.h
dlls/winmm/winemm.h
+14
-3
winmm.spec
dlls/winmm/winmm.spec
+1
-1
mmsystem.h
include/mmsystem.h
+8
-7
No files found.
dlls/winmm/mmio.c
View file @
f8fe366b
This diff is collapsed.
Click to expand it.
dlls/winmm/mmsystem.spec
View file @
f8fe366b
...
...
@@ -156,13 +156,13 @@ type win16
1214 pascal mmioSeek(word long word) mmioSeek16
1215 pascal mmioGetInfo(word ptr word) mmioGetInfo16
1216 pascal mmioSetInfo(word ptr word) mmioSetInfo16
1217 pascal mmioSetBuffer(word ptr long word) mmioSetBuffer16
1217 pascal mmioSetBuffer(word
seg
ptr long word) mmioSetBuffer16
1218 pascal mmioFlush(word word) mmioFlush16
1219 pascal mmioAdvance(word ptr word) mmioAdvance16
1220 pascal mmioStringToFOURCC(str word) mmioStringToFOURCC16
1221 pascal mmioInstallIOProc(long ptr long) mmioInstallIOProc16
1222 pascal mmioSendMessage(word word long long) mmioSendMessage
1223 pascal mmioDescend(word ptr ptr word) mmioDescend
1222 pascal mmioSendMessage(word word long long) mmioSendMessage
16
1223 pascal mmioDescend(word ptr ptr word) mmioDescend
16
1224 pascal mmioAscend(word ptr word) mmioAscend16
1225 pascal mmioCreateChunk(word ptr word) mmioCreateChunk16
1226 pascal mmioRename(ptr ptr ptr long) mmioRename16
...
...
dlls/winmm/winemm.h
View file @
f8fe366b
...
...
@@ -44,7 +44,7 @@ typedef struct {
extern
BOOL
MMDRV_Init
(
void
);
extern
UINT
MMDRV_GetNum
(
UINT
);
extern
LPWINE_MLD
MMDRV_Alloc
(
UINT
size
,
UINT
type
,
LPHANDLE
hndl
,
DWORD
*
dwFlags
,
DWORD
*
dwCallback
,
DWORD
*
dwInstance
,
BOOL
bFrom32
);
DWORD
*
dwCallback
,
DWORD
*
dwInstance
,
BOOL
bFrom32
);
extern
void
MMDRV_Free
(
HANDLE
hndl
,
LPWINE_MLD
mld
);
extern
DWORD
MMDRV_Open
(
LPWINE_MLD
mld
,
UINT
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
);
extern
DWORD
MMDRV_Close
(
LPWINE_MLD
mld
,
UINT
wMsg
);
...
...
@@ -99,7 +99,7 @@ typedef struct tagWINE_MCIDRIVER {
#define WINE_TIMER_IS32 0x80
typedef
struct
tagTIMERENTRY
{
typedef
struct
tag
WINE_
TIMERENTRY
{
UINT
wDelay
;
UINT
wResol
;
FARPROC16
lpFunc
;
...
...
@@ -107,9 +107,18 @@ typedef struct tagTIMERENTRY {
UINT16
wFlags
;
UINT16
wTimerID
;
UINT
uCurTime
;
struct
tagTIMERENTRY
*
lpNext
;
struct
tag
WINE_
TIMERENTRY
*
lpNext
;
}
WINE_TIMERENTRY
,
*
LPWINE_TIMERENTRY
;
typedef
struct
tagWINE_MMIO
{
MMIOINFO
info
;
struct
IOProcList
*
ioProc
;
BOOL
bTmpIOProc
;
HANDLE
hMem
;
SEGPTR
buffer16
;
struct
tagWINE_MMIO
*
lpNext
;
}
WINE_MMIO
,
*
LPWINE_MMIO
;
typedef
struct
tagWINE_MM_IDATA
{
/* iData reference */
DWORD
dwThisProcess
;
...
...
@@ -131,6 +140,8 @@ typedef struct tagWINE_MM_IDATA {
/* LPWINE_WAVE lpWave; */
/* LPWINE_MIDI lpMidi; */
/* LPWINE_MIXER lpMixer; */
/* mmio part */
LPWINE_MMIO
lpMMIO
;
}
WINE_MM_IDATA
,
*
LPWINE_MM_IDATA
;
/* function prototypes */
...
...
dlls/winmm/winmm.spec
View file @
f8fe366b
...
...
@@ -126,7 +126,7 @@ rsrc winmm
@ stdcall mmioGetInfo(long ptr long) mmioGetInfo
@ stub mmioInstallIOProc16
@ stdcall mmioInstallIOProcA(long ptr long) mmioInstallIOProcA
@ st
ub
mmioInstallIOProcW
@ st
dcall mmioInstallIOProcW(long ptr long)
mmioInstallIOProcW
@ stdcall mmioOpenA(str ptr long) mmioOpenA
@ stdcall mmioOpenW(wstr ptr long) mmioOpenW
@ stdcall mmioRead(long ptr long) mmioRead
...
...
include/mmsystem.h
View file @
f8fe366b
...
...
@@ -1498,7 +1498,7 @@ typedef struct {
FOURCC
fccIOProc
;
/* pointer to I/O procedure */
LPMMIOPROC16
pIOProc
;
/* pointer to I/O procedure */
UINT16
wErrorRet
;
/* place for error to be returned */
HTASK16
h
t
ask
;
/* alternate local task */
HTASK16
h
T
ask
;
/* alternate local task */
/* fields maintained by MMIO functions during buffered I/O */
LONG
cchBuffer
;
/* size of I/O buffer (or 0L) */
HPSTR
pchBuffer
;
/* start of I/O buffer (or NULL) */
...
...
@@ -1520,7 +1520,7 @@ typedef struct {
FOURCC
fccIOProc
;
LPMMIOPROC
pIOProc
;
UINT
wErrorRet
;
HTASK
h
t
ask
;
HTASK
h
T
ask
;
/* fields maintained by MMIO functions during buffered I/O */
LONG
cchBuffer
;
HPSTR
pchBuffer
;
...
...
@@ -1618,8 +1618,8 @@ FOURCC WINAPI mmioStringToFOURCC16(LPCSTR,UINT16);
FOURCC
WINAPI
mmioStringToFOURCCA
(
LPCSTR
,
UINT
);
FOURCC
WINAPI
mmioStringToFOURCCW
(
LPCWSTR
,
UINT
);
#define mmioStringToFOURCC WINELIB_NAME_AW(mmioStringToFOURCC)
HMMIO16
WINAPI
mmioOpen16
(
LPSTR
,
MMIOINFO16
*
,
DWORD
);
HMMIO
WINAPI
mmioOpenA
(
LPSTR
,
MMIOINFO
*
,
DWORD
);
HMMIO16
WINAPI
mmioOpen16
(
LPSTR
,
MMIOINFO16
*
,
DWORD
);
HMMIO
WINAPI
mmioOpenA
(
LPSTR
,
MMIOINFO
*
,
DWORD
);
HMMIO
WINAPI
mmioOpenW
(
LPWSTR
,
MMIOINFO
*
,
DWORD
);
#define mmioOpen WINELIB_NAME_AW(mmioOpen)
...
...
@@ -1649,9 +1649,10 @@ UINT16 WINAPI mmioFlush16(HMMIO16,UINT16);
UINT
WINAPI
mmioFlush
(
HMMIO
,
UINT
);
UINT16
WINAPI
mmioAdvance16
(
HMMIO16
,
MMIOINFO16
*
,
UINT16
);
UINT
WINAPI
mmioAdvance
(
HMMIO
,
MMIOINFO
*
,
UINT
);
LONG
WINAPI
mmioSendMessage
(
HMMIO16
,
UINT16
,
LPARAM
,
LPARAM
);
UINT16
WINAPI
mmioDescend
(
HMMIO16
,
MMCKINFO
*
,
const
MMCKINFO
*
,
UINT16
);
LONG
WINAPI
mmioSendMessage16
(
HMMIO16
,
UINT16
,
LPARAM
,
LPARAM
);
LONG
WINAPI
mmioSendMessage
(
HMMIO
,
UINT
,
LPARAM
,
LPARAM
);
UINT16
WINAPI
mmioDescend16
(
HMMIO16
,
MMCKINFO
*
,
const
MMCKINFO
*
,
UINT16
);
UINT
WINAPI
mmioDescend
(
HMMIO
,
MMCKINFO
*
,
const
MMCKINFO
*
,
UINT
);
UINT16
WINAPI
mmioAscend16
(
HMMIO16
,
MMCKINFO
*
,
UINT16
);
UINT
WINAPI
mmioAscend
(
HMMIO
,
MMCKINFO
*
,
UINT
);
UINT16
WINAPI
mmioCreateChunk16
(
HMMIO16
,
MMCKINFO
*
,
UINT16
);
...
...
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