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
12298c5c
Commit
12298c5c
authored
Jun 25, 2000
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return "no debugger attached" in NtQueryInformationProcess to satisfy
some copy protection mechanisms.
parent
9a5b0d4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
nt.c
dlls/ntdll/nt.c
+7
-1
No files found.
dlls/ntdll/nt.c
View file @
12298c5c
...
@@ -97,7 +97,13 @@ NTSTATUS WINAPI NtQueryInformationProcess(
...
@@ -97,7 +97,13 @@ NTSTATUS WINAPI NtQueryInformationProcess(
OUT
PULONG
ReturnLength
)
OUT
PULONG
ReturnLength
)
{
{
FIXME
(
"(0x%08x,0x%08x,%p,0x%08lx,%p),stub!
\n
"
,
FIXME
(
"(0x%08x,0x%08x,%p,0x%08lx,%p),stub!
\n
"
,
ProcessHandle
,
ProcessInformationClass
,
ProcessInformation
,
ProcessInformationLength
,
ReturnLength
);
ProcessHandle
,
ProcessInformationClass
,
ProcessInformation
,
ProcessInformationLength
,
ReturnLength
);
/* "These are not the debuggers you are looking for." */
if
(
ProcessInformationClass
==
ProcessDebugPort
)
/* set it to 0 aka "no debugger" to satisfy copy protections */
memset
(
ProcessInformation
,
0
,
ProcessInformationLength
);
return
0
;
return
0
;
}
}
...
...
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