Changeset 5148 for trunk/include


Ignore:
Timestamp:
Feb 17, 2001, 4:38:17 PM (25 years ago)
Author:
sandervl
Message:

YD: header changes for compiling opera

Location:
trunk/include
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/odin.h

    r4959 r5148  
    5252  #define WINAPI    __stdcall
    5353  #define SYSTEM    __stdcall
    54   #define PASCAL    _Pascal
     54  #define PASCAL    __stdcall
    5555  #define UNALIGNED
    5656#else
     
    6363  #define WINAPI    __stdcall
    6464  #define SYSTEM    __stdcall
    65   #define PASCAL    _Pascal
     65  #define PASCAL    __stdcall
    6666  #define UNALIGNED
    6767#else
     
    7474  #define WINAPI    __stdcall
    7575  #define SYSTEM    _System
    76   #define PASCAL    _Pascal
     76  #define PASCAL    __stdcall
    7777  #define UNALIGNED
    7878  #define __inline__ inline
  • trunk/include/win/richedit.h

    r3510 r5148  
    1 /* $Id: richedit.h,v 1.1 2000-05-10 13:11:50 sandervl Exp $ */
    21#ifndef __WINE_RICHEDIT_H
    32#define __WINE_RICHEDIT_H
     
    5958#define EM_SETWORDBREAKPROCEX   (WM_USER + 81)
    6059
     60// new edit styles
     61#define ES_SAVESEL                      0x00008000
     62#define ES_SUNKEN                       0x00004000
     63#define ES_DISABLENOSCROLL              0x00002000
     64#define ES_SELECTIONBAR                 0x01000000
     65#define ES_NOOLEDRAGDROP                0x00000008
     66
     67
    6168typedef DWORD (* CALLBACK EDITSTREAMCALLBACK)( DWORD, LPBYTE, LONG, LONG );
    6269
  • trunk/include/win/shellapi.h

    r4688 r5148  
    1 /* $Id: shellapi.h,v 1.10 2000-11-24 13:15:55 sandervl Exp $ */
    2 
    31#ifndef _WINE_SHELLAPI_H
    42#define _WINE_SHELLAPI_H
     
    286284} NOTIFYICONDATAW, *PNOTIFYICONDATAW;
    287285
     286BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA lpData);
     287BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
     288#define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon)
    288289
    289290#define SEE_MASK_CLASSNAME      0x00000001
  • trunk/include/win/tchar.h

    r3850 r5148  
    1 /* $Id: tchar.h,v 1.4 2000-07-18 18:30:37 sandervl Exp $ */
    2 
    31#ifndef __WINE_TCHAR_H
    42#define __WINE_TCHAR_H
     
    1311#define _chdir chdir
    1412#define _rmdir rmdir
     13
     14#ifndef __WIN32OS2__
    1515
    1616/* FIXME: this should be in io.h but I believe it's a standard include on some systems... */
     
    3939/* FIXME: _searchenv is not implemented */
    4040/* FIXME: _splitpath is not implemented */
    41 
    42 #ifndef __WIN32OS2__
    4341
    4442/* FIXME: this should be in string.h but since it's a standard C library include... */
  • trunk/include/win/winbase.h

    r4670 r5148  
    1 /* $Id: winbase.h,v 1.25 2000-11-22 00:37:28 phaller Exp $ */
    2 
    31#ifndef __WINE_WINBASE_H
    42#define __WINE_WINBASE_H
     
    14881486HANDLE    WINAPI GetCurrentThread(void);
    14891487DWORD       WINAPI GetCurrentThreadId(void);
    1490 INT       WINAPI GetDateFormatA(LCID,DWORD,LPSYSTEMTIME,LPCSTR,LPSTR,INT);
    1491 INT       WINAPI GetDateFormatW(LCID,DWORD,LPSYSTEMTIME,LPCWSTR,LPWSTR,INT);
     1488INT       WINAPI GetDateFormatA(LCID,DWORD,CONST SYSTEMTIME *,LPCSTR,LPSTR,INT);
     1489INT       WINAPI GetDateFormatW(LCID,DWORD,CONST SYSTEMTIME *,LPCWSTR,LPWSTR,INT);
    14921490#define     GetDateFormat WINELIB_NAME_AW(GetDateFormat)
    14931491LPSTR       WINAPI GetEnvironmentStringsA(void);
     
    15461544BOOL      WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
    15471545VOID        WINAPI GetSystemTime(LPSYSTEMTIME);
    1548 INT       WINAPI GetTimeFormatA(LCID,DWORD,LPSYSTEMTIME,LPCSTR,LPSTR,INT);
    1549 INT       WINAPI GetTimeFormatW(LCID,DWORD,LPSYSTEMTIME,LPCWSTR,LPWSTR,INT);
     1546INT       WINAPI GetTimeFormatA(LCID,DWORD,CONST SYSTEMTIME *,LPCSTR,LPSTR,INT);
     1547INT       WINAPI GetTimeFormatW(LCID,DWORD,CONST SYSTEMTIME *,LPCWSTR,LPWSTR,INT);
    15501548#define     GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
    15511549BOOL        WINAPI GetThreadContext(HANDLE,CONTEXT *);
  • trunk/include/win/windowsx.h

    r3850 r5148  
    1 /* $Id: windowsx.h,v 1.10 2000-07-18 18:30:42 sandervl Exp $ */
    2 
    31/* Copyright (C) 1999 Corel Corporation (Paul Quinn) */
    42
     
    942940
    943941/****** COMBOBOX control message APIs *****************************************/
     942
     943#define ComboBox_Enable(hwndCtl, fEnable)       EnableWindow((hwndCtl), (fEnable))
     944#define ComboBox_GetText(hwndCtl, lpch, cchMax) GetWindowText((hwndCtl), (lpch), (cchMax))
     945#define ComboBox_GetTextLength(hwndCtl)         GetWindowTextLength(hwndCtl)
     946#define ComboBox_SetText(hwndCtl, lpsz)         SetWindowText((hwndCtl), (lpsz))
     947
    944948#define ComboBox_GetCount(hwndCtl)            \
    945949                ((int)(DWORD)SendMessage((hwndCtl), CB_GETCOUNT, 0L, 0L))
     
    11301134#define FORWARD_WM_DRAWITEM(hwnd, lpDrawItem, fn) \
    11311135        (void)(fn)((hwnd), WM_DRAWITEM, (WPARAM)(((const DRAWITEMSTRUCT *)lpDrawItem)->CtlID), (LPARAM)(const DRAWITEMSTRUCT *)(lpDrawItem))
     1136
     1137
     1138#define GET_WPARAM(wp, lp)                      (wp)
     1139#define GET_LPARAM(wp, lp)                      (lp)
     1140
     1141#define GET_X_LPARAM(lp)                        ((int)(short)LOWORD(lp))
     1142#define GET_Y_LPARAM(lp)                        ((int)(short)HIWORD(lp))
    11321143                               
    11331144/****** C runtime porting macros ****************************************/
  • trunk/include/win/wine/obj_shelllink.h

    r4033 r5148  
    1 /* $Id: obj_shelllink.h,v 1.6 2000-08-18 02:04:23 phaller Exp $ */
    21/*
    32 * Defines the COM interfaces and APIs related to IShellLink.
     
    2221typedef struct IShellLinkA IShellLinkA,*LPSHELLLINK;
    2322typedef struct IShellLinkW IShellLinkW,*LPSHELLLINKW;
     23#define IShellLink WINELIB_NAME_AW(IShellLink)
    2424
    2525/*****************************************************************************
  • trunk/include/win/winreg.h

    r3427 r5148  
    1 /* $Id: winreg.h,v 1.5 2000-04-19 14:46:37 sandervl Exp $ */
    2 
    31/*
    42 *                              Shell Library definitions
     
    203201LONG       WINAPI RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD);
    204202#define     RegSetValue WINELIB_NAME_AW(RegSetValue)
    205 LONG       WINAPI RegSetValueExA(HKEY,LPSTR,DWORD,DWORD,LPBYTE,DWORD);
    206 LONG       WINAPI RegSetValueExW(HKEY,LPWSTR,DWORD,DWORD,LPBYTE,DWORD);
     203LONG       WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,LPBYTE,DWORD);
     204LONG       WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,LPBYTE,DWORD);
    207205#define     RegSetValueEx WINELIB_NAME_AW(RegSetValueEx)
    208206
Note: See TracChangeset for help on using the changeset viewer.