Changeset 2694 for trunk/include


Ignore:
Timestamp:
Feb 9, 2000, 2:40:23 PM (26 years ago)
Author:
sandervl
Message:

YD: header updates + added WaitForInputIdle

Location:
trunk/include
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/OS2WIN.H

    r223 r2694  
    1 /* $Id: OS2WIN.H,v 1.7 1999-06-26 18:24:20 sandervl Exp $ */
     1/* $Id: OS2WIN.H,v 1.8 2000-02-09 13:40:21 sandervl Exp $ */
    22#ifndef _OS2WIN_H
    33#define _OS2WIN_H
     
    15241524DWORD   OPEN32API _O32_WaitForSingleObject( HANDLE, DWORD );
    15251525
     1526DWORD   OPEN32API _O32_WaitForInputIdle(HANDLE hProcess, DWORD dwTimeOut);
     1527
    15261528BOOL    OPEN32API _O32_WaitMessage( void);
    15271529
     
    98059807}
    98069808
     9809inline DWORD O32_WaitForInputIdle(HANDLE hProcess, DWORD dwTimeOut)
     9810{
     9811 DWORD yyrc;
     9812 USHORT sel = RestoreOS2FS();
     9813
     9814    yyrc = _O32_WaitForInputIdle(hProcess, dwTimeOut);
     9815    SetFS(sel);
     9816
     9817    return yyrc;
     9818}
    98079819
    98089820#endif    /* ifdef _OS2WIN_H */
  • trunk/include/odin.h

    r2349 r2694  
    1 /* $Id: odin.h,v 1.12 2000-01-06 23:17:27 sandervl Exp $ */
     1/* $Id: odin.h,v 1.13 2000-02-09 13:40:22 sandervl Exp $ */
    22/*
    33 * ODIN - Build Environment Definition
     
    7979  #define __inline__ inline
    8080
     81#ifndef RC_INVOKED
    8182//  #if (__IBMCPP__ == 300) || (__IBMC__ == 300)
    8283  #define NONAMELESSUNION
    8384//  #endif
     85#endif
    8486
    8587  #include <builtin.h>
  • trunk/include/win/commdlg.h

    r2606 r2694  
    1 /* $Id: commdlg.h,v 1.4 2000-02-03 13:26:22 sandervl Exp $ */
     1/* $Id: commdlg.h,v 1.5 2000-02-09 13:40:23 sandervl Exp $ */
    22/*
    33 * COMMDLG - Common Wine Dialog ... :-)
     
    591591#define PSD_ENABLEPAGEPAINTHOOK           0x00040000
    592592#define PSD_DISABLEPAGEPAINTING           0x00080000
     593
     594#define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) \
     595        (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
     596#define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) \
     597        (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
     598#define     CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec)
    593599
    594600BOOL16  WINAPI ChooseColor16(LPCHOOSECOLOR16 lpChCol);
  • trunk/include/win/windef.h

    r2524 r2694  
    1 /* $Id: windef.h,v 1.19 2000-01-26 23:17:49 sandervl Exp $ */
     1/* $Id: windef.h,v 1.20 2000-02-09 13:40:23 sandervl Exp $ */
    22
    33/*
     
    114114
    115115#ifndef __export
    116   #define __export    __stdcall
     116  #define __export   
    117117#endif
    118118
  • trunk/include/win/windowsx.h

    r2524 r2694  
    1 /* $Id: windowsx.h,v 1.7 2000-01-26 23:17:50 sandervl Exp $ */
     1/* $Id: windowsx.h,v 1.8 2000-02-09 13:40:23 sandervl Exp $ */
    22
    33/* Copyright (C) 1999 Corel Corporation (Paul Quinn) */
     
    10531053        ((void)SendMessage((hwndCtl), EM_SETSEL, (ichStart), (ichEnd)))
    10541054
     1055#define Edit_GetSel(hwndCtl)                    ((DWORD)SendMessage((hwndCtl), EM_GETSEL, 0L, 0L))
     1056#define Edit_ReplaceSel(hwndCtl, lpszReplace)   ((void)SendMessage((hwndCtl), EM_REPLACESEL, 0L, (LPARAM)(LPCTSTR)(lpszReplace)))
     1057
    10551058#define Edit_GetText(hwndCtl, lpch, cchMax)     GetWindowText((hwndCtl), (lpch), (cchMax))
    10561059#define Edit_GetTextLength(hwndCtl)             GetWindowTextLength(hwndCtl)
     
    10641067#define Edit_SetModify(hwndCtl, fModified) \
    10651068        ((void)SendMessage((hwndCtl), EM_SETMODIFY, (WPARAM)(UINT)(fModified), 0L))
     1069
     1070#define Edit_ScrollCaret(hwndCtl)               ((BOOL)(DWORD)SendMessage((hwndCtl), EM_SCROLLCARET, 0, 0L))
    10661071       
    10671072/* void Cls_OnMeasureItem(HWND hwnd, MEASUREITEMSTRUCT * lpMeasureItem) */
  • trunk/include/win/winuser.h

    r2528 r2694  
    1 /* $Id: winuser.h,v 1.31 2000-01-26 23:47:20 sandervl Exp $ */
     1/* $Id: winuser.h,v 1.32 2000-02-09 13:40:23 sandervl Exp $ */
    22
    33#ifndef __INCLUDE_WINUSER_H
     
    36753675BOOL      WINAPI UnregisterClassA(LPCSTR,HINSTANCE);
    36763676BOOL      WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
     3677#define     UnregisterClass WINELIB_NAME_AW(UnregisterClass)
     3678
    36773679BOOL        WINAPI UpdateWindow(HWND);
    36783680BOOL        WINAPI ValidateRect(HWND,const RECT*);
Note: See TracChangeset for help on using the changeset viewer.