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
3ae44f72
Commit
3ae44f72
authored
Aug 24, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Aug 24, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added GetProcessId.
parent
25b74d2c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
kernel32.spec
dlls/kernel/kernel32.spec
+1
-0
krnl386.exe.spec
dlls/kernel/krnl386.exe.spec
+1
-1
process.c
dlls/kernel/process.c
+2
-1
winbase.h
include/winbase.h
+1
-1
No files found.
dlls/kernel/kernel32.spec
View file @
3ae44f72
...
...
@@ -1092,6 +1092,7 @@
@ stdcall FindActCtxSectionStringA(long ptr long str ptr)
@ stdcall FindActCtxSectionStringW(long ptr long wstr ptr)
@ stdcall GetCurrentActCtx(ptr)
@ stdcall GetProcessId(long)
@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr)
@ stdcall ReleaseActCtx(ptr)
@ stdcall ZombifyActCtx(ptr)
...
...
dlls/kernel/krnl386.exe.spec
View file @
3ae44f72
...
...
@@ -385,7 +385,7 @@
480 pascal -ret16 _EnterWin16Lock() _EnterWin16Lock
481 pascal -ret16 _LeaveWin16Lock() _LeaveWin16Lock
482 pascal LoadSystemLibrary32(str) LoadLibrary32_16 # FIXME!
483 pascal MapProcessHandle(long)
MapProcessHandle
483 pascal MapProcessHandle(long)
GetProcessId
484 pascal SetProcessDword(long s_word long) SetProcessDword
485 pascal GetProcessDword(long s_word) GetProcessDword
486 pascal FreeLibrary32(long) FreeLibrary
...
...
dlls/kernel/process.c
View file @
3ae44f72
...
...
@@ -2399,8 +2399,9 @@ HANDLE WINAPI OpenProcess( DWORD access, BOOL inherit, DWORD id )
/*********************************************************************
* MapProcessHandle (KERNEL.483)
* GetProcessId (KERNEL32.@)
*/
DWORD
WINAPI
MapProcessHandle
(
HANDLE
hProcess
)
DWORD
WINAPI
GetProcessId
(
HANDLE
hProcess
)
{
NTSTATUS
status
;
PROCESS_BASIC_INFORMATION
pbi
;
...
...
include/winbase.h
View file @
3ae44f72
...
...
@@ -1415,6 +1415,7 @@ BOOL WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD);
BOOL
WINAPI
GetOldestEventLogRecord
(
HANDLE
,
PDWORD
);
DWORD
WINAPI
GetPriorityClass
(
HANDLE
);
BOOL
WINAPI
GetProcessAffinityMask
(
HANDLE
,
PDWORD
,
PDWORD
);
DWORD
WINAPI
GetProcessId
(
HANDLE
);
BOOL
WINAPI
GetProcessIoCounters
(
HANDLE
,
PIO_COUNTERS
);
BOOL
WINAPI
GetProcessPriorityBoost
(
HANDLE
,
PBOOL
);
BOOL
WINAPI
GetProcessShutdownParameters
(
LPDWORD
,
LPDWORD
);
...
...
@@ -1977,7 +1978,6 @@ HANDLE WINAPI DosFileHandleToWin32Handle(HFILE);
DWORD
WINAPI
GetProcessDword
(
DWORD
,
INT
);
VOID
WINAPI
GetpWin16Lock
(
SYSLEVEL
**
);
DWORD
WINAPI
MapLS
(
LPCVOID
);
DWORD
WINAPI
MapProcessHandle
(
HANDLE
);
LPVOID
WINAPI
MapSL
(
DWORD
);
VOID
WINAPI
ReleaseThunkLock
(
DWORD
*
);
VOID
WINAPI
RestoreThunkLock
(
DWORD
);
...
...
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