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
60742b04
Commit
60742b04
authored
Feb 14, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed PROCESS_GetPtr.
parent
3db8e19d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
14 deletions
+4
-14
process.h
include/process.h
+0
-1
handle.c
scheduler/handle.c
+4
-2
process.c
scheduler/process.c
+0
-11
No files found.
include/process.h
View file @
60742b04
...
...
@@ -153,7 +153,6 @@ extern BOOL32 PROCESS_Init( void );
extern
PDB32
*
PROCESS_Current
(
void
);
extern
BOOL32
PROCESS_IsCurrent
(
HANDLE32
handle
);
extern
PDB32
*
PROCESS_Initial
(
void
);
extern
PDB32
*
PROCESS_GetPtr
(
HANDLE32
handle
,
DWORD
access
,
int
*
server_handle
);
extern
PDB32
*
PROCESS_IdToPDB
(
DWORD
id
);
extern
PDB32
*
PROCESS_Create
(
struct
_NE_MODULE
*
pModule
,
LPCSTR
cmd_line
,
LPCSTR
env
,
HINSTANCE16
hInstance
,
...
...
scheduler/handle.c
View file @
60742b04
...
...
@@ -374,7 +374,8 @@ BOOL32 WINAPI DuplicateHandle( HANDLE32 source_process, HANDLE32 source,
SYSTEM_LOCK
();
if
(
!
(
src_pdb
=
PROCESS_GetPtr
(
source_process
,
PROCESS_DUP_HANDLE
,
&
src_process
)))
if
(
!
(
src_pdb
=
(
PDB32
*
)
HANDLE_GetObjPtr
(
PROCESS_Current
(),
source_process
,
K32OBJ_PROCESS
,
PROCESS_DUP_HANDLE
,
&
src_process
)))
goto
done
;
if
(
!
(
obj
=
HANDLE_GetObjPtr
(
src_pdb
,
source
,
K32OBJ_UNKNOWN
,
0
,
&
src_handle
)))
goto
done
;
...
...
@@ -388,7 +389,8 @@ BOOL32 WINAPI DuplicateHandle( HANDLE32 source_process, HANDLE32 source,
/* And duplicate the handle in the dest process */
if
(
!
(
dst_pdb
=
PROCESS_GetPtr
(
dest_process
,
PROCESS_DUP_HANDLE
,
&
dst_process
)))
if
(
!
(
dst_pdb
=
(
PDB32
*
)
HANDLE_GetObjPtr
(
PROCESS_Current
(),
dest_process
,
K32OBJ_PROCESS
,
PROCESS_DUP_HANDLE
,
&
dst_process
)))
goto
done
;
if
((
src_process
!=
-
1
)
&&
(
src_handle
!=
-
1
)
&&
(
dst_process
!=
-
1
))
...
...
scheduler/process.c
View file @
60742b04
...
...
@@ -56,17 +56,6 @@ PDB32 *PROCESS_Initial(void)
}
/***********************************************************************
* PROCESS_GetPtr
*
* Get a process from a handle, incrementing the PDB refcount.
*/
PDB32
*
PROCESS_GetPtr
(
HANDLE32
handle
,
DWORD
access
,
int
*
server_handle
)
{
return
(
PDB32
*
)
HANDLE_GetObjPtr
(
PROCESS_Current
(),
handle
,
K32OBJ_PROCESS
,
access
,
server_handle
);
}
/***********************************************************************
* PROCESS_QueryInfo
*
* Retrieve information about a process
...
...
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