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
1ae309f9
Commit
1ae309f9
authored
Jun 07, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Get rid of some more forward declarations.
parent
4004b25c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
20 deletions
+18
-20
dialog.c
dlls/msi/dialog.c
+18
-20
table.c
dlls/msi/table.c
+0
-0
No files found.
dlls/msi/dialog.c
View file @
1ae309f9
...
...
@@ -153,7 +153,24 @@ static const WCHAR szProperty[] = {'P','r','o','p','e','r','t','y',0};
static
DWORD
uiThreadId
;
static
HWND
hMsiHiddenWindow
;
static
LPWSTR
msi_get_window_text
(
HWND
hwnd
);
static
LPWSTR
msi_get_window_text
(
HWND
hwnd
)
{
UINT
sz
,
r
;
LPWSTR
buf
;
sz
=
0x20
;
buf
=
msi_alloc
(
sz
*
sizeof
(
WCHAR
)
);
while
(
buf
)
{
r
=
GetWindowTextW
(
hwnd
,
buf
,
sz
);
if
(
r
<
(
sz
-
1
)
)
break
;
sz
*=
2
;
buf
=
msi_realloc
(
buf
,
sz
*
sizeof
(
WCHAR
)
);
}
return
buf
;
}
static
INT
msi_dialog_scale_unit
(
msi_dialog
*
dialog
,
INT
val
)
{
...
...
@@ -2044,25 +2061,6 @@ struct msi_pathedit_info
WNDPROC
oldproc
;
};
static
LPWSTR
msi_get_window_text
(
HWND
hwnd
)
{
UINT
sz
,
r
;
LPWSTR
buf
;
sz
=
0x20
;
buf
=
msi_alloc
(
sz
*
sizeof
(
WCHAR
)
);
while
(
buf
)
{
r
=
GetWindowTextW
(
hwnd
,
buf
,
sz
);
if
(
r
<
(
sz
-
1
)
)
break
;
sz
*=
2
;
buf
=
msi_realloc
(
buf
,
sz
*
sizeof
(
WCHAR
)
);
}
return
buf
;
}
static
void
msi_dialog_update_pathedit
(
msi_dialog
*
dialog
,
msi_control
*
control
)
{
LPWSTR
prop
,
path
;
...
...
dlls/msi/table.c
View file @
1ae309f9
This diff is collapsed.
Click to expand it.
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