Ignore:
Timestamp:
Mar 24, 2000, 12:06:54 AM (25 years ago)
Author:
sandervl
Message:

replaced writelog calls

File:
1 edited

Legend:

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

    r2852 r3209  
    1 /* $Id: user32.cpp,v 1.74 2000-02-21 17:25:29 cbratschi Exp $ */
     1/* $Id: user32.cpp,v 1.75 2000-03-23 23:06:52 sandervl Exp $ */
    22
    33/*
     
    578578HWND WIN32API SetCapture( HWND hwnd)
    579579{
    580 #ifdef DEBUG
    581     WriteLog("USER32: SetCapture %x", hwnd);
    582 #endif
     580    dprintf(("USER32: SetCapture %x", hwnd));
    583581    hwnd = Win32Window::Win32ToOS2Handle(hwnd);
    584582    return Win32Window::OS2ToWin32Handle(O32_SetCapture(hwnd));
     
    588586BOOL WIN32API SetDoubleClickTime( UINT uInterval)
    589587{
    590 #ifdef DEBUG
    591     WriteLog("USER32:  SetDoubleClickTime\n");
    592 #endif
     588    dprintf(("USER32:  SetDoubleClickTime\n"));
    593589    return O32_SetDoubleClickTime(uInterval);
    594590}
     
    597593BOOL WIN32API SwapMouseButton( BOOL fSwap)
    598594{
    599 #ifdef DEBUG
    600     WriteLog("USER32:  SwapMouseButton\n");
    601 #endif
     595    dprintf(("USER32:  SwapMouseButton\n"));
    602596    return O32_SwapMouseButton(fSwap);
    603597}
     
    644638    INT flStyle;
    645639
    646 #ifdef DEBUG
    647     WriteLog("USER32:  MessageBeep\n");
    648 #endif
     640    dprintf(("USER32:  MessageBeep\n"));
    649641
    650642    switch (uType)
     
    675667VOID WIN32API SetLastErrorEx(DWORD dwErrCode, DWORD dwType)
    676668{
    677 #ifdef DEBUG
    678   WriteLog("USER32:  SetLastErrorEx\n");
    679 #endif
     669  dprintf(("USER32:  SetLastErrorEx\n"));
    680670  SetLastError(dwErrCode);
    681671}
     
    10561046        break;
    10571047    }
    1058 #ifdef DEBUG
    1059     WriteLog("USER32:  SystemParametersInfoW %d, returned %d\n", uiAction, rc);
    1060 #endif
     1048    dprintf(("USER32:  SystemParametersInfoW %d, returned %d\n", uiAction, rc));
    10611049    return(rc);
    10621050}
     
    10711059BOOL WIN32API AttachThreadInput(DWORD idAttach, DWORD idAttachTo, BOOL fAttach)
    10721060{
    1073 #ifdef DEBUG
    1074   WriteLog("USER32:  AttachThreadInput, not implemented\n");
    1075 #endif
     1061  dprintf(("USER32:  AttachThreadInput, not implemented\n"));
    10761062  return(TRUE);
    10771063}
     
    11921178BOOL WIN32API ActivateKeyboardLayout(HKL hkl, UINT fuFlags)
    11931179{
    1194 #ifdef DEBUG
    1195   WriteLog("USER32:  ActivateKeyboardLayout, not implemented\n");
    1196 #endif
     1180  dprintf(("USER32:  ActivateKeyboardLayout, not implemented\n"));
    11971181  return(TRUE);
    11981182}
     
    12311215int WIN32API GetKeyNameTextA( LPARAM lParam, LPSTR lpString, int  nSize)
    12321216{
    1233 #ifdef DEBUG
    1234     WriteLog("USER32:  GetKeyNameTextA\n");
    1235 #endif
     1217    dprintf(("USER32:  GetKeyNameTextA\n"));
    12361218    return O32_GetKeyNameText(lParam,lpString,nSize);
    12371219}
     
    12401222int WIN32API GetKeyNameTextW( LPARAM lParam, LPWSTR lpString, int  nSize)
    12411223{
    1242 #ifdef DEBUG
    1243     WriteLog("USER32:  GetKeyNameTextW DOES NOT WORK\n");
    1244 #endif
     1224    dprintf(("USER32:  GetKeyNameTextW DOES NOT WORK\n"));
    12451225    // NOTE: This will not work as is (needs UNICODE support)
    12461226    return 0;
     
    13411321UINT WIN32API MapVirtualKeyA( UINT uCode, UINT  uMapType)
    13421322{
    1343 #ifdef DEBUG
    1344     WriteLog("USER32:  MapVirtualKeyA\n");
    1345 #endif
     1323    dprintf(("USER32:  MapVirtualKeyA\n"));
    13461324    return O32_MapVirtualKey(uCode,uMapType);
    13471325}
     
    13501328UINT WIN32API MapVirtualKeyW( UINT uCode, UINT  uMapType)
    13511329{
    1352 #ifdef DEBUG
    1353     WriteLog("USER32:  MapVirtualKeyW\n");
    1354 #endif
     1330    dprintf(("USER32:  MapVirtualKeyW\n"));
    13551331    // NOTE: This will not work as is (needs UNICODE support)
    13561332    return O32_MapVirtualKey(uCode,uMapType);
     
    14381414BOOL WIN32API RegisterHotKey(HWND hwnd, int idHotKey, UINT fuModifiers, UINT uVirtKey)
    14391415{
    1440 #ifdef DEBUG
    1441   WriteLog("USER32:  RegisterHotKey, not implemented\n");
    1442 #endif
     1416  dprintf(("USER32:  RegisterHotKey, not implemented\n"));
    14431417  hwnd = Win32Window::Win32ToOS2Handle(hwnd);
    14441418  return(TRUE);
     
    15951569BOOL WIN32API UnregisterHotKey(HWND hwnd, int idHotKey)
    15961570{
    1597 #ifdef DEBUG
    1598   WriteLog("USER32:  UnregisterHotKey, not implemented\n");
    1599 #endif
     1571  dprintf(("USER32:  UnregisterHotKey, not implemented\n"));
    16001572  hwnd = Win32Window::Win32ToOS2Handle(hwnd);
    16011573
     
    16071579WORD WIN32API VkKeyScanA( char ch)
    16081580{
    1609 #ifdef DEBUG
    1610     WriteLog("USER32:  VkKeyScanA\n");
    1611 #endif
     1581    dprintf(("USER32:  VkKeyScanA\n"));
    16121582    return O32_VkKeyScan(ch);
    16131583}
     
    16161586WORD WIN32API VkKeyScanW( WCHAR wch)
    16171587{
    1618 #ifdef DEBUG
    1619     WriteLog("USER32:  VkKeyScanW\n");
    1620 #endif
     1588    dprintf(("USER32:  VkKeyScanW\n"));
    16211589    // NOTE: This will not work as is (needs UNICODE support)
    16221590    return O32_VkKeyScan((char)wch);
     
    17311699int WIN32API FrameRect( HDC hDC, const RECT * lprc, HBRUSH  hbr)
    17321700{
    1733 #ifdef DEBUG
    1734     WriteLog("USER32:  FrameRect\n");
    1735 #endif
     1701    dprintf(("USER32:  FrameRect"));
    17361702    return O32_FrameRect(hDC,lprc,hbr);
    17371703}
     
    17401706BOOL WIN32API InvertRect( HDC hDC, const RECT * lprc)
    17411707{
    1742 #ifdef DEBUG
    1743     WriteLog("USER32:  InvertRect\n");
    1744 #endif
     1708    dprintf(("USER32:  InvertRect\n"));
    17451709    return O32_InvertRect(hDC,lprc);
    17461710}
     
    17501714int WIN32API GetKeyboardType( int nTypeFlag)
    17511715{
    1752 #ifdef DEBUG
    1753     WriteLog("USER32:  GetKeyboardType\n");
    1754 #endif
     1716    dprintf(("USER32:  GetKeyboardType\n"));
    17551717    return O32_GetKeyboardType(nTypeFlag);
    17561718}
Note: See TracChangeset for help on using the changeset viewer.