Ignore:
Timestamp:
Oct 18, 2000, 10:12:46 PM (25 years ago)
Author:
sandervl
Message:

ToAscii implemenation started

File:
1 edited

Legend:

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

    r3942 r4498  
    1 /* $Id: user32.cpp,v 1.84 2000-08-02 20:18:24 bird Exp $ */
     1/* $Id: user32.cpp,v 1.85 2000-10-18 20:12:45 sandervl Exp $ */
    22
    33/*
     
    14331433}
    14341434/*****************************************************************************
    1435  * Name      : int WIN32API ToAscii
    1436  * Purpose   : The ToAscii function translates the specified virtual-key code
    1437  *             and keyboard state to the corresponding Windows character or characters.
    1438  * Parameters: UINT   uVirtKey    virtual-key code
    1439  *             UINT   uScanCode   scan code
    1440  *             PBYTE  lpbKeyState address of key-state array
    1441  *             LPWORD lpwTransKey buffer for translated key
    1442  *             UINT   fuState     active-menu flag
    1443  * Variables :
    1444  * Result    : 0 The specified virtual key has no translation for the current
    1445  *               state of the keyboard.
    1446  *             1 One Windows character was copied to the buffer.
    1447  *             2 Two characters were copied to the buffer. This usually happens
    1448  *               when a dead-key character (accent or diacritic) stored in the
    1449  *               keyboard layout cannot be composed with the specified virtual
    1450  *               key to form a single character.
    1451  * Remark    :
    1452  * Status    : UNTESTED STUB
    1453  *
    1454  * Author    : Patrick Haller [Thu, 1998/02/26 11:55]
    1455  *****************************************************************************/
    1456 int WIN32API ToAscii(UINT   uVirtKey,
    1457                         UINT   uScanCode,
    1458                         PBYTE  lpbKeyState,
    1459                         LPWORD lpwTransKey,
    1460                         UINT   fuState)
    1461 {
    1462   dprintf(("USER32:ToAscii (%u,%u,%08xh,%08xh,%u) not implemented.\n",
    1463          uVirtKey,
    1464          uScanCode,
    1465          lpbKeyState,
    1466          lpwTransKey,
    1467          fuState));
    1468 
    1469   return (0);
    1470 }
    1471 /*****************************************************************************
    1472  * Name      : int WIN32API ToAsciiEx
    1473  * Purpose   : The ToAscii function translates the specified virtual-key code
    1474  *             and keyboard state to the corresponding Windows character or characters.
    1475  * Parameters: UINT   uVirtKey    virtual-key code
    1476  *             UINT   uScanCode   scan code
    1477  *             PBYTE  lpbKeyState address of key-state array
    1478  *             LPWORD lpwTransKey buffer for translated key
    1479  *             UINT   fuState     active-menu flag
    1480  *             HLK    hlk         keyboard layout handle
    1481  * Variables :
    1482  * Result    : 0 The specified virtual key has no translation for the current
    1483  *               state of the keyboard.
    1484  *             1 One Windows character was copied to the buffer.
    1485  *             2 Two characters were copied to the buffer. This usually happens
    1486  *               when a dead-key character (accent or diacritic) stored in the
    1487  *               keyboard layout cannot be composed with the specified virtual
    1488  *               key to form a single character.
    1489  * Remark    :
    1490  * Status    : UNTESTED STUB
    1491  *
    1492  * Author    : Patrick Haller [Thu, 1998/02/26 11:55]
    1493  *****************************************************************************/
    1494 int WIN32API ToAsciiEx(UINT   uVirtKey,
    1495                           UINT   uScanCode,
    1496                           PBYTE  lpbKeyState,
    1497                           LPWORD lpwTransKey,
    1498                           UINT   fuState,
    1499                           HKL    hkl)
    1500 {
    1501   dprintf(("USER32:ToAsciiEx (%u,%u,%08xh,%08xh,%u,%08x) not implemented.\n",
    1502          uVirtKey,
    1503          uScanCode,
    1504          lpbKeyState,
    1505          lpwTransKey,
    1506          fuState,
    1507          hkl));
    1508 
    1509   return (0);
    1510 }
    1511 /*****************************************************************************
    15121435 * Name      : int WIN32API ToUnicode
    15131436 * Purpose   : The ToUnicode function translates the specified virtual-key code
Note: See TracChangeset for help on using the changeset viewer.