Ignore:
Timestamp:
Jul 3, 2000, 1:20:53 PM (25 years ago)
Author:
bird
Message:

Added the IsDebuggerPresent API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/debug.cpp

    r2802 r3793  
    1 /* $Id: debug.cpp,v 1.2 2000-02-16 14:25:38 sandervl Exp $ */
     1/* $Id: debug.cpp,v 1.3 2000-07-03 11:20:52 bird Exp $ */
    22
    33/*
     
    7676//******************************************************************************
    7777//******************************************************************************
     78
     79/**
     80 * Query if the calling process is running under the context of a debugger.
     81 * @returns     TRUE (non-zero)     Debugged.
     82 *              FALSE               Not debugged.
     83 * @status      STUB
     84 * @author      knut st. osmundsen (knut.stange.osmundsen@mynd.no)
     85 * @remark      An application could use this API to determin whether or not it is
     86 *              being debugged, so that it can change behaviour and for example
     87 *              provide more debug information using functions like OutputDebugString.
     88 */
     89BOOL WIN32API IsDebuggerPresent(VOID)
     90{
     91    dprintf(("KERNEL32:  IsDebuggerPresent() -> FALSE\n"));
     92    return FALSE;
     93}
Note: See TracChangeset for help on using the changeset viewer.