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
8463d677
Commit
8463d677
authored
Apr 11, 1999
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 11, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started implementation of mmThreadXXX functions.
parent
a4165aea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
multimedia.h
include/multimedia.h
+23
-3
No files found.
include/multimedia.h
View file @
8463d677
...
...
@@ -43,7 +43,7 @@
#define IOCTL(a,b,c) (c = ioctl(a,b,c))
#endif
struct
WINE_MCIDRIVER
{
typedef
struct
{
HDRVR16
hDrv
;
DRIVERPROC16
driverProc
;
MCI_OPEN_DRIVER_PARMS16
modp
;
...
...
@@ -53,9 +53,27 @@ struct WINE_MCIDRIVER {
DWORD
dwYieldData
;
BOOL
bIs32
;
HTASK16
hCreatorTask
;
};
}
WINE_MCIDRIVER
;
extern
WINE_MCIDRIVER
mciDrv
[
MAXMCIDRIVERS
];
extern
struct
WINE_MCIDRIVER
mciDrv
[
MAXMCIDRIVERS
];
#define WINE_MMTHREAD_CREATED 0x4153494C
/* "BSIL" */
#define WINE_MMTHREAD_DELETED 0xDEADDEAD
typedef
struct
{
DWORD
dwSignature
;
/* 00 "BSIL" when ok, 0xDEADDEAD when being deleted */
DWORD
dwCounter
;
/* 04 */
HANDLE
hThread
;
/* 08 hThread */
DWORD
dwThreadId
;
/* 0C */
FARPROC16
fpThread
;
/* 10 segmented address of thread proc */
DWORD
dwThreadPmt
;
/* 14 parameter to be called upon thread creation */
DWORD
dwUnknown3
;
/* 18 increment interlocked ? */
DWORD
hEvent
;
/* 1C event */
DWORD
dwUnknown5
;
/* 20 */
DWORD
dwStatus
;
/* 24 0, 10, 20, 30 */
DWORD
dwFlags
;
/* 28 dwFlags upon creation */
HANDLE16
hTask
;
/* 2C handle to created task */
}
WINE_MMTHREAD
;
#define MCI_GetDrv(wDevID) (&mciDrv[MCI_DevIDToIndex(wDevID)])
#define MCI_GetOpenDrv(wDevID) (&(MCI_GetDrv(wDevID)->mop))
...
...
@@ -86,6 +104,8 @@ extern int mciInstalledCount;
extern
int
mciInstalledListLen
;
extern
LPSTR
lpmciInstallNames
;
extern
UINT16
MCI_DefYieldProc
(
UINT16
wDevID
,
DWORD
data
);
typedef
struct
{
WORD
uDevType
;
char
*
lpstrName
;
...
...
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