Commit 3ae44f72 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Added GetProcessId.

parent 25b74d2c
......@@ -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)
......
......@@ -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
......
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment