Ignore:
Timestamp:
Nov 9, 1999, 10:31:14 AM (26 years ago)
Author:
phaller
Message:

Add: new functions implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/ntdll.cpp

    r557 r1653  
    1 /* $Id: ntdll.cpp,v 1.2 1999-08-18 21:45:13 phaller Exp $ */
     1/* $Id: ntdll.cpp,v 1.3 1999-11-09 09:30:20 phaller Exp $ */
    22
    33/*
     
    5151
    5252
     53/*****************************************************************************
     54 * Name      : DbgPrint
     55 * Purpose   : print a debug line to somewhere?
     56 * Parameters:
     57 * Variables :
     58 * Result    :
     59 * Remark    : NTDLL.21
     60 * Status    : UNTESTED STUB
     61 *
     62 * Author    : Patrick Haller [Tue, 1999/06/01 09:00]
     63 *****************************************************************************/
     64void __cdecl DbgPrint(LPCSTR lpcstrFormat,LPVOID args)
     65{
     66  UCHAR   szBuffer[600]; // as in original NTDLL.DLL
     67  int     rc;
     68
     69  rc = wvsnprintfA((LPSTR)szBuffer,
     70                   sizeof(szBuffer),
     71                   lpcstrFormat,
     72                   (va_list)args);
     73
     74  dprintf(("NTDLL: DbgPrint[%s]\n",
     75           szBuffer));
     76
     77  //@@@PH raise debug exception if running in debugger
     78}
Note: See TracChangeset for help on using the changeset viewer.