Changeset 552 for trunk/src


Ignore:
Timestamp:
Aug 18, 1999, 8:43:54 PM (26 years ago)
Author:
phaller
Message:

Add: RtlUpcaseUnicodeStringToOemString added

Location:
trunk/src/NTDLL
Files:
3 edited

Legend:

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

    r430 r552  
    1 ; $Id: ntdll.def,v 1.9 1999-08-05 23:28:33 phaller Exp $
     1; $Id: ntdll.def,v 1.10 1999-08-18 18:43:54 phaller Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    248248    RtlIsTextUnicode              = _RtlIsTextUnicode@12              @417
    249249    RtlCompareUnicodeString       = _RtlCompareUnicodeString@12
     250    RtlUpcaseUnicodeStringToOemString = _RtlUpcaseUnicodeStringToOemString@12
     251
    250252
    251253    RtlInitializeResource         = _RtlInitializeResource@4          @409
  • trunk/src/NTDLL/ntdll.h

    r97 r552  
    1 /* $Id: ntdll.h,v 1.3 1999-06-10 17:06:45 phaller Exp $ */
     1/* $Id: ntdll.h,v 1.4 1999-08-18 18:43:54 phaller Exp $ */
    22
    33/*
     
    494494DWORD WINAPI RtlIsTextUnicode(LPVOID buf, DWORD len, DWORD *pf);
    495495DWORD WINAPI RtlCompareUnicodeString(PUNICODE_STRING String1, PUNICODE_STRING String2, BOOLEAN CaseInSensitive);
     496DWORD WINAPI RtlUpcaseUnicodeStringToOemString(PANSI_STRING oem, PUNICODE_STRING uni, BOOLEAN alloc);
    496497
    497498/*
  • trunk/src/NTDLL/rtlstr.cpp

    r97 r552  
    1 /* $Id: rtlstr.cpp,v 1.4 1999-06-10 17:06:46 phaller Exp $ */
     1/* $Id: rtlstr.cpp,v 1.5 1999-08-18 18:43:54 phaller Exp $ */
    22
    33/*
     
    2222#include "windef.h"
    2323
     24#define HAVE_WCTYPE_H
    2425#ifdef HAVE_WCTYPE_H
    2526# include <wctype.h>
     
    582583
    583584
     585
     586/**************************************************************************
     587 *                 RtlUpcaseUnicodeStringToOemString    [NTDLL.?]
     588 * @@@PH: parameters are pure speculation!
     589 */
     590DWORD WINAPI RtlUpcaseUnicodeStringToOemString(PANSI_STRING    oem,
     591                                               PUNICODE_STRING uni,
     592                                               BOOLEAN         alloc)
     593{
     594  DWORD rc;
     595
     596  dprintf(("NTDLL: RtlUpcaseUnicodeStringToOemString(%08xh,%08xh,%08xh)\n",
     597           oem,
     598           uni,
     599           alloc));
     600
     601  rc = RtlUnicodeStringToOemString(oem,
     602                                   uni,
     603                                   alloc);
     604  if (rc == 0)
     605     strupr(oem->Buffer);
     606
     607  return rc;
     608}
     609
     610
Note: See TracChangeset for help on using the changeset viewer.