Ignore:
Timestamp:
Jul 28, 2001, 2:57:57 PM (24 years ago)
Author:
sandervl
Message:

set/getwindowword additions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/char.cpp

    r5465 r6394  
    1 /* $Id: char.cpp,v 1.15 2001-04-03 20:55:46 sandervl Exp $ */
     1/* $Id: char.cpp,v 1.16 2001-07-28 12:57:57 sandervl Exp $ */
    22
    33/*
     
    433433    return get_char_typeW(x) & (C1_ALPHA|C1_LOWER|C1_UPPER);
    434434}
    435 
    436 //******************************************************************************
    437 //TODO:
    438 //******************************************************************************
    439 BOOL WIN32API IsCharAlphaA( CHAR arg1)
    440 {
    441     dprintf(("USER32: IsCharAlphaA %x", arg1));
    442     return O32_IsCharAlpha(arg1);
    443 }
    444 //******************************************************************************
    445 //******************************************************************************
    446 BOOL WIN32API IsCharAlphaNumericA( CHAR arg1)
    447 {
    448     dprintf(("USER32: IsCharAlphaNumericA %x", arg1));
    449     return O32_IsCharAlphaNumeric(arg1);
    450 }
     435//******************************************************************************
     436//******************************************************************************
     437BOOL WIN32API IsCharAlphaA( CHAR x)
     438{
     439    WCHAR wch;
     440
     441    dprintf(("USER32: IsCharAlphaA %x", x));
     442    MultiByteToWideChar(CP_ACP, 0, &x, 1, &wch, 1);
     443    return IsCharAlphaW(wch);
     444}
     445//******************************************************************************
     446//******************************************************************************
     447BOOL WIN32API IsCharAlphaNumericA( CHAR x)
     448{
     449    dprintf(("USER32: IsCharAlphaNumericA %x", x));
     450    return (get_char_typeW(x) & C1_ALPHA) != 0;
     451}
     452//******************************************************************************
     453//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.