Changeset 3850 for trunk/include


Ignore:
Timestamp:
Jul 18, 2000, 8:30:47 PM (25 years ago)
Author:
sandervl
Message:

YD: header updates

Location:
trunk/include/win
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/commctrl.h

    r3769 r3850  
    1 /* $Id: commctrl.h,v 1.32 2000-06-29 11:10:54 sandervl Exp $ */
     1/* $Id: commctrl.h,v 1.33 2000-07-18 18:30:29 sandervl Exp $ */
    22/*
    33 * Common controls definitions
     
    20772077#define TV_INSERTSTRUCT   WINELIB_NAME_AW(TVINSERTSTRUCT)
    20782078#define LPTV_INSERTSTRUCT WINELIB_NAME_AW(LPTVINSERTSTRUCT)
     2079#define TVINSERTSTRUCT    WINELIB_NAME_AW(TVINSERTSTRUCT)
     2080#define LPTVINSERTSTRUCT  WINELIB_NAME_AW(LPTVINSERTSTRUCT)
    20792081
    20802082#define TVINSERTSTRUCT_V1_SIZEA CCSIZEOF_STRUCT(TVINSERTSTRUCTA, item)
     
    21822184
    21832185
     2186#define TreeView_InsertItem   WINELIB_NAME_AW(TreeView_InsertItem)
    21842187#define TreeView_InsertItemA(hwnd, phdi) \
    21852188  (INT)SendMessageA((hwnd), TVM_INSERTITEMA, 0, \
  • trunk/include/win/commdlg.h

    r2694 r3850  
    1 /* $Id: commdlg.h,v 1.5 2000-02-09 13:40:23 sandervl Exp $ */
     1/* $Id: commdlg.h,v 1.6 2000-07-18 18:30:33 sandervl Exp $ */
    22/*
    33 * COMMDLG - Common Wine Dialog ... :-)
     
    597597        (int)SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
    598598#define     CommDlg_OpenSave_GetSpec WINELIB_NAME_AW(CommDlg_OpenSave_GetSpec)
     599
     600// lParam = pointer to a string
     601// wParam = ID of control to change
     602// return = not used
     603#define CDM_SETCONTROLTEXT      (CDM_FIRST + 0x0004)
     604#define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) \
     605        (void)SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
    599606
    600607BOOL16  WINAPI ChooseColor16(LPCHOOSECOLOR16 lpChCol);
  • trunk/include/win/oleauto.h

    r636 r3850  
    1 /* $Id: oleauto.h,v 1.2 1999-08-22 22:15:15 sandervl Exp $ */
     1/* $Id: oleauto.h,v 1.3 2000-07-18 18:30:35 sandervl Exp $ */
    22
    33#ifndef __WINE_OLEAUTO_H
     
    2525int WINAPI SysStringLen16(BSTR16);
    2626int WINAPI SysStringLen(BSTR);
     27
     28 /*****************************************************************
     29 *  Time API
     30 */
     31
     32INT WINAPI DosDateTimeToVariantTime(USHORT wDosDate, USHORT wDosTime, DOUBLE * pvtime);
     33
     34INT WINAPI VariantTimeToDosDateTime(DOUBLE vtime, USHORT * pwDosDate, USHORT * pwDosTime);
     35
     36#ifdef _WIN32
     37INT WINAPI SystemTimeToVariantTime(LPSYSTEMTIME lpSystemTime, DOUBLE *pvtime);
     38INT WINAPI VariantTimeToSystemTime(DOUBLE vtime, LPSYSTEMTIME lpSystemTime);
     39#endif
     40
    2741
    2842/*****************************************************************
  • trunk/include/win/tchar.h

    r1546 r3850  
    1 /* $Id: tchar.h,v 1.3 1999-11-02 19:06:43 sandervl Exp $ */
     1/* $Id: tchar.h,v 1.4 2000-07-18 18:30:37 sandervl Exp $ */
    22
    33#ifndef __WINE_TCHAR_H
     
    55
    66#include "windef.h"
    7 
    8 #ifndef __WIN32OS2__
    97
    108#ifdef __cplusplus
     
    4139/* FIXME: _searchenv is not implemented */
    4240/* FIXME: _splitpath is not implemented */
     41
     42#ifndef __WIN32OS2__
    4343
    4444/* FIXME: this should be in string.h but since it's a standard C library include... */
     
    7575#define _utime utime
    7676
     77#endif //__WIN32OS2__
    7778
    7879/*****************************************************************************
     
    156157#define _tcsdup       WINE_tchar_routine(_strdup,         _mbsdup,     _wcsdup)
    157158#define _tcsftime     WINE_tchar_routine(strftime,        strftime,    wcsftime)
    158 #define _tcsicmp      WINE_tchar_routine(_stricmp,        _mbsicmp,    _wcsicmp)
     159#define _tcsicmp      WINE_tchar_routine(stricmp,         _mbsicmp,    _wcsicmp)
    159160#define _tcsicoll     WINE_tchar_routine(_stricoll,       _stricoll,   _wcsicoll)
    160161#define _tcsinc       WINE_tchar_routine(_strinc,         _mbsinc,     _wcsinc)
     
    273274} /* extern "C" */
    274275#endif
    275 
    276 #endif //__WIN32OS2__
    277                                  
     276                 
    278277#endif /* __WINE_TCHAR_H */
  • trunk/include/win/winbase.h

    r3643 r3850  
    1 /* $Id: winbase.h,v 1.13 2000-06-01 11:56:35 sandervl Exp $ */
     1/* $Id: winbase.h,v 1.14 2000-07-18 18:30:38 sandervl Exp $ */
    22
    33#ifndef __WINE_WINBASE_H
     
    16071607BOOL      WINAPI UnlockFile(HFILE,DWORD,DWORD,DWORD,DWORD);
    16081608BOOL      WINAPI UnmapViewOfFile(LPVOID);
     1609BOOL      WINAPI FlushInstructionCache(HANDLE,LPCVOID,DWORD);
    16091610LPVOID      WINAPI VirtualAlloc(LPVOID,DWORD,DWORD,DWORD);
    16101611BOOL      WINAPI VirtualFree(LPVOID,DWORD,DWORD);
  • trunk/include/win/windows.h

    r3354 r3850  
    1 /* $Id: windows.h,v 1.6 2000-04-09 11:09:11 sandervl Exp $ */
     1/* $Id: windows.h,v 1.7 2000-07-18 18:30:40 sandervl Exp $ */
    22
    33#ifndef __WINE_WINDOWS_H
     
    2222#include "winreg.h"
    2323#include "ddeml.h"
     24#include "dlgs.h"
    2425#include "winnetwk.h"
    2526#include "winver.h"
     
    3334#include "winver.h"
    3435
     36#include <commdlg.h>
     37#include <winspool.h>
    3538
    3639#ifdef __cplusplus
  • trunk/include/win/windowsx.h

    r3354 r3850  
    1 /* $Id: windowsx.h,v 1.9 2000-04-09 11:09:11 sandervl Exp $ */
     1/* $Id: windowsx.h,v 1.10 2000-07-18 18:30:42 sandervl Exp $ */
    22
    33/* Copyright (C) 1999 Corel Corporation (Paul Quinn) */
     
    998998#define ListBox_SetItemData(hwndCtl, index, data)   ((int)(DWORD)SendMessage((hwndCtl), LB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(data)))
    999999
     1000#define ListBox_SetSel(hwndCtl, fSelect, index)     ((int)(DWORD)SendMessage((hwndCtl), LB_SETSEL, (WPARAM)(BOOL)(fSelect), (LPARAM)(index)))
     1001#define ListBox_SelItemRange(hwndCtl, fSelect, first, last)    ((int)(DWORD)SendMessage((hwndCtl), LB_SELITEMRANGE, (WPARAM)(BOOL)(fSelect), MAKELPARAM((first), (last))))
     1002
    10001003#define ListBox_GetCurSel(hwndCtl)        \
    10011004        ((int)(DWORD)SendMessage((hwndCtl), LB_GETCURSEL, 0L, 0L))
     
    10171020#define ListBox_FindStringExact(hwndCtl, indexStart, lpszFind) \
    10181021        ((int)(DWORD)SendMessage((hwndCtl), LB_FINDSTRINGEXACT, (WPARAM)(int)(indexStart), (LPARAM)(LPCTSTR)(lpszFind)))
     1022
     1023#define ListBox_GetSel(hwndCtl, index)              ((int)(DWORD)SendMessage((hwndCtl), LB_GETSEL, (WPARAM)(int)(index), 0L))
     1024#define ListBox_GetSelCount(hwndCtl)                ((int)(DWORD)SendMessage((hwndCtl), LB_GETSELCOUNT, 0L, 0L))
    10191025
    10201026#define Edit_LineFromChar(hwndCtl, ich)   \
  • trunk/include/win/wingdi.h

    r3354 r3850  
    1 /* $Id: wingdi.h,v 1.13 2000-04-09 11:09:11 sandervl Exp $ */
     1/* $Id: wingdi.h,v 1.14 2000-07-18 18:30:45 sandervl Exp $ */
    22
    33#ifndef __WINE_WINGDI_H
     
    27702770HDC       WINAPI CreateEnhMetaFileA(HDC,LPCSTR,const RECT*,LPCSTR);
    27712771HDC       WINAPI CreateEnhMetaFileW(HDC,LPCWSTR,const RECT*,LPCWSTR);
     2772#define CreateEnhMetaFile WINELIB_NAME_AW(CreateEnhMetaFile)
    27722773INT       WINAPI DrawEscape(HDC,INT,INT,LPCSTR);
    27732774BOOL      WINAPI GdiComment(HDC,UINT,const BYTE *);
    27742775BOOL      WINAPI GetCharABCWidthsFloatA(HDC,UINT,UINT,LPABCFLOAT);
    27752776BOOL      WINAPI GetCharABCWidthsFloatW(HDC,UINT,UINT,LPABCFLOAT);
     2777#define GetCharABCWidthsFloat WINELIB_NAME_AW(GetCharABCWidthsFloat)
    27762778BOOL      WINAPI GetCharWidthFloatA(HDC,UINT,UINT,PFLOAT);
    27772779BOOL      WINAPI GetCharWidthFloatW(HDC,UINT,UINT,PFLOAT);
     2780#define GetCharWidthFloat WINELIB_NAME_AW(GetCharWidthFloat)
    27782781BOOL      WINAPI GetColorAdjustment(HDC, LPCOLORADJUSTMENT);
    27792782DWORD       WINAPI GetDCHook(HDC16,FARPROC16*);
     
    29312934BOOL      WINAPI GetCharABCWidthsA(HDC,UINT,UINT,LPABC);
    29322935BOOL      WINAPI GetCharABCWidthsW(HDC,UINT,UINT,LPABC);
    2933 #define GetCharWidth WINELIB_NAME_AW(GetCharWidth)
     2936#define GetCharABCWidths WINELIB_NAME_AW(GetCharABCWidths)
    29342937#define     GetCharWidthA GetCharWidth32A
    29352938#define     GetCharWidthW GetCharWidth32W
  • trunk/include/win/wtypes.h

    r1890 r3850  
    200200#define _SECURITY_DEFINED
    201201
     202typedef DWORD ACCESS_MASK, *PACCESS_MASK;
     203
     204typedef struct _GENERIC_MAPPING {
     205    ACCESS_MASK GenericRead;
     206    ACCESS_MASK GenericWrite;
     207    ACCESS_MASK GenericExecute;
     208    ACCESS_MASK GenericAll;
     209} GENERIC_MAPPING, *PGENERIC_MAPPING;
     210
    202211typedef struct {
    203212    BYTE Value[6];
Note: See TracChangeset for help on using the changeset viewer.