Ignore:
Timestamp:
Jan 20, 2003, 1:09:47 PM (23 years ago)
Author:
sandervl
Message:

more logging

File:
1 edited

Legend:

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

    r9598 r9694  
    1 /* $Id: oslibwin.cpp,v 1.137 2003-01-03 16:35:55 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.138 2003-01-20 12:09:47 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    105105        WinCreateFrameControls(*hwndFrame, &FCData, NULL);
    106106    }
     107    if(*hwndFrame == 0) {
     108        dprintf(("Frame window creation failed!! OS LastError %0x", WinGetLastError(0)));
     109        return 0;
     110    }
    107111    hwndClient = WinCreateWindow (*hwndFrame, WIN32_STDCLASS,
    108112                              NULL, dwWinStyle | WS_VISIBLE, 0, 0, 0, 0,
     
    112116    if (hwndParent == HWND_DESKTOP && *hwndFrame)
    113117       OSLibWinCreateInvisibleScroller(*hwndFrame, SBS_VERT);
     118
     119
     120    if(hwndClient == 0) {
     121        dprintf(("Client window creation failed!! OS LastError %0x", WinGetLastError(0)));
     122    }
    114123    return hwndClient;
    115124}
     
    12141223    swctrl.fbJump        = SWL_JUMPABLE;
    12151224    swctrl.bProgType     = PROG_PM;
     1225    dprintf(("OSLibWinChangeTaskList %x %s swctrl %x size %d", hTaskList, title, &swctrl, sizeof(swctrl)));
    12161226    if(title) {
    12171227        CharToOemBuffA( title, swctrl.szSwtitle, min(strlen(title)+1,MAXNAMEL+4) );
     
    12221232        swctrl.uchVisibility    = SWL_INVISIBLE;
    12231233    }
     1234    dprintf(("hwnd           %x", swctrl.hwnd));
     1235    dprintf(("hwndIcon       %x", swctrl.hwndIcon));
     1236    dprintf(("hprog          %x", swctrl.hprog));
     1237    dprintf(("idProcess      %x", swctrl.idProcess));
     1238    dprintf(("idSession      %x", swctrl.idSession));
     1239    dprintf(("uchVisibility  %x", swctrl.uchVisibility));
     1240    dprintf(("fbJump         %x", swctrl.fbJump));
     1241    dprintf(("bProgType      %x", swctrl.bProgType));
     1242    dprintf(("szSwtitle      %s", swctrl.szSwtitle));
     1243
    12241244    return (WinChangeSwitchEntry(hTaskList, &swctrl)) ? FALSE : TRUE;
    12251245}
Note: See TracChangeset for help on using the changeset viewer.