Changeset 3793 for trunk/src


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

Added the IsDebuggerPresent API.

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/KERNEL32.DEF

    r3746 r3793  
    1 ; $Id: KERNEL32.DEF,v 1.82 2000-06-23 19:02:36 sandervl Exp $
     1; $Id: KERNEL32.DEF,v 1.83 2000-07-03 11:20:53 bird Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    592592;   IsLSCallback               = _IsLSCallback@??            @486       ;W95
    593593;   IsSLCallback               = _IsSLCallback@??            @487       ;W95
    594 ;   IsDebuggerPresent          = _IsDebuggerPresent@??                  ;NT
     594    IsDebuggerPresent          = _IsDebuggerPresent@0        @889      ;NT/98
    595595;   IsProcessorFeaturePresent  = _IsProcessorFeaturePresent@??          ;NT
    596596    IsValidCodePage            = _IsValidCodePage@4          @488
     
    956956    lstrncmpiW                 = _lstrncmpiW@12              @888
    957957
     958;
     959; First free ordinal is 890
     960;
     961
     962
     963
    958964; ----------------------------------------------------------------------------
    959965;   KERNEL32 / WINE support functions that do not exist in real Win32
  • 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.