Changeset 5144 for branches/notebook/src


Ignore:
Timestamp:
Feb 17, 2001, 12:23:05 AM (25 years ago)
Author:
bird
Message:

Temporary checkin - not even compiling.

Location:
branches/notebook/src/win32k/utils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/notebook/src/win32k/utils/Win32kCC.c

    r5143 r5144  
    1 /* $Id: Win32kCC.c,v 1.12.2.1 2001-02-16 23:20:29 bird Exp $
     1/* $Id: Win32kCC.c,v 1.12.2.2 2001-02-16 23:23:05 bird Exp $
    22 *
    33 * Win32CC - Win32k Control Center.
     
    7171typedef struct _Win32kCCPage
    7272{
    73     ULONG   ulPage;
     73    ULONG   ulPageId;
    7474    HWND    hwnd;
    7575} WIN32KCCPAGE, *PWIN32KCCPAGE;
     
    247247        case WM_INITDLG:
    248248        {
    249 
    250             /*
    251              * Initiate controls (ie. behaviour not data).
    252              *  - Ranges of the info level spinbuttons.
    253              *  - Max length of the max heap size entry fields.
    254              */
    255             WinSendDlgItemMsg(hwnd, SB_LDR_PE_INFOLEVEL, SPBM_SETLIMITS, (MPARAM)4, (MPARAM)0);
    256             WinSendDlgItemMsg(hwnd, SB_LDR_ELF_INFOLEVEL, SPBM_SETLIMITS, (MPARAM)4, (MPARAM)0);
    257 
    258             WinSendDlgItemMsg(hwnd, SB_HEAP_RES_MAX, SPBM_SETLIMITS, (MPARAM)32678, (MPARAM)128);
    259             WinSendDlgItemMsg(hwnd, SB_HEAP_SWP_MAX, SPBM_SETLIMITS, (MPARAM)32678, (MPARAM)128);
    260 
    261 
    262249            /*
    263250             * Init and set instance data.
    264251             */
    265             pThis = malloc(sizeof(*pThis));
     252            pThis = calloc(sizeof(*pThis), 1);
    266253            if (pThis == NULL)
    267254            {
     
    284271                return FALSE;
    285272            }
     273
     274            /*
     275             * Insert notebooks pages.
     276             */
     277
     278
    286279
    287280            /*
  • branches/notebook/src/win32k/utils/Win32kCC.rc

    r5051 r5144  
    1 /* $Id: Win32kCC.rc,v 1.5 2001-02-02 08:41:31 bird Exp $
     1/* $Id: Win32kCC.rc,v 1.5.2.1 2001-02-16 23:20:30 bird Exp $
    22 *
    33 * Resource File for Win32k Control Center.
     
    88 *
    99 */
    10 
     10#define INCL_WINSTDBOOK
    1111#include <os2.h>
    1212#include "Win32kCC.h"
Note: See TracChangeset for help on using the changeset viewer.