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
03ab4bea
Commit
03ab4bea
authored
Aug 12, 2012
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32: In format chosse dialog, get rid of static variables, and store…
msacm32: In format chosse dialog, get rid of static variables, and store information as a property of dialog.
parent
ca3afdc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
format.c
dlls/msacm32/format.c
+7
-5
No files found.
dlls/msacm32/format.c
View file @
03ab4bea
...
...
@@ -39,8 +39,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msacm
);
static
PACMFORMATCHOOSEA
afc
;
struct
MSACM_FillFormatData
{
HWND
hWnd
;
#define WINE_ACMFF_TAG 0
...
...
@@ -195,20 +193,24 @@ static MMRESULT MSACM_GetWFX(HWND hWnd, PACMFORMATCHOOSEA afc)
return
affd
.
ret
;
}
static
const
char
*
fmt_prop
=
"acmprop"
;
static
INT_PTR
CALLBACK
FormatChooseDlgProc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
WPARAM
wParam
,
LPARAM
lParam
)
{
PACMFORMATCHOOSEA
afc
=
(
PACMFORMATCHOOSEA
)
GetPropA
(
hWnd
,
fmt_prop
);
TRACE
(
"hwnd=%p msg=%i 0x%08lx 0x%08lx
\n
"
,
hWnd
,
msg
,
wParam
,
lParam
);
TRACE
(
"hwnd=%p msg=%i 0x%08lx 0x%08lx
\n
"
,
hWnd
,
msg
,
wParam
,
lParam
);
switch
(
msg
)
{
case
WM_INITDIALOG
:
afc
=
(
PACMFORMATCHOOSEA
)
lParam
;
SetPropA
(
hWnd
,
fmt_prop
,
(
HANDLE
)
afc
);
MSACM_FillFormatTags
(
hWnd
);
MSACM_FillFormat
(
hWnd
);
if
((
afc
->
fdwStyle
&
~
(
ACMFORMATCHOOSE_STYLEF_CONTEXTHELP
|
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
!=
0
)
FIXME
(
"Unsupported style %08x
\n
"
,
((
PACMFORMATCHOOSEA
)
lParam
)
->
fdwStyle
);
FIXME
(
"Unsupported style %08x
\n
"
,
afc
->
fdwStyle
);
if
(
!
(
afc
->
fdwStyle
&
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
ShowWindow
(
GetDlgItem
(
hWnd
,
IDD_ACMFORMATCHOOSE_BTN_HELP
),
SW_HIDE
);
return
TRUE
;
...
...
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