Changeset 780 for trunk/src/user32


Ignore:
Timestamp:
Sep 1, 1999, 9:12:23 PM (26 years ago)
Author:
phaller
Message:

Fix: header file cleanup (win32type.h)

Location:
trunk/src/user32
Files:
7 edited

Legend:

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

    r265 r780  
    1 /* $Id: dialog.cpp,v 1.6 1999-07-04 19:02:38 sandervl Exp $ */
     1/* $Id: dialog.cpp,v 1.7 1999-09-01 19:12:18 phaller Exp $ */
    22
    33/*
     
    128128//******************************************************************************
    129129//******************************************************************************
    130 BOOL WIN32API DialogBoxIndirectParamA(HINSTANCE hinst,
     130INT WIN32API DialogBoxIndirectParamA(HINSTANCE hinst,
    131131                                      DLGTEMPLATE *dlgtemplate,
    132132                                      HWND hwndParent, DLGPROC dlgproc,
    133133                                      LPARAM lParamInit)
    134134{
    135  BOOL rc;
     135 INT rc;
    136136 DLGTEMPLATE *os2dlg;
    137137
     
    147147//******************************************************************************
    148148//******************************************************************************
    149 BOOL WIN32API DialogBoxIndirectParamW(HINSTANCE hinst,
     149INT WIN32API DialogBoxIndirectParamW(HINSTANCE hinst,
    150150                                      DLGTEMPLATE *dlgtemplate,
    151151                                      HWND hwndParent, DLGPROC dlgproc,
    152152                                      LPARAM lParamInit)
    153153{
    154  BOOL rc;
     154 INT rc;
    155155 DLGTEMPLATE *os2dlg;
    156156
  • trunk/src/user32/new/dialog.cpp

    r666 r780  
    1 /* $Id: dialog.cpp,v 1.6 1999-08-24 18:58:00 phaller Exp $ */
     1/* $Id: dialog.cpp,v 1.7 1999-09-01 19:12:20 phaller Exp $ */
    22
    33/*
     
    1818//******************************************************************************
    1919//******************************************************************************
    20 HWND WIN32API CreateDialogParamA(HINSTANCE hinst, LPCSTR lpszTemplate, 
    21                                  HWND hwndOwner, DLGPROC dlgproc, 
     20HWND WIN32API CreateDialogParamA(HINSTANCE hinst, LPCSTR lpszTemplate,
     21                                 HWND hwndOwner, DLGPROC dlgproc,
    2222                                 LPARAM lParamInit)
    2323{
     
    3838//******************************************************************************
    3939//******************************************************************************
    40 HWND WIN32API CreateDialogParamW(HINSTANCE hinst, LPCWSTR lpszTemplate, 
    41                                  HWND hwndOwner, DLGPROC dlgproc, 
     40HWND WIN32API CreateDialogParamW(HINSTANCE hinst, LPCWSTR lpszTemplate,
     41                                 HWND hwndOwner, DLGPROC dlgproc,
    4242                                 LPARAM lParamInit)
    4343{
     
    6060//******************************************************************************
    6161//******************************************************************************
    62 HWND WIN32API CreateDialogIndirectParamA(HINSTANCE hinst, 
    63                                          DLGTEMPLATE *dlgtemplate, 
    64                                          HWND hwndParent, DLGPROC dlgproc, 
     62HWND WIN32API CreateDialogIndirectParamA(HINSTANCE hinst,
     63                                         DLGTEMPLATE *dlgtemplate,
     64                                         HWND hwndParent, DLGPROC dlgproc,
    6565                                         LPARAM lParamInit)
    6666{
     
    7171//******************************************************************************
    7272//******************************************************************************
    73 HWND WIN32API CreateDialogIndirectParamW(HINSTANCE hinst, 
    74                                          DLGTEMPLATE *dlgtemplate, 
    75                                          HWND hwndParent, DLGPROC dlgproc, 
     73HWND WIN32API CreateDialogIndirectParamW(HINSTANCE hinst,
     74                                         DLGTEMPLATE *dlgtemplate,
     75                                         HWND hwndParent, DLGPROC dlgproc,
    7676                                         LPARAM lParamInit)
    7777{
     
    8282//******************************************************************************
    8383//******************************************************************************
    84 BOOL WIN32API DialogBoxIndirectParamA(HINSTANCE hinst,
    85                                       DLGTEMPLATE *dlgtemplate, 
    86                                       HWND hwndParent, DLGPROC dlgproc, 
     84INT  WIN32API DialogBoxIndirectParamA(HINSTANCE hinst,
     85                                      DLGTEMPLATE *dlgtemplate,
     86                                      HWND hwndParent, DLGPROC dlgproc,
    8787                                      LPARAM lParamInit)
    8888{
     
    9191//******************************************************************************
    9292//******************************************************************************
    93 BOOL WIN32API DialogBoxIndirectParamW(HINSTANCE hinst,
    94                                       DLGTEMPLATE *dlgtemplate, 
    95                                       HWND hwndParent, DLGPROC dlgproc, 
     93INT  WIN32API DialogBoxIndirectParamW(HINSTANCE hinst,
     94                                      DLGTEMPLATE *dlgtemplate,
     95                                      HWND hwndParent, DLGPROC dlgproc,
    9696                                      LPARAM lParamInit)
    9797{
     
    117117//******************************************************************************
    118118//******************************************************************************
    119 int WIN32API DialogBoxParamW(HINSTANCE arg1, LPCWSTR arg2, HWND arg3, 
     119int WIN32API DialogBoxParamW(HINSTANCE arg1, LPCWSTR arg2, HWND arg3,
    120120                             DLGPROC arg4, LPARAM arg5)
    121121{
  • trunk/src/user32/new/msgbox.cpp

    r300 r780  
    1 /* $Id: msgbox.cpp,v 1.1 1999-07-14 08:35:35 sandervl Exp $ */
     1/* $Id: msgbox.cpp,v 1.2 1999-09-01 19:12:20 phaller Exp $ */
    22/*
    33 * Win32 message box function for OS/2
     
    9898 *****************************************************************************/
    9999
    100 BOOL WIN32API MessageBoxIndirectW(LPMSGBOXPARAMSW lpMsgBoxParams)
     100// @@@PH Win32 BOOL's are casted to INTs
     101INT WIN32API MessageBoxIndirectW(LPMSGBOXPARAMSW lpMsgBoxParams)
    101102{
    102103  dprintf(("USER32:MessageBoxIndirectW (%08x) not implemented.\n",
     
    122123 *****************************************************************************/
    123124
    124 BOOL WIN32API MessageBoxIndirectA(LPMSGBOXPARAMSA lpMsgBoxParams)
     125// @@@PH Win32 BOOL's are casted to INTs
     126INT  WIN32API MessageBoxIndirectA(LPMSGBOXPARAMSA lpMsgBoxParams)
    125127{
    126128  dprintf(("USER32:MessageBoxIndirectA (%08x) not implemented.\n",
  • trunk/src/user32/new/user32.cpp

    r662 r780  
    1 /* $Id: user32.cpp,v 1.15 1999-08-24 15:57:27 cbratschi Exp $ */
     1/* $Id: user32.cpp,v 1.16 1999-09-01 19:12:21 phaller Exp $ */
    22
    33/*
     
    866866//******************************************************************************
    867867//******************************************************************************
    868 BOOL WIN32API ExcludeUpdateRgn( HDC arg1, HWND  arg2)
     868INT WIN32API ExcludeUpdateRgn( HDC arg1, HWND  arg2)
    869869{
    870870#ifdef DEBUG
     
    22392239 *****************************************************************************/
    22402240
    2241 BOOL WIN32API GetKeyboardLayoutNameA(LPTSTR pwszKLID)
     2241// @@@PH Win32 BOOL's are casted to INTs
     2242INT WIN32API GetKeyboardLayoutNameA(LPTSTR pwszKLID)
    22422243{
    22432244  dprintf(("USER32:GetKeyboardLayoutNameA (%08x) not implemented.",
     
    22632264 *****************************************************************************/
    22642265
    2265 BOOL WIN32API GetKeyboardLayoutNameW(LPWSTR pwszKLID)
     2266// @@@PH Win32 BOOL's are casted to INTs
     2267INT WIN32API GetKeyboardLayoutNameW(LPWSTR pwszKLID)
    22662268{
    22672269  dprintf(("USER32:GetKeyboardLayoutNameW (%08x) not implemented.",
  • trunk/src/user32/new/win32wbase.cpp

    r753 r780  
    1 /* $Id: win32wbase.cpp,v 1.4 1999-08-31 14:38:09 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.5 1999-09-01 19:12:22 phaller Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    3737#include "win32wndhandle.h"
    3838#include "heapshared.h"
     39
    3940
    4041#define HAS_DLGFRAME(style,exStyle) \
  • trunk/src/user32/new/winscrollbar.cpp

    r332 r780  
    1 /* $Id: winscrollbar.cpp,v 1.2 1999-07-18 18:04:30 sandervl Exp $ */
     1/* $Id: winscrollbar.cpp,v 1.3 1999-09-01 19:12:23 phaller Exp $ */
    22/*
    33 * Win32 scrollbar functions for OS/2
     
    8181//******************************************************************************
    8282//******************************************************************************
    83 BOOL WIN32API ScrollWindowEx( HWND arg1, int arg2, int arg3, const RECT * arg4, const RECT * arg5, HRGN arg6, PRECT arg7, UINT  arg8)
     83INT WIN32API ScrollWindowEx( HWND arg1, int arg2, int arg3, const RECT * arg4, const RECT * arg5, HRGN arg6, PRECT arg7, UINT  arg8)
    8484{
    8585#ifdef DEBUG
  • trunk/src/user32/user32.cpp

    r755 r780  
    1 /* $Id: user32.cpp,v 1.22 1999-08-31 14:37:27 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.23 1999-09-01 19:12:18 phaller Exp $ */
    22
    33/*
     
    12831283
    12841284
    1285 HWND WIN32API ChildWindowFromPointEx (HWND hwndParent, POINT pt, UINT uFlags) 
     1285HWND WIN32API ChildWindowFromPointEx (HWND hwndParent, POINT pt, UINT uFlags)
    12861286{
    12871287        RECT rect;
     
    18991899//******************************************************************************
    19001900//******************************************************************************
    1901 BOOL WIN32API ExcludeUpdateRgn( HDC arg1, HWND  arg2)
     1901INT WIN32API ExcludeUpdateRgn( HDC arg1, HWND  arg2)
    19021902{
    19031903#ifdef DEBUG
     
    27632763//******************************************************************************
    27642764//******************************************************************************
    2765 BOOL WIN32API ScrollWindowEx( HWND arg1, int arg2, int arg3, const RECT * arg4, const RECT * arg5, HRGN arg6, PRECT arg7, UINT  arg8)
     2765INT WIN32API ScrollWindowEx( HWND arg1, int arg2, int arg3, const RECT * arg4, const RECT * arg5, HRGN arg6, PRECT arg7, UINT  arg8)
    27662766{
    27672767#ifdef DEBUG
     
    44224422 *****************************************************************************/
    44234423
    4424 BOOL WIN32API GetKeyboardLayoutNameA(LPTSTR pwszKLID)
     4424//@@@PH Win32 BOOLs are casted to INTs.
     4425INT WIN32API GetKeyboardLayoutNameA(LPTSTR pwszKLID)
    44254426{
    44264427  dprintf(("USER32:GetKeyboardLayoutNameA (%08x) not implemented.",
     
    44464447 *****************************************************************************/
    44474448
    4448 BOOL WIN32API GetKeyboardLayoutNameW(LPWSTR pwszKLID)
     4449//@@@PH Win32 BOOLs are casted to INTs.
     4450INT  WIN32API GetKeyboardLayoutNameW(LPWSTR pwszKLID)
    44494451{
    44504452  dprintf(("USER32:GetKeyboardLayoutNameW (%08x) not implemented.",
     
    49064908 *****************************************************************************/
    49074909
    4908 BOOL WIN32API MessageBoxIndirectW(LPMSGBOXPARAMSW lpMsgBoxParams)
     4910//@@@PH Win32 BOOLs are casted to INTs.
     4911INT  WIN32API MessageBoxIndirectW(LPMSGBOXPARAMSW lpMsgBoxParams)
    49094912{
    49104913  dprintf(("USER32:MessageBoxIndirectW (%08x) not implemented.\n",
     
    49304933 *****************************************************************************/
    49314934
    4932 BOOL WIN32API MessageBoxIndirectA(LPMSGBOXPARAMSA lpMsgBoxParams)
     4935//@@@PH Win32 BOOLs are casted to INTs.
     4936INT  WIN32API MessageBoxIndirectA(LPMSGBOXPARAMSA lpMsgBoxParams)
    49334937{
    49344938  dprintf(("USER32:MessageBoxIndirectA (%08x) not implemented.\n",
Note: See TracChangeset for help on using the changeset viewer.