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
75c525c1
Commit
75c525c1
authored
May 18, 2001
by
James Juran
Committed by
Alexandre Julliard
May 18, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure we set dwOSVersionInfoSize before calling GetVersionInfo().
parent
4e5903aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
edit.c
controls/edit.c
+1
-0
imm.c
dlls/imm32/imm.c
+3
-0
No files found.
controls/edit.c
View file @
75c525c1
...
@@ -361,6 +361,7 @@ static DWORD get_app_version(void)
...
@@ -361,6 +361,7 @@ static DWORD get_app_version(void)
OSVERSIONINFOW
info
;
OSVERSIONINFOW
info
;
DWORD
dwProcVersion
=
GetProcessVersion
(
0
);
DWORD
dwProcVersion
=
GetProcessVersion
(
0
);
info
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFOW
);
GetVersionExW
(
&
info
);
GetVersionExW
(
&
info
);
dwEmulatedVersion
=
MAKELONG
(
info
.
dwMinorVersion
,
info
.
dwMajorVersion
);
dwEmulatedVersion
=
MAKELONG
(
info
.
dwMinorVersion
,
info
.
dwMajorVersion
);
/* fixme: this may not be 100% correct; see discussion on the
/* fixme: this may not be 100% correct; see discussion on the
...
...
dlls/imm32/imm.c
View file @
75c525c1
...
@@ -172,6 +172,7 @@ LONG WINAPI ImmGetCompositionStringA(
...
@@ -172,6 +172,7 @@ LONG WINAPI ImmGetCompositionStringA(
hIMC
,
dwIndex
,
lpBuf
,
dwBufLen
hIMC
,
dwIndex
,
lpBuf
,
dwBufLen
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
version
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFOA
);
GetVersionExA
(
&
version
);
GetVersionExA
(
&
version
);
switch
(
version
.
dwPlatformId
)
switch
(
version
.
dwPlatformId
)
{
{
...
@@ -195,6 +196,7 @@ LONG WINAPI ImmGetCompositionStringW(
...
@@ -195,6 +196,7 @@ LONG WINAPI ImmGetCompositionStringW(
hIMC
,
dwIndex
,
lpBuf
,
dwBufLen
hIMC
,
dwIndex
,
lpBuf
,
dwBufLen
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
version
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFOA
);
GetVersionExA
(
&
version
);
GetVersionExA
(
&
version
);
switch
(
version
.
dwPlatformId
)
switch
(
version
.
dwPlatformId
)
{
{
...
@@ -357,6 +359,7 @@ UINT WINAPI ImmGetVirtualKey(HWND hWnd)
...
@@ -357,6 +359,7 @@ UINT WINAPI ImmGetVirtualKey(HWND hWnd)
OSVERSIONINFOA
version
;
OSVERSIONINFOA
version
;
FIXME
(
"(0x%08x): stub
\n
"
,
hWnd
);
FIXME
(
"(0x%08x): stub
\n
"
,
hWnd
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
version
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFOA
);
GetVersionExA
(
&
version
);
GetVersionExA
(
&
version
);
switch
(
version
.
dwPlatformId
)
switch
(
version
.
dwPlatformId
)
{
{
...
...
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