Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9d09e699
Commit
9d09e699
authored
Jan 18, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Get rid of the no longer used is_current_process function.
parent
02e2fa77
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+0
-2
virtual.c
dlls/ntdll/virtual.c
+0
-21
No files found.
dlls/ntdll/ntdll_misc.h
View file @
9d09e699
...
...
@@ -120,8 +120,6 @@ extern NTSTATUS VIRTUAL_HandleFault(LPCVOID addr);
extern
void
VIRTUAL_SetForceExec
(
BOOL
enable
);
extern
void
VIRTUAL_UseLargeAddressSpace
(
void
);
extern
BOOL
is_current_process
(
HANDLE
handle
);
/* code pages */
extern
int
ntdll_umbstowcs
(
DWORD
flags
,
const
char
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
);
extern
int
ntdll_wcstoumbs
(
DWORD
flags
,
const
WCHAR
*
src
,
int
srclen
,
char
*
dst
,
int
dstlen
,
...
...
dlls/ntdll/virtual.c
View file @
9d09e699
...
...
@@ -1212,27 +1212,6 @@ static NTSTATUS map_image( HANDLE hmapping, int fd, char *base, SIZE_T total_siz
/***********************************************************************
* is_current_process
*
* Check whether a process handle is for the current process.
*/
BOOL
is_current_process
(
HANDLE
handle
)
{
BOOL
ret
=
FALSE
;
if
(
handle
==
NtCurrentProcess
())
return
TRUE
;
SERVER_START_REQ
(
get_process_info
)
{
req
->
handle
=
handle
;
if
(
!
wine_server_call
(
req
))
ret
=
((
DWORD
)
reply
->
pid
==
GetCurrentProcessId
());
}
SERVER_END_REQ
;
return
ret
;
}
/***********************************************************************
* virtual_init
*/
void
virtual_init
(
void
)
...
...
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