Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
81aa05ea
Commit
81aa05ea
authored
14 years ago
by
Jacek Caban
Committed by
Alexandre Julliard
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
kernel32: Moved GetProcessImageFileName implementation from psapi to kernel32.
parent
44292573
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/kernel32/kernel32.spec
+2
-0
2 additions, 0 deletions
dlls/kernel32/kernel32.spec
dlls/kernel32/process.c
+17
-0
17 additions, 0 deletions
dlls/kernel32/process.c
dlls/psapi/psapi.spec
+2
-2
2 additions, 2 deletions
dlls/psapi/psapi.spec
dlls/psapi/psapi_main.c
+0
-21
0 additions, 21 deletions
dlls/psapi/psapi_main.c
with
21 additions
and
23 deletions
dlls/kernel32/kernel32.spec
+
2
−
0
View file @
81aa05ea
...
...
@@ -767,6 +767,8 @@
@ stdcall IsValidLocale(long long)
# @ stub IsValidUILanguage
@ stdcall IsWow64Process(ptr ptr)
@ stdcall K32GetProcessImageFileNameA(long ptr long)
@ stdcall K32GetProcessImageFileNameW(long ptr long)
@ stdcall -i386 -private -register K32Thk1632Epilog() krnl386.exe16.K32Thk1632Epilog
@ stdcall -i386 -private -register K32Thk1632Prolog() krnl386.exe16.K32Thk1632Prolog
@ stdcall LCIDToLocaleName(long ptr long long)
...
...
This diff is collapsed.
Click to expand it.
dlls/kernel32/process.c
+
17
−
0
View file @
81aa05ea
...
...
@@ -3438,6 +3438,23 @@ cleanup:
return
!
status
;
}
/***********************************************************************
* K32GetProcessImageFileNameA (KERNEL32.@)
*/
DWORD
WINAPI
K32GetProcessImageFileNameA
(
HANDLE
process
,
LPSTR
file
,
DWORD
size
)
{
FIXME
(
"(%p, %p, %d) stub
\n
"
,
process
,
file
,
size
);
return
0
;
}
/***********************************************************************
* K32GetProcessImageFileNameW (KERNEL32.@)
*/
DWORD
WINAPI
K32GetProcessImageFileNameW
(
HANDLE
process
,
LPWSTR
file
,
DWORD
size
)
{
return
QueryFullProcessImageNameW
(
process
,
PROCESS_NAME_NATIVE
,
file
,
&
size
)
?
size
:
0
;
}
/***********************************************************************
* ProcessIdToSessionId (KERNEL32.@)
* This function is available on Terminal Server 4SP4 and Windows 2000
...
...
This diff is collapsed.
Click to expand it.
dlls/psapi/psapi.spec
+
2
−
2
View file @
81aa05ea
...
...
@@ -16,8 +16,8 @@
@ stdcall GetModuleFileNameExW(long long ptr long)
@ stdcall GetModuleInformation(long long ptr long)
@ stdcall GetPerformanceInfo(ptr long)
@ stdcall GetProcessImageFileNameA(long ptr long)
@ stdcall GetProcessImageFileNameW(long ptr long)
@ stdcall GetProcessImageFileNameA(long ptr long)
kernel32.K32GetProcessImageFileNameA
@ stdcall GetProcessImageFileNameW(long ptr long)
kernel32.K32GetProcessImageFileNameW
@ stdcall GetProcessMemoryInfo(long ptr long)
@ stdcall GetWsChanges(long ptr long)
@ stdcall InitializeProcessForWsWatch(long)
...
...
This diff is collapsed.
Click to expand it.
dlls/psapi/psapi_main.c
+
0
−
21
View file @
81aa05ea
...
...
@@ -493,27 +493,6 @@ BOOL WINAPI GetPerformanceInfo( PPERFORMANCE_INFORMATION info, DWORD size )
return
TRUE
;
}
/***********************************************************************
* GetProcessImageFileNameA (PSAPI.@)
*/
DWORD
WINAPI
GetProcessImageFileNameA
(
HANDLE
process
,
LPSTR
file
,
DWORD
size
)
{
FIXME
(
"(%p, %p, %d) stub
\n
"
,
process
,
file
,
size
);
return
0
;
}
/***********************************************************************
* GetProcessImageFileNameW (PSAPI.@)
*/
DWORD
WINAPI
GetProcessImageFileNameW
(
HANDLE
process
,
LPWSTR
file
,
DWORD
size
)
{
BOOL
success
=
QueryFullProcessImageNameW
(
process
,
PROCESS_NAME_NATIVE
,
file
,
&
size
);
if
(
success
)
return
size
;
else
return
0
;
}
/***********************************************************************
* GetProcessMemoryInfo (PSAPI.@)
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment