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
71a69dd8
Commit
71a69dd8
authored
Jun 06, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Make some pointer casts win64 compliant.
parent
ce238a40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
audio.c
programs/winecfg/audio.c
+7
-7
No files found.
programs/winecfg/audio.c
View file @
71a69dd8
...
...
@@ -118,7 +118,7 @@ static void configureAudioDriver(HWND hDlg)
dci
.
dwDCISize
=
sizeof
(
dci
);
dci
.
lpszDCISectionName
=
NULL
;
dci
.
lpszDCIAliasName
=
NULL
;
lRes
=
SendDriverMessage
(
hdrvr
,
DRV_CONFIGURE
,
0
,
(
LONG
)
&
dci
);
lRes
=
SendDriverMessage
(
hdrvr
,
DRV_CONFIGURE
,
0
,
(
LONG
_PTR
)
&
dci
);
}
CloseDriver
(
hdrvr
,
0
,
0
);
}
...
...
@@ -318,7 +318,7 @@ static void initAudioDeviceTree(HWND hDlg)
WAVEOUTCAPSW
caps
;
char
szPname
[
MAXPNAMELEN
];
wodMessagePtr
(
j
,
WODM_GETDEVCAPS
,
0
,
(
DWORD
)
&
caps
,
sizeof
(
caps
));
wodMessagePtr
(
j
,
WODM_GETDEVCAPS
,
0
,
(
DWORD
_PTR
)
&
caps
,
sizeof
(
caps
));
WideCharToMultiByte
(
CP_ACP
,
0
,
caps
.
szPname
,
-
1
,
szPname
,
MAXPNAMELEN
,
0
,
0
);
insert
.
hParent
=
type
;
...
...
@@ -344,7 +344,7 @@ static void initAudioDeviceTree(HWND hDlg)
WAVEINCAPSW
caps
;
char
szPname
[
MAXPNAMELEN
];
widMessagePtr
(
j
,
WIDM_GETDEVCAPS
,
0
,
(
DWORD
)
&
caps
,
sizeof
(
caps
));
widMessagePtr
(
j
,
WIDM_GETDEVCAPS
,
0
,
(
DWORD
_PTR
)
&
caps
,
sizeof
(
caps
));
WideCharToMultiByte
(
CP_ACP
,
0
,
caps
.
szPname
,
-
1
,
szPname
,
MAXPNAMELEN
,
0
,
0
);
insert
.
hParent
=
type
;
...
...
@@ -370,7 +370,7 @@ static void initAudioDeviceTree(HWND hDlg)
MIDIOUTCAPSW
caps
;
char
szPname
[
MAXPNAMELEN
];
modMessagePtr
(
j
,
MODM_GETDEVCAPS
,
0
,
(
DWORD
)
&
caps
,
sizeof
(
caps
));
modMessagePtr
(
j
,
MODM_GETDEVCAPS
,
0
,
(
DWORD
_PTR
)
&
caps
,
sizeof
(
caps
));
WideCharToMultiByte
(
CP_ACP
,
0
,
caps
.
szPname
,
-
1
,
szPname
,
MAXPNAMELEN
,
0
,
0
);
insert
.
hParent
=
type
;
...
...
@@ -396,7 +396,7 @@ static void initAudioDeviceTree(HWND hDlg)
MIDIINCAPSW
caps
;
char
szPname
[
MAXPNAMELEN
];
midMessagePtr
(
j
,
MIDM_GETDEVCAPS
,
0
,
(
DWORD
)
&
caps
,
sizeof
(
caps
));
midMessagePtr
(
j
,
MIDM_GETDEVCAPS
,
0
,
(
DWORD
_PTR
)
&
caps
,
sizeof
(
caps
));
WideCharToMultiByte
(
CP_ACP
,
0
,
caps
.
szPname
,
-
1
,
szPname
,
MAXPNAMELEN
,
0
,
0
);
insert
.
hParent
=
type
;
...
...
@@ -422,7 +422,7 @@ static void initAudioDeviceTree(HWND hDlg)
AUXCAPSW
caps
;
char
szPname
[
MAXPNAMELEN
];
auxMessagePtr
(
j
,
AUXDM_GETDEVCAPS
,
0
,
(
DWORD
)
&
caps
,
sizeof
(
caps
));
auxMessagePtr
(
j
,
AUXDM_GETDEVCAPS
,
0
,
(
DWORD
_PTR
)
&
caps
,
sizeof
(
caps
));
WideCharToMultiByte
(
CP_ACP
,
0
,
caps
.
szPname
,
-
1
,
szPname
,
MAXPNAMELEN
,
0
,
0
);
insert
.
hParent
=
type
;
...
...
@@ -448,7 +448,7 @@ static void initAudioDeviceTree(HWND hDlg)
MIXERCAPSW
caps
;
char
szPname
[
MAXPNAMELEN
];
mxdMessagePtr
(
j
,
MXDM_GETDEVCAPS
,
0
,
(
DWORD
)
&
caps
,
sizeof
(
caps
));
mxdMessagePtr
(
j
,
MXDM_GETDEVCAPS
,
0
,
(
DWORD
_PTR
)
&
caps
,
sizeof
(
caps
));
WideCharToMultiByte
(
CP_ACP
,
0
,
caps
.
szPname
,
-
1
,
szPname
,
MAXPNAMELEN
,
0
,
0
);
insert
.
hParent
=
type
;
...
...
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