Ignore:
Timestamp:
Oct 4, 1999, 11:56:04 AM (26 years ago)
Author:
sandervl
Message:

Lots of changes by several people (see changelog for 4 October

File:
1 edited

Legend:

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

    r1063 r1118  
    1 /* $Id: windlg.cpp,v 1.2 1999-09-26 14:44:58 sandervl Exp $ */
     1/* $Id: windlg.cpp,v 1.3 1999-10-04 09:56:03 sandervl Exp $ */
    22/*
    33 * Win32 dialog apis for OS/2
     
    3939        return 0;
    4040
    41     return CreateDialogIndirectParamA(hInst, (DLGTEMPLATE*)LoadResource(hInst, hrsrc),
     41    return CreateDialogIndirectParamA(hInst, (LPCDLGTEMPLATEA)LoadResource(hInst, hrsrc),
    4242                                      hwndOwner, dlgproc, lParamInit);
    4343}
     
    5353        return 0;
    5454
    55     return CreateDialogIndirectParamW(hInst, (DLGTEMPLATE*)LoadResource(hInst, hrsrc),
     55    return CreateDialogIndirectParamW(hInst, (LPCDLGTEMPLATEW)LoadResource(hInst, hrsrc),
    5656                                      hwndOwner, dlgproc, lParamInit);
    5757}
     
    5959//******************************************************************************
    6060HWND WIN32API CreateDialogIndirectParamA(HINSTANCE hInst,
    61                          DLGTEMPLATE *dlgtemplate,
     61                         LPCDLGTEMPLATEA dlgtemplate,
    6262                         HWND hwndParent, DLGPROC dlgproc,
    6363                         LPARAM lParamInit)
     
    8787//******************************************************************************
    8888HWND WIN32API CreateDialogIndirectParamW(HINSTANCE hInst,
    89                          DLGTEMPLATE *dlgtemplate,
     89                         LPCDLGTEMPLATEW dlgtemplate,
    9090                         HWND hwndParent, DLGPROC dlgproc,
    9191                         LPARAM lParamInit)
     
    115115//******************************************************************************
    116116INT  WIN32API DialogBoxIndirectParamA(HINSTANCE hInst,
    117                       DLGTEMPLATE *dlgtemplate,
     117                      LPCDLGTEMPLATEA dlgtemplate,
    118118                      HWND hwndParent, DLGPROC dlgproc,
    119119                      LPARAM lParamInit)
     
    136136//******************************************************************************
    137137//******************************************************************************
    138 INT  WIN32API DialogBoxIndirectParamW(HINSTANCE hInst, DLGTEMPLATE *dlgtemplate,
     138INT  WIN32API DialogBoxIndirectParamW(HINSTANCE hInst, LPCDLGTEMPLATEW dlgtemplate,
    139139                                      HWND hwndParent, DLGPROC dlgproc,
    140140                                      LPARAM lParamInit)
Note: See TracChangeset for help on using the changeset viewer.