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
35583201
Commit
35583201
authored
Dec 17, 2004
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GetTempPath*() uses DWORD parameters instead of UINT.
parent
dcb25230
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
path.c
dlls/kernel/path.c
+3
-3
winbase.h
include/winbase.h
+2
-2
No files found.
dlls/kernel/path.c
View file @
35583201
...
...
@@ -550,7 +550,7 @@ DWORD WINAPI GetShortPathNameA( LPCSTR longpath, LPSTR shortpath, DWORD shortlen
/***********************************************************************
* GetTempPathA (KERNEL32.@)
*/
UINT
WINAPI
GetTempPathA
(
UINT
count
,
LPSTR
path
)
DWORD
WINAPI
GetTempPathA
(
DWORD
count
,
LPSTR
path
)
{
WCHAR
pathW
[
MAX_PATH
];
UINT
ret
;
...
...
@@ -572,14 +572,14 @@ UINT WINAPI GetTempPathA( UINT count, LPSTR path )
/***********************************************************************
* GetTempPathW (KERNEL32.@)
*/
UINT
WINAPI
GetTempPathW
(
UINT
count
,
LPWSTR
path
)
DWORD
WINAPI
GetTempPathW
(
DWORD
count
,
LPWSTR
path
)
{
static
const
WCHAR
tmp
[]
=
{
'T'
,
'M'
,
'P'
,
0
};
static
const
WCHAR
temp
[]
=
{
'T'
,
'E'
,
'M'
,
'P'
,
0
};
WCHAR
tmp_path
[
MAX_PATH
];
UINT
ret
;
TRACE
(
"%u,%p
\n
"
,
count
,
path
);
TRACE
(
"%
l
u,%p
\n
"
,
count
,
path
);
if
(
!
(
ret
=
GetEnvironmentVariableW
(
tmp
,
tmp_path
,
MAX_PATH
)))
if
(
!
(
ret
=
GetEnvironmentVariableW
(
temp
,
tmp_path
,
MAX_PATH
)))
...
...
include/winbase.h
View file @
35583201
...
...
@@ -1809,8 +1809,8 @@ DWORD WINAPI GetTickCount(void);
UINT
WINAPI
GetTempFileNameA
(
LPCSTR
,
LPCSTR
,
UINT
,
LPSTR
);
UINT
WINAPI
GetTempFileNameW
(
LPCWSTR
,
LPCWSTR
,
UINT
,
LPWSTR
);
#define GetTempFileName WINELIB_NAME_AW(GetTempFileName)
UINT
WINAPI
GetTempPathA
(
UINT
,
LPSTR
);
UINT
WINAPI
GetTempPathW
(
UINT
,
LPWSTR
);
DWORD
WINAPI
GetTempPathA
(
DWORD
,
LPSTR
);
DWORD
WINAPI
GetTempPathW
(
DWORD
,
LPWSTR
);
#define GetTempPath WINELIB_NAME_AW(GetTempPath)
DWORD
WINAPI
GetVersion
(
void
);
BOOL
WINAPI
GetVersionExA
(
OSVERSIONINFOA
*
);
...
...
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