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
b3854da2
Commit
b3854da2
authored
Oct 21, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep on moving 16 bit code out of winmm, now only using linear
addresses for buffers.
parent
1cf1b5e6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
mmio.c
dlls/winmm/mmio.c
+0
-0
mmsystem.c
dlls/winmm/mmsystem.c
+0
-0
winemm.h
dlls/winmm/winemm.h
+23
-5
No files found.
dlls/winmm/mmio.c
View file @
b3854da2
This diff is collapsed.
Click to expand it.
dlls/winmm/mmsystem.c
View file @
b3854da2
This diff is collapsed.
Click to expand it.
dlls/winmm/winemm.h
View file @
b3854da2
...
...
@@ -146,14 +146,24 @@ typedef struct tagWINE_TIMERENTRY {
struct
tagWINE_TIMERENTRY
*
lpNext
;
}
WINE_TIMERENTRY
,
*
LPWINE_TIMERENTRY
;
enum
mmioProcType
{
MMIO_PROC_16
,
MMIO_PROC_32A
,
MMIO_PROC_32W
};
struct
IOProcList
{
struct
IOProcList
*
pNext
;
/* Next item in linked list */
FOURCC
fourCC
;
/* four-character code identifying IOProc */
LPMMIOPROC
pIOProc
;
/* pointer to IProc */
enum
mmioProcType
type
;
/* 16, 32A or 32W */
int
count
;
/* number of objects linked to it */
};
typedef
struct
tagWINE_MMIO
{
MMIOINFO
info
;
struct
IOProcList
*
ioProc
;
BOOL
bTmpIOProc
;
HANDLE
hMem
;
SEGPTR
buffer16
;
struct
tagWINE_MMIO
*
lpNext
;
BOOL
bBufferLoaded
;
struct
IOProcList
*
ioProc
;
BOOL
bTmpIOProc
:
1
,
bBufferLoaded
:
1
;
SEGPTR
segBuffer16
;
DWORD
dwFileSize
;
}
WINE_MMIO
,
*
LPWINE_MMIO
;
...
...
@@ -186,6 +196,7 @@ typedef struct tagWINE_MM_IDATA {
/* LPWINE_MIXER lpMixer; */
/* mmio part */
LPWINE_MMIO
lpMMIO
;
LRESULT
(
CALLBACK
*
pFnMmioCallback16
)(
SEGPTR
,
LPMMIOINFO
,
UINT
,
LPARAM
,
LPARAM
);
/* playsound and sndPlaySound */
WINE_PLAYSOUND
*
lpPlaySound
;
HANDLE
psLastEvent
;
...
...
@@ -233,6 +244,13 @@ UINT MMSYSTEM_waveOpen(HANDLE* lphndl, UINT uDeviceID
DWORD
dwInstance
,
DWORD
dwFlags
,
BOOL
bFrom32
);
WORD
timeSetEventInternal
(
UINT
wDelay
,
UINT
wResol
,
FARPROC16
lpFunc
,
DWORD
dwUser
,
UINT
wFlags
);
HMMIO
MMIO_Open
(
LPSTR
szFileName
,
MMIOINFO
*
refmminfo
,
DWORD
dwOpenFlags
,
enum
mmioProcType
type
);
LPMMIOPROC
MMIO_InstallIOProc
(
FOURCC
fccIOProc
,
LPMMIOPROC
pIOProc
,
DWORD
dwFlags
,
enum
mmioProcType
type
);
LRESULT
MMIO_SendMessage
(
HMMIO
hmmio
,
UINT
uMessage
,
LPARAM
lParam1
,
LPARAM
lParam2
,
enum
mmioProcType
type
);
LPWINE_MMIO
MMIO_Get
(
LPWINE_MM_IDATA
iData
,
HMMIO
h
);
BOOL
MULTIMEDIA_MciInit
(
void
);
LPWINE_MM_IDATA
MULTIMEDIA_GetIData
(
void
);
...
...
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