kernel32: Add a CheckRemoteDebuggerPresent stub.

This commit is contained in:
Stefan Dösinger 2007-02-16 19:12:06 +01:00 committed by Alexandre Julliard
parent 5e37345b30
commit e90635f5b6
2 changed files with 19 additions and 1 deletions

View File

@ -383,6 +383,24 @@ BOOL WINAPI IsDebuggerPresent(void)
return NtCurrentTeb()->Peb->BeingDebugged; return NtCurrentTeb()->Peb->BeingDebugged;
} }
/***********************************************************************
* CheckRemoteDebuggerPresent (KERNEL32.@)
*
* Allows a process to determine if there is a remote debugger
* attached.
*
* PARAMS
*
* RETURNS
*
* TRUE because it is a stub.
*/
BOOL WINAPI CheckRemoteDebuggerPresent(HANDLE process, PBOOL DebuggerPresent)
{
FIXME("(%p)->(%p): Stub!\n", process, DebuggerPresent);
*DebuggerPresent = FALSE;
return TRUE;
}
/*********************************************************************** /***********************************************************************
* _DebugOutput (KERNEL.328) * _DebugOutput (KERNEL.328)

View File

@ -182,7 +182,7 @@
@ stub ChangeTimerQueueTimer @ stub ChangeTimerQueueTimer
# @ stub CheckNameLegalDOS8Dot3A # @ stub CheckNameLegalDOS8Dot3A
# @ stub CheckNameLegalDOS8Dot3W # @ stub CheckNameLegalDOS8Dot3W
# @ stub CheckRemoteDebuggerPresent @ stdcall CheckRemoteDebuggerPresent(long ptr)
@ stdcall ClearCommBreak(long) @ stdcall ClearCommBreak(long)
@ stdcall ClearCommError(long ptr ptr) @ stdcall ClearCommError(long ptr ptr)
@ stdcall CloseConsoleHandle(long) @ stdcall CloseConsoleHandle(long)