Changeset 12134


Ignore:
Timestamp:
Nov 2, 1999, 8:06:43 PM (25 years ago)
Author:
sandervl
Message:

header updates

Location:
tags/trunk/include/win
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/include/win/commdlg.h

    r11493 r12134  
    1 /* $Id: commdlg.h,v 1.2 1999-09-09 21:04:37 phaller Exp $ */
    2 
    3 /*
     1/* $Id: commdlg.h,v 1.3 1999-11-02 19:06:42 sandervl Exp $ */
     2/*
    43 * COMMDLG - Common Wine Dialog ... :-)
    54 */
     
    1413#include "windef.h"             /* needed for CHOOSEFONT structure */
    1514#include "winuser.h"
     15#include "pshpack1.h"
    1616
    1717#define OFN_READONLY                 0x00000001
     
    3232#define OFN_NOREADONLYRETURN         0x00008000
    3333#define OFN_NOTESTFILECREATE         0x00010000
    34 #define OFN_NONETWORKBUTTON          0x00020000
     34#define OFN_NONETWORKBUTTON          0x00020000 
    3535#define OFN_NOLONGNAMES              0x00040000
    3636#define OFN_EXPLORER                 0x00080000
     
    4545#define OFN_SHARENOWARN          1
    4646#define OFN_SHAREWARN            0
     47
     48#define SAVE_DIALOG  1
     49#define OPEN_DIALOG  2
     50   
     51typedef UINT16 (CALLBACK *LPOFNHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
     52typedef UINT (CALLBACK *LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
    4753
    4854typedef struct {
     
    6571        SEGPTR          lpstrDefExt;
    6672        LPARAM          lCustData;
    67         WNDPROC16      lpfnHook;
     73        LPOFNHOOKPROC16 lpfnHook;
    6874        SEGPTR          lpTemplateName;
    6975}   OPENFILENAME16,*LPOPENFILENAME16;
     
    8894        LPCSTR          lpstrDefExt;
    8995        LPARAM          lCustData;
    90         WNDPROC lpfnHook;
     96        LPOFNHOOKPROC   lpfnHook;
    9197        LPCSTR          lpTemplateName;
    9298} OPENFILENAMEA,*LPOPENFILENAMEA;
     
    111117        LPCWSTR         lpstrDefExt;
    112118        LPARAM          lCustData;
    113         WNDPROC lpfnHook;
     119        LPOFNHOOKPROC   lpfnHook;
    114120        LPCWSTR         lpTemplateName;
    115121} OPENFILENAMEW,*LPOPENFILENAMEW;
     
    134140DECL_WINELIB_TYPE_AW(OFNOTIFY)
    135141DECL_WINELIB_TYPE_AW(LPOFNOTIFY)
    136 
    137 typedef UINT (* CALLBACK LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
     142 
     143typedef UINT16 (CALLBACK *LPCCHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);
     144typedef UINT (CALLBACK *LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
    138145
    139146typedef struct {
     
    145152        DWORD           Flags;
    146153        LPARAM          lCustData;
    147         WNDPROC16       lpfnHook;
     154        LPCCHOOKPROC16  lpfnHook;
    148155        SEGPTR          lpTemplateName;
    149156} CHOOSECOLOR16;
     
    187194#define CC_ENABLETEMPLATE        0x00000020
    188195#define CC_ENABLETEMPLATEHANDLE  0x00000040
     196
     197typedef UINT16 (CALLBACK *LPFRHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
     198typedef UINT (CALLBACK *LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
    189199
    190200typedef struct {
     
    199209        UINT16          wReplaceWithLen;        /* size of replace buffer   */
    200210        LPARAM          lCustData;              /* data passed to hook fn.  */
    201         WNDPROC16       lpfnHook;
     211        LPFRHOOKPROC16  lpfnHook;
    202212        SEGPTR          lpTemplateName;         /* custom template name     */
    203213        } FINDREPLACE16, *LPFINDREPLACE16;
     
    214224        WORD            wReplaceWithLen;
    215225        LPARAM          lCustData;
    216         WNDPROC       lpfnHook;
     226        LPFRHOOKPROC    lpfnHook;
    217227        LPCSTR          lpTemplateName;
    218228        } FINDREPLACEA, *LPFINDREPLACEA;
     
    229239        WORD            wReplaceWithLen;
    230240        LPARAM          lCustData;
    231         WNDPROC       lpfnHook;
     241        LPFRHOOKPROC    lpfnHook;
    232242        LPCWSTR         lpTemplateName;
    233243        } FINDREPLACEW, *LPFINDREPLACEW;
     
    254264#define FR_HIDEWHOLEWORD                0x00010000
    255265
    256 
    257 #include "pshpack1.h"
    258 
    259 typedef struct
     266typedef UINT16 (CALLBACK *LPCFHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
     267typedef UINT (CALLBACK *LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
     268
     269typedef struct 
    260270{
    261271        DWORD                   lStructSize;
     
    264274        SEGPTR                  lpLogFont;          /* ptr. to a LOGFONT struct */
    265275        short                   iPointSize;         /* 10 * size in points of selected font */
    266         DWORD                   Flags WINE_PACKED;  /* enum. type flags         */
     276        DWORD                   Flags;  /* enum. type flags         */
    267277        COLORREF                rgbColors;          /* returned text color      */
    268278        LPARAM                  lCustData;          /* data passed to hook fn.  */
    269         WNDPROC16               lpfnHook;
     279        LPCFHOOKPROC16          lpfnHook;
    270280        SEGPTR                  lpTemplateName;     /* custom template name     */
    271281        HINSTANCE16             hInstance;          /* instance handle of.EXE that   */
    272282                                                        /* contains cust. dlg. template  */
    273         SEGPTR                  lpszStyle WINE_PACKED;  /* return the style field here   */
     283        SEGPTR                  lpszStyle;  /* return the style field here   */
    274284                                                        /* must be LF_FACESIZE or bigger */
    275285        UINT16                  nFontType;              /* same value reported to the    */
    276286                                                        /* EnumFonts callback with the   */
    277287                                                        /* extra FONTTYPE_ bits added    */
    278         short                   nSizeMin WINE_PACKED;   /* minimum pt size allowed & */
    279         short                   nSizeMax WINE_PACKED;   /* max pt size allowed if    */
     288        short                   nSizeMin;   /* minimum pt size allowed & */
     289        short                   nSizeMax;   /* max pt size allowed if    */
    280290                                                        /* CF_LIMITSIZE is used      */
    281291} CHOOSEFONT16, *LPCHOOSEFONT16;
     
    284294typedef struct
    285295{
    286         UINT    lStructSize;
    287         HWND            hwndOwner;
    288         HDC             hDC;
    289         LPLOGFONTA    lpLogFont;
    290         INT             iPointSize;
    291         DWORD           Flags;
    292         COLORREF        rgbColors;
    293         LPARAM          lCustData;
    294         WNDPROC         lpfnHook;
    295         LPCSTR          lpTemplateName;
    296         HINSTANCE       hInstance;
    297         LPSTR           lpszStyle;
    298         UINT16          nFontType;
    299         UINT16  ___MISSING_ALIGNMENT__;
    300         INT     nSizeMin;
    301         INT             nSizeMax;
     296        UINT    lStructSize; 
     297        HWND            hwndOwner; 
     298        HDC             hDC; 
     299        LPLOGFONTA    lpLogFont; 
     300        INT             iPointSize; 
     301        DWORD           Flags; 
     302        COLORREF        rgbColors; 
     303        LPARAM          lCustData; 
     304        LPCFHOOKPROC    lpfnHook;
     305        LPCSTR          lpTemplateName; 
     306        HINSTANCE       hInstance; 
     307        LPSTR           lpszStyle; 
     308        UINT16          nFontType; 
     309        UINT16  ___MISSING_ALIGNMENT__; 
     310        INT     nSizeMin; 
     311        INT             nSizeMax; 
    302312} CHOOSEFONTA, *LPCHOOSEFONTA;
    303313
    304314typedef struct
    305315{
    306         UINT    lStructSize;
    307         HWND            hwndOwner;
    308         HDC             hDC;
    309         LPLOGFONTW    lpLogFont;
    310         INT             iPointSize;
    311         DWORD           Flags;
    312         COLORREF        rgbColors;
    313         LPARAM          lCustData;
    314         WNDPROC         lpfnHook;
    315         LPCWSTR         lpTemplateName;
    316         HINSTANCE       hInstance;
    317         LPWSTR          lpszStyle;
    318         UINT16          nFontType;
    319         UINT16  ___MISSING_ALIGNMENT__;
    320         INT     nSizeMin;
    321         INT             nSizeMax;
     316        UINT    lStructSize; 
     317        HWND            hwndOwner; 
     318        HDC             hDC; 
     319        LPLOGFONTW    lpLogFont; 
     320        INT             iPointSize; 
     321        DWORD           Flags; 
     322        COLORREF        rgbColors; 
     323        LPARAM          lCustData; 
     324        LPCFHOOKPROC    lpfnHook;
     325        LPCWSTR         lpTemplateName; 
     326        HINSTANCE       hInstance; 
     327        LPWSTR          lpszStyle; 
     328        UINT16          nFontType; 
     329        UINT16  ___MISSING_ALIGNMENT__; 
     330        INT     nSizeMin; 
     331        INT             nSizeMax; 
    322332} CHOOSEFONTW, *LPCHOOSEFONTW;
    323333
    324334DECL_WINELIB_TYPE_AW(CHOOSEFONT)
    325335DECL_WINELIB_TYPE_AW(LPCHOOSEFONT)
    326 
    327 #include "poppack.h"
    328336
    329337#define CF_SCREENFONTS               0x00000001
     
    402410#define CDM_SETDEFEXT           (CDM_FIRST + 0x0006)
    403411
     412typedef UINT16 (CALLBACK *LPPRINTHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);
     413typedef UINT (CALLBACK *LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
     414
     415typedef UINT16 (CALLBACK *LPSETUPHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);
     416typedef UINT (CALLBACK *LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
     417
    404418typedef struct
    405419{
     
    417431    HINSTANCE16      hInstance;
    418432    LPARAM           lCustData;
    419     WNDPROC16        lpfnPrintHook;
    420     WNDPROC16        lpfnSetupHook;
     433    LPPRINTHOOKPROC16 lpfnPrintHook;
     434    LPSETUPHOOKPROC16 lpfnSetupHook;
    421435    SEGPTR           lpPrintTemplateName;
    422436    SEGPTR           lpSetupTemplateName;
     
    424438    HGLOBAL16        hSetupTemplate;
    425439} PRINTDLG16, *LPPRINTDLG16;
    426 
    427 typedef UINT (* CALLBACK LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
    428 typedef UINT (* CALLBACK LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
    429440
    430441typedef struct tagPDA
     
    497508#define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
    498509#define PD_USEDEVMODECOPIES          0x00040000
     510#define PD_USEDEVMODECOPIESANDCOLLATE 0x00040000
    499511#define PD_DISABLEPRINTTOFILE        0x00080000
    500512#define PD_HIDEPRINTTOFILE           0x00100000
    501 
    502 #ifndef __WINE_DOCOBJ_H
    503 typedef enum __MIDL_IPrint_0001
    504 {
    505         PRINTFLAG_MAYBOTHERUSER = 1,
    506         PRINTFLAG_PROMPTUSER    = 2,
    507         PRINTFLAG_USERMAYCHANGEPRINTER  = 4,
    508         PRINTFLAG_RECOMPOSETODEVICE     = 8,
    509         PRINTFLAG_DONTACTUALLYPRINT     = 16,
    510         PRINTFLAG_FORCEPROPERTIES       = 32,
    511         PRINTFLAG_PRINTTOFILE   = 64
    512 } PRINTFLAG;
    513 #endif
    514513
    515514typedef struct {
     
    532531#define WM_PSD_YAFULLPAGERECT   (WM_USER+6)
    533532
    534 typedef UINT (* CALLBACK LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM );
    535 typedef UINT (* CALLBACK LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM );
     533typedef UINT (CALLBACK* LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM );
     534typedef UINT (CALLBACK* LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM );
    536535
    537536typedef struct tagPSDA
     
    609608BOOL  WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn);
    610609BOOL  WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn);
     610BOOL  WINAPI GetFileDialog95A(LPOPENFILENAMEA ofn,UINT iDlgType);
     611BOOL  WINAPI GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType);
    611612#define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName)
    612613BOOL16  WINAPI GetSaveFileName16(SEGPTR ofn);
     
    633634LRESULT WINAPI ColorDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
    634635LRESULT WINAPI FindTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
    635 LRESULT WINAPI FindTextDlgProcA(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
    636 LRESULT WINAPI FindTextDlgProcW(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
    637 #define FindTextDlgProc WINELIB_NAME_AW(FindTextDlgProc)
    638636LRESULT WINAPI ReplaceTextDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
    639 LRESULT WINAPI ReplaceTextDlgProcA(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
    640 LRESULT WINAPI ReplaceTextDlgProcW(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
    641 #define ReplaceTextProc WINELIB_NAME_AW(ReplaceTextDlgProc)
    642637LRESULT WINAPI PrintDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam);
    643638LRESULT WINAPI PrintDlgProcA(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
     
    649644#define FormatCharDlgProc WINELIB_NAME_AW(FormatCharDlgProc)
    650645
    651 void COMDLG32_SetCommDlgExtendedError(DWORD err);
     646void COMDLG32_SetCommDlgExtendedError(DWORD err);
     647
     648
     649#include "poppack.h"
    652650
    653651#ifdef __cplusplus
  • TabularUnified tags/trunk/include/win/dlgs.h

    r10645 r12134  
    1 /* $Id: dlgs.h,v 1.1 1999-05-24 20:19:11 ktk Exp $ */
    2 
     1/* $Id: dlgs.h,v 1.2 1999-11-02 19:06:42 sandervl Exp $ */
    32/******************************************************************************
    43* dlgs.h -      Common dialog's dialog control ID numbers                     *
     
    186185#define FORMATDLGORD30   1544
    187186
     187
     188#define IDD_OPENDIALOG                  101
     189#define IDD_SAVEDIALOG                  201
     190#define IDS_ABOUTBOX                    101
     191#define IDS_DOCUMENTFOLDERS             102
     192#define IDS_PERSONAL                    103
     193#define IDS_FAVORITES                   104
     194#define IDS_PATH                        105
     195#define IDS_DESKTOP                     106
     196#define IDB_TOOLBAR                     107
     197#define IDS_FONTS                       108
     198#define IDS_MYCOMPUTER                  110
     199#define IDS_SYSTEMFOLDERS               112
     200#define IDS_LOCALHARDRIVES              113
     201#define IDS_FILENOTFOUND                114
     202#define IDS_VERIFYFILE                  115
     203#define IDS_CREATEFILE                  116
     204#define IDC_OPENREADONLY                410
     205#define IDC_FILETYPESTATIC              441
     206#define IDC_FILENAMESTATIC              442
     207#define IDC_LOOKINSTATIC                443
     208#define IDC_SHELLSTATIC                 461
     209#define IDC_FILETYPE                    470
     210#define IDC_LOOKIN                      471
     211#define IDC_FILENAME                    480
     212#define IDC_UPFOLDER                    1009
     213#define IDC_NEWFOLDER                   1010
     214#define IDC_LIST                        1011
     215#define IDC_DETAILS                     1014
     216
    188217#endif  /* #ifdef __WINE_DLGS_H */
  • TabularUnified tags/trunk/include/win/shellapi.h

    r11597 r12134  
    1 /* $Id: shellapi.h,v 1.6 1999-09-22 09:46:19 sandervl Exp $ */
     1/* $Id: shellapi.h,v 1.7 1999-11-02 19:06:42 sandervl Exp $ */
    22
    33#ifndef _WINE_SHELLAPI_H
     
    187187} SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW;
    188188
    189 DWORD   WIN32API SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp);
    190 DWORD   WIN32API SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp);
     189DWORD   WINAPI SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp);
     190DWORD   WINAPI SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp);
    191191
    192192
  • TabularUnified tags/trunk/include/win/shlobj.h

    r11707 r12134  
    1 /* $Id: shlobj.h,v 1.3 1999-10-04 09:55:50 sandervl Exp $ */
    2 
     1/* $Id: shlobj.h,v 1.4 1999-11-02 19:06:43 sandervl Exp $ */
    32#ifndef __WINE_SHLOBJ_H
    43#define __WINE_SHLOBJ_H
     
    2524#include "prsht.h"
    2625
     26#ifdef __cplusplus
     27extern "C" {
     28#endif /* defined(__cplusplus) */
     29
    2730/*****************************************************************************
    2831 * Predeclare interfaces
     
    4447{       UINT cidl;
    4548        UINT aoffset[1];
    46 } CIDA, *LPCIDA;
     49} CIDA, *LPCIDA,*LPIDA;
    4750
    4851#define CFSTR_SHELLIDLISTOFFSET "Shell Object Offsets"    /* CF_OBJECTPOSITIONS */
     
    135138#define SEE_MASK_HMONITOR         0x00200000
    136139
    137 /*************************************
    138  * code that is shared with shlobj.h *
    139  *************************************/
    140 
    141140#ifndef _WINE_SHELLAPI_H
    142 
    143141typedef struct _SHELLEXECUTEINFOA
    144142{       DWORD cbSize;
     
    156154        HKEY hkeyClass;
    157155        DWORD dwHotKey;
    158         union
     156        union 
    159157        { HANDLE hIcon;
    160158          HANDLE hMonitor;
     
    184182        HANDLE hProcess;
    185183} SHELLEXECUTEINFOW, *LPSHELLEXECUTEINFOW;
     184#endif
    186185
    187186#define SHELLEXECUTEINFO   WINELIB_NAME_AW(SHELLEXECUTEINFO)
    188187#define LPSHELLEXECUTEINFO WINELIB_NAME_AW(LPSHELLEXECUTEINFO)
    189 
    190 #endif /* __WINE_SHELLAPI_H */
    191 
    192188
    193189BOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo);
     
    226222    LPARAM        lParam;
    227223        INT         iImage;
    228 } BROWSEINFOW, *PBROWSEINFOW, *LPBROWSEINFOW;
     224} BROWSEINFOW, *PBROWSEINFOW, *LPBROWSEINFOW; 
    229225
    230226#define BROWSEINFO   WINELIB_NAME_AW(BROWSEINFO)
     
    239235#define BIF_EDITBOX            0x0010
    240236#define BIF_VALIDATE           0x0020
    241 
     237 
    242238#define BIF_BROWSEFORCOMPUTER  0x1000
    243239#define BIF_BROWSEFORPRINTER   0x2000
     
    255251#define BFFM_SETSELECTIONA      (WM_USER+102)
    256252#define BFFM_SETSELECTIONW      (WM_USER+103)
    257 #define BFFM_SETSELECTION       WINELIB_NAME_AW(BFFM_SETSELECTION)
    258 
    259253#define BFFM_SETSTATUSTEXTW     (WM_USER+104)
    260254
     
    271265#define BFFM_SETSELECTION   BFFM_SETSELECTIONA
    272266
    273 #define BFFM_VALIDATEFAILED BFFM_VALIDATEFAILEDA
    274 #endif
     267#define BFFM_VALIDATEFAILED BFFM_VALIDATEFAILEDA 
     268#endif 
    275269*/
    276270
     
    304298#define SHDID_NET_OTHER             17
    305299
    306 typedef struct _SHDESCRIPTIONID
     300typedef struct _SHDESCRIPTIONID 
    307301{   DWORD   dwDescriptionId;
    308302    CLSID   clsid;
     
    311305HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb);
    312306HRESULT WINAPI SHGetDataFromIDListW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb);
    313 BOOL    WINAPI SHGetSpecialFolderPathA (HWND hwndOwner,LPSTR szPath,DWORD csidl,BOOL bCreate);
     307#define  SHGetDataFromIDList WINELIB_NAME_AW(SHGetDataFromIDList)
     308
     309BOOL WINAPI SHGetSpecialFolderPathA (HWND hwndOwner,LPSTR szPath,DWORD csidl,BOOL bCreate);
     310BOOL WINAPI SHGetSpecialFolderPathW (HWND hwndOwner,LPWSTR szPath,DWORD csidl,BOOL bCreate);
     311#define  SHGetSpecialFolderPath WINELIB_NAME_AW(SHGetSpecialFolderPath)
     312
     313HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDLIST * ppidl);
    314314
    315315/****************************************************************************
     
    323323*  are happening to the shellview (and ask for things too).
    324324*
    325 *  You don't have to support anything here - anything you don't want to
     325*  You don't have to support anything here - anything you don't want to 
    326326*  handle, the shell will do itself if you just return E_NOTIMPL. This parameters
    327327*  that the shell passes to this function are entirely undocumented.
     
    415415/**********************************************************************/
    416416
     417#ifdef __cplusplus
     418} /* extern "C" */
     419#endif /* defined(__cplusplus) */
     420
    417421#endif /* __WINE_SHLOBJ_H */
  • TabularUnified tags/trunk/include/win/tchar.h

    r11561 r12134  
    1 /* $Id: tchar.h,v 1.2 1999-09-18 15:55:45 sandervl Exp $ */
     1/* $Id: tchar.h,v 1.3 1999-11-02 19:06:43 sandervl Exp $ */
    22
    33#ifndef __WINE_TCHAR_H
     
    255255#define __T(x) x
    256256
    257 #endif //__WIN32OS2__
    258 
    259257typedef CHAR  _TCHARA;
    260258typedef WCHAR _TCHARW;
     
    275273} /* extern "C" */
    276274#endif
     275
     276#endif //__WIN32OS2__
    277277                                 
    278278#endif /* __WINE_TCHAR_H */
  • TabularUnified tags/trunk/include/win/ver.h

    r10645 r12134  
    1 /* $Id: ver.h,v 1.1 1999-05-24 20:19:20 ktk Exp $ */
    2 
     1/* $Id: ver.h,v 1.2 1999-11-02 19:06:43 sandervl Exp $ */
    32/* Definitions for the VERsion infolibrary (VER.DLL)
    43 *
    54 * Copyright 1996 Marcus Meissner
     5 *
     6 * Marked as obsolete:  Albert den Haan (Corel Corp) 1999-04-28
     7 * VER.H obsolete, include winver.h instead
    68 */
    79#ifndef __WINE_VER_H
    810#define __WINE_VER_H
    911
    10 #include "windef.h"
    11 
    12 /* resource ids for different version infos */
    13 /* These are internal resources for win16, but simple numbers in win32 */
    14 /* All win32 defines should be moved to winver.h */
    15 #define VS_FILE_INFO16          MAKEINTRESOURCE16(16)
    16 #define VS_VERSION_INFO16       MAKEINTRESOURCE16(1)
    17 #define VS_USER_INFO16          MAKEINTRESOURCE16(100)
    18 
    19 #define VS_FILE_INFO            16
    20 #define VS_VERSION_INFO         1
    21 #define VS_USER_INFO            100
    22 
    23 #define VS_FFI_SIGNATURE        0xfeef04bdL     /* FileInfo Magic */
    24 #define VS_FFI_STRUCVERSION     0x00010000L     /* struc version 1.0 */
    25 #define VS_FFI_FILEFLAGSMASK    0x0000003fL     /* valid flags */
    26 
    27 /* VS_VERSION.dwFileFlags */
    28 #define VS_FF_DEBUG             0x01L
    29 #define VS_FF_PRERELEASE        0x02L
    30 #define VS_FF_PATCHED           0x04L
    31 #define VS_FF_PRIVATEBUILD      0x08L
    32 #define VS_FF_INFOINFERRED      0x10L
    33 #define VS_FF_SPECIALBUILD      0x20L
    34 
    35 /* VS_VERSION.dwFileOS */
    36 
    37 /* major os version */
    38 #define VOS_UNKNOWN             0x00000000L
    39 #define VOS_DOS                 0x00010000L
    40 #define VOS_OS216               0x00020000L
    41 #define VOS_OS232               0x00030000L
    42 #define VOS_NT                  0x00040000L
    43 
    44 /* minor os version */
    45 #define VOS__BASE               0x00000000L
    46 #define VOS__WINDOWS16          0x00000001L
    47 #define VOS__PM16               0x00000002L
    48 #define VOS__PM32               0x00000003L
    49 #define VOS__WINDOWS32          0x00000004L
    50 
    51 /* possible versions */
    52 #define VOS_DOS_WINDOWS16       (VOS_DOS|VOS__WINDOWS16)
    53 #define VOS_DOS_WINDOWS32       (VOS_DOS|VOS__WINDOWS32)
    54 #define VOS_OS216_PM16          (VOS_OS216|VOS__PM16)
    55 #define VOS_OS232_PM32          (VOS_OS232|VOS__PM32)
    56 #define VOS_NT_WINDOWS32        (VOS_NT|VOS__WINDOWS32)
    57 
    58 /* VS_VERSION.dwFileType */
    59 #define VFT_UNKNOWN             0x00000000L
    60 #define VFT_APP                 0x00000001L
    61 #define VFT_DLL                 0x00000002L
    62 #define VFT_DRV                 0x00000003L
    63 #define VFT_FONT                0x00000004L
    64 #define VFT_VXD                 0x00000005L
    65 /* ??one type missing??         0x00000006L -Marcus */
    66 #define VFT_STATIC_LIB          0x00000007L
    67 
    68 /* VS_VERSION.dwFileSubtype for VFT_DRV */
    69 #define VFT2_UNKNOWN            0x00000000L
    70 #define VFT2_DRV_PRINTER        0x00000001L
    71 #define VFT2_DRV_KEYBOARD       0x00000002L
    72 #define VFT2_DRV_LANGUAGE       0x00000003L
    73 #define VFT2_DRV_DISPLAY        0x00000004L
    74 #define VFT2_DRV_MOUSE          0x00000005L
    75 #define VFT2_DRV_NETWORK        0x00000006L
    76 #define VFT2_DRV_SYSTEM         0x00000007L
    77 #define VFT2_DRV_INSTALLABLE    0x00000008L
    78 #define VFT2_DRV_SOUND          0x00000009L
    79 #define VFT2_DRV_COMM           0x0000000aL
    80 #define VFT2_DRV_INPUTMETHOD    0x0000000bL
    81 
    82 /* VS_VERSION.dwFileSubtype for VFT_FONT */
    83 #define VFT2_FONT_RASTER        0x00000001L
    84 #define VFT2_FONT_VECTOR        0x00000002L
    85 #define VFT2_FONT_TRUETYPE      0x00000003L
    86 
    87 /* VerFindFile Flags */
    88         /* input */
    89 #define VFFF_ISSHAREDFILE       0x0001
    90 
    91         /* output (returned) */
    92 #define VFF_CURNEDEST           0x0001
    93 #define VFF_FILEINUSE           0x0002
    94 #define VFF_BUFFTOOSMALL        0x0004
    95 
    96 /* VerInstallFile Flags */
    97         /* input */
    98 #define VIFF_FORCEINSTALL       0x0001
    99 #define VIFF_DONTDELETEOLD      0x0002
    100 
    101         /* output (return) */
    102 #define VIF_TEMPFILE            0x00000001L
    103 #define VIF_MISMATCH            0x00000002L
    104 #define VIF_SRCOLD              0x00000004L
    105 #define VIF_DIFFLANG            0x00000008L
    106 #define VIF_DIFFCODEPG          0x00000010L
    107 #define VIF_DIFFTYPE            0x00000020L
    108 #define VIF_WRITEPROT           0x00000040L
    109 #define VIF_FILEINUSE           0x00000080L
    110 #define VIF_OUTOFSPACE          0x00000100L
    111 #define VIF_ACCESSVIOLATION     0x00000200L
    112 #define VIF_SHARINGVIOLATION    0x00000400L
    113 #define VIF_CANNOTCREATE        0x00000800L
    114 #define VIF_CANNOTDELETE        0x00001000L
    115 #define VIF_CANNOTRENAME        0x00002000L
    116 #define VIF_CANNOTDELETECUR     0x00004000L
    117 #define VIF_OUTOFMEMORY         0x00008000L
    118 #define VIF_CANNOTREADSRC       0x00010000L
    119 #define VIF_CANNOTREADDST       0x00020000L
    120 #define VIF_BUFFTOOSMALL        0x00040000L
    121 
    122 typedef struct tagVS_FIXEDFILEINFO {
    123         DWORD   dwSignature;
    124         DWORD   dwStrucVersion;
    125         DWORD   dwFileVersionMS;
    126         DWORD   dwFileVersionLS;
    127         DWORD   dwProductVersionMS;
    128         DWORD   dwProductVersionLS;
    129         DWORD   dwFileFlagsMask;
    130         DWORD   dwFileFlags;
    131         DWORD   dwFileOS;
    132         DWORD   dwFileType;
    133         DWORD   dwFileSubtype;
    134         DWORD   dwFileDateMS;
    135         DWORD   dwFileDateLS;
    136 } VS_FIXEDFILEINFO;
    137 
    138 
    139 /* 20 GETFILEVERSIONINFORAW */
    140 
    141 #ifdef __WINE__
    142 
    143 DWORD WINAPI GetFileResourceSize( LPCSTR lpszFileName,
    144                                     LPCSTR lpszResType, LPCSTR lpszResId,
    145                                     LPDWORD lpdwFileOffset );
    146 DWORD WINAPI GetFileResource( LPCSTR lpszFileName,
    147                                 LPCSTR lpszResType, LPCSTR lpszResId,
    148                                 DWORD dwFileOffset,
    149                                 DWORD dwResLen, LPVOID lpvData );
    150 
    151 #endif /* __WINE__ */
     12#include "winver.h"
    15213
    15314#endif  /* __WINE_VER_H */
  • TabularUnified tags/trunk/include/win/wine/obj_base.h

    r11464 r12134  
    1 /* $Id: obj_base.h,v 1.12 1999-09-08 10:35:41 phaller Exp $ */
     1/* $Id: obj_base.h,v 1.13 1999-11-02 19:06:43 sandervl Exp $ */
    22/*
    33 * This file defines the macros and types necessary to define COM interfaces,
     
    868868 */
    869869#ifdef __WINE__
    870 HRESULT WIN32API WINE_StringFromCLSID(const CLSID *id, LPSTR);
     870HRESULT WINAPI WINE_StringFromCLSID(const CLSID *id, LPSTR);
    871871#endif
    872872
  • TabularUnified tags/trunk/include/win/winspool.h

    r10645 r12134  
    1 /* $Id: winspool.h,v 1.1 1999-05-24 20:19:23 ktk Exp $ */
    2 
     1/* $Id: winspool.h,v 1.2 1999-11-02 19:06:43 sandervl Exp $ */
    32/* Definitions for printing
    43 *
     
    2019
    2120/* DEFINES */
    22 #define INT_PD_DEFAULT_DEVMODE  1
    23 #define INT_PD_DEFAULT_MODEL    2
    2421
    2522#define PRINTER_ATTRIBUTE_QUEUED         0x00000001
     
    6057#define PRINTER_ENUM_ICON8       0x00800000
    6158
     59
     60/* various printer statuses */
     61#define PRINTER_STATUS_PAUSED            0x00000001
     62#define PRINTER_STATUS_ERROR             0x00000002
     63#define PRINTER_STATUS_PENDING_DELETION  0x00000004
     64#define PRINTER_STATUS_PAPER_JAM         0x00000008
     65#define PRINTER_STATUS_PAPER_OUT         0x00000010
     66#define PRINTER_STATUS_MANUAL_FEED       0x00000020
     67#define PRINTER_STATUS_PAPER_PROBLEM     0x00000040
     68#define PRINTER_STATUS_OFFLINE           0x00000080
     69#define PRINTER_STATUS_IO_ACTIVE         0x00000100
     70#define PRINTER_STATUS_BUSY              0x00000200
     71#define PRINTER_STATUS_PRINTING          0x00000400
     72#define PRINTER_STATUS_OUTPUT_BIN_FULL   0x00000800
     73#define PRINTER_STATUS_NOT_AVAILABLE     0x00001000
     74#define PRINTER_STATUS_WAITING           0x00002000
     75#define PRINTER_STATUS_PROCESSING        0x00004000
     76#define PRINTER_STATUS_INITIALIZING      0x00008000
     77#define PRINTER_STATUS_WARMING_UP        0x00010000
     78#define PRINTER_STATUS_TONER_LOW         0x00020000
     79#define PRINTER_STATUS_NO_TONER          0x00040000
     80#define PRINTER_STATUS_PAGE_PUNT         0x00080000
     81#define PRINTER_STATUS_USER_INTERVENTION 0x00100000
     82#define PRINTER_STATUS_OUT_OF_MEMORY     0x00200000
     83#define PRINTER_STATUS_DOOR_OPEN         0x00400000
     84#define PRINTER_STATUS_SERVER_UNKNOWN    0x00800000
     85#define PRINTER_STATUS_POWER_SAVE        0x01000000
     86
    6287/* TYPES */
    6388typedef struct _PRINTER_DEFAULTSA {
     
    109134DECL_WINELIB_TYPE_AW(PDRIVER_INFO_2)
    110135DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_2)
     136
     137typedef struct _DRIVER_INFO_3A {
     138  DWORD cVersion;
     139  LPSTR pName;
     140  LPSTR pEnvironment;
     141  LPSTR pDriverPath;
     142  LPSTR pDataFile;
     143  LPSTR pConfigFile;
     144  LPSTR pHelpFile;
     145  LPSTR pDependentFiles;
     146  LPSTR pMonitorName;
     147  LPSTR pDefaultDataType;
     148} DRIVER_INFO_3A, *PDRIVER_INFO_3A, *LPDRIVER_INFO_3A;
     149
     150typedef struct _DRIVER_INFO_3W {
     151  DWORD cVersion;
     152  LPWSTR pName;
     153  LPWSTR pEnvironment;
     154  LPWSTR pDriverPath;
     155  LPWSTR pDataFile;
     156  LPWSTR pConfigFile;
     157  LPWSTR pHelpFile;
     158  LPWSTR pDependentFiles;
     159  LPWSTR pMonitorName;
     160  LPWSTR pDefaultDataType;
     161} DRIVER_INFO_3W, *PDRIVER_INFO_3W, *LPDRIVER_INFO_3W;
     162
     163DECL_WINELIB_TYPE_AW(DRIVER_INFO_3)
     164DECL_WINELIB_TYPE_AW(PDRIVER_INFO_3)
     165DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_3)
    111166
    112167typedef struct _PRINTER_INFO_1A {
     
    221276DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_5)
    222277
     278typedef struct _JOB_INFO_1A {
     279  DWORD JobID;
     280  LPSTR pPrinterName;
     281  LPSTR pMachineName;
     282  LPSTR pUserName;
     283  LPSTR pDocument;
     284  LPSTR pDatatype;
     285  LPSTR pStatus;
     286  DWORD Status;
     287  DWORD Priority;
     288  DWORD Position;
     289  DWORD TotalPages;
     290  DWORD PagesPrinted;
     291  SYSTEMTIME Submitted;
     292} JOB_INFO_1A, *PJOB_INFO_1A, *LPJOB_INFO_1A;
     293
     294typedef struct _JOB_INFO_1W {
     295  DWORD JobID;
     296  LPWSTR pPrinterName;
     297  LPWSTR pMachineName;
     298  LPWSTR pUserName;
     299  LPWSTR pDocument;
     300  LPWSTR pDatatype;
     301  LPWSTR pStatus;
     302  DWORD Status;
     303  DWORD Priority;
     304  DWORD Position;
     305  DWORD TotalPages;
     306  DWORD PagesPrinted;
     307  SYSTEMTIME Submitted;
     308} JOB_INFO_1W, *PJOB_INFO_1W, *LPJOB_INFO_1W;
     309
     310DECL_WINELIB_TYPE_AW(JOB_INFO_1)
     311DECL_WINELIB_TYPE_AW(PJOB_INFO_1)
     312DECL_WINELIB_TYPE_AW(LPJOB_INFO_1)
     313
     314typedef struct _JOB_INFO_2A {
     315  DWORD JobID;
     316  LPSTR pPrinterName;
     317  LPSTR pMachineName;
     318  LPSTR pUserName;
     319  LPSTR pDocument;
     320  LPSTR pNotifyName;
     321  LPSTR pDatatype;
     322  LPSTR pPrintProcessor;
     323  LPSTR pParameters;
     324  LPSTR pDriverName;
     325  LPDEVMODEA pDevMode;
     326  LPSTR pStatus;
     327  PSECURITY_DESCRIPTOR pSecurityDescriptor;
     328  DWORD Status;
     329  DWORD Priority;
     330  DWORD Position;
     331  DWORD StartTime;
     332  DWORD UntilTime;
     333  DWORD TotalPages;
     334  DWORD Size;
     335  SYSTEMTIME Submitted;
     336  DWORD Time;
     337  DWORD PagesPrinted;
     338} JOB_INFO_2A, *PJOB_INFO_2A, *LPJOB_INFO_2A;
     339 
     340typedef struct _JOB_INFO_2W {
     341  DWORD JobID;
     342  LPWSTR pPrinterName;
     343  LPWSTR pMachineName;
     344  LPWSTR pUserName;
     345  LPWSTR pDocument;
     346  LPWSTR pNotifyName;
     347  LPWSTR pDatatype;
     348  LPWSTR pPrintProcessor;
     349  LPWSTR pParameters;
     350  LPWSTR pDriverName;
     351  LPDEVMODEW pDevMode;
     352  LPWSTR pStatus;
     353  PSECURITY_DESCRIPTOR pSecurityDescriptor;
     354  DWORD Status;
     355  DWORD Priority;
     356  DWORD Position;
     357  DWORD StartTime;
     358  DWORD UntilTime;
     359  DWORD TotalPages;
     360  DWORD Size;
     361  SYSTEMTIME Submitted;
     362  DWORD Time;
     363  DWORD PagesPrinted;
     364} JOB_INFO_2W, *PJOB_INFO_2W, *LPJOB_INFO_2W;
     365 
     366DECL_WINELIB_TYPE_AW(JOB_INFO_2)
     367DECL_WINELIB_TYPE_AW(PJOB_INFO_2)
     368DECL_WINELIB_TYPE_AW(LPJOB_INFO_2)
    223369typedef struct _PRINTER_NOTIFY_INFO_DATA {
    224370    WORD Type;
     
    243389} PRINTER_NOTIFY_INFO, *PPRINTER_NOTIFY_INFO, *LPPRINTER_NOTIFY_INFO;
    244390
     391
    245392#endif /* Status */
    246393
     394 
     395
    247396/* DECLARATIONS */
    248 DWORD WINAPI DrvGetPrinterData16(LPSTR lpPrinter, LPSTR lpProfile,
    249           LPDWORD lpType, LPBYTE lpPrinterData, int cbData, LPDWORD lpNeeded);
    250 DWORD WINAPI DrvSetPrinterData16(LPSTR lpPrinter, LPSTR lpProfile,
    251           DWORD lpType, LPBYTE lpPrinterData, DWORD dwSize);
    252 HANDLE16 WINAPI OpenJob16(LPSTR lpOutput, LPSTR lpTitle, HDC16 hDC);
    253 int WINAPI CloseJob16(HANDLE16 hJob);
    254 int WINAPI WriteSpool16(HANDLE16 hJob, LPSTR lpData, WORD cch);
    255 int WINAPI DeleteJob16(HANDLE16 hJob, WORD wNotUsed);
    256 int WINAPI StartSpoolPage16(HANDLE16 hJob);
    257 int WINAPI EndSpoolPage16(HANDLE16 hJob);
    258 DWORD WINAPI GetSpoolJob16(int nOption, LONG param);
    259 int WINAPI WriteDialog16(HANDLE16 hJob, LPSTR lpMsg, WORD cchMsg);
    260 
    261 INT WINAPI DeviceCapabilitiesA(LPCSTR printer,LPCSTR target,WORD z,
    262                                    LPSTR a,LPDEVMODEA b);
     397INT WINAPI DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort,WORD fwCapability,
     398                               LPSTR pOutput, LPDEVMODEA pDevMode);
    263399INT WINAPI DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort,
    264                                    WORD fwCapability, LPWSTR pOutput,
    265                                    const DEVMODEW *pDevMode);
     400                               WORD fwCapability, LPWSTR pOutput,
     401                               const DEVMODEW *pDevMode);
    266402
    267403#define DeviceCapabilities WINELIB_NAME_AW(DeviceCapabilities)
     
    285421
    286422BOOL WINAPI ClosePrinter (HANDLE phPrinter);
     423
     424BOOL WINAPI EnumJobsA(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs,
     425                      DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded,
     426                      LPDWORD pcReturned);
     427BOOL WINAPI EnumJobsW(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs,
     428                      DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded,
     429                      LPDWORD pcReturned);
     430#define EnumJobs WINELIB_NAME_AW(EnumJobs)
    287431
    288432BOOL  WINAPI EnumPrintersA(DWORD dwType, LPSTR lpszName,
     
    298442BOOL WINAPI PrinterProperties(HWND hWnd, HANDLE hPrinter);
    299443
     444BOOL WINAPI GetPrinterDriverDirectoryA(LPSTR,LPSTR,DWORD,LPBYTE,DWORD,LPDWORD);
     445BOOL WINAPI GetPrinterDriverDirectoryW(LPWSTR,LPWSTR,DWORD,LPBYTE,DWORD,LPDWORD);
     446#define GetPrinterDriverDirectory WINELIB_NAME_AW(GetPrinterDriverDirectory)
     447
     448BOOL WINAPI GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment,
     449                              DWORD Level, LPBYTE pDriverInfo,
     450                              DWORD cbBuf, LPDWORD pcbNeeded);
     451BOOL WINAPI GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment,
     452                              DWORD Level, LPBYTE pDriverInfo,
     453                              DWORD cbBuf, LPDWORD pcbNeeded);
     454#define GetPrinterDriver WINELIB_NAME_AW(GetPrinterDriver)
     455
    300456#ifdef __cplusplus
    301457} /* extern "C" */
  • TabularUnified tags/trunk/include/win/winver.h

    r11561 r12134  
    1 /* $Id: winver.h,v 1.4 1999-09-18 15:55:45 sandervl Exp $ */
     1/* $Id: winver.h,v 1.5 1999-11-02 19:06:43 sandervl Exp $ */
     2/* Definitions for the VERsion infolibrary (VER.DLL)
     3 *
     4 * Copyright 1996 Marcus Meissner
     5 */
    26
    37#ifndef __WINE_WINVER_H
     
    610#include "windef.h"
    711
    8 // enable C linkage to avoid parameter mangling
    9 #ifdef __cplusplus__
     12#ifdef __cplusplus
    1013extern "C" {
    11 #endif
     14#endif /* defined(__cplusplus) */
     15
     16/* resource ids for different version infos */
     17/* These are internal resources for win16, but simple numbers in win32 */
     18/* All win32 defines should be moved to winver.h */
     19#define VS_FILE_INFO16          MAKEINTRESOURCE16(16)
     20#define VS_VERSION_INFO16       MAKEINTRESOURCE16(1)
     21#define VS_USER_INFO16          MAKEINTRESOURCE16(100)
     22
     23#define VS_FILE_INFO            16
     24#define VS_VERSION_INFO         1
     25#define VS_USER_INFO            100
     26
     27#define VS_FFI_SIGNATURE        0xfeef04bdL     /* FileInfo Magic */
     28#define VS_FFI_STRUCVERSION     0x00010000L     /* struc version 1.0 */
     29#define VS_FFI_FILEFLAGSMASK    0x0000003fL     /* valid flags */
     30
     31/* VS_VERSION.dwFileFlags */
     32#define VS_FF_DEBUG             0x01L
     33#define VS_FF_PRERELEASE        0x02L
     34#define VS_FF_PATCHED           0x04L
     35#define VS_FF_PRIVATEBUILD      0x08L
     36#define VS_FF_INFOINFERRED      0x10L
     37#define VS_FF_SPECIALBUILD      0x20L
     38
     39/* VS_VERSION.dwFileOS */
     40
     41/* major os version */
     42#define VOS_UNKNOWN             0x00000000L
     43#define VOS_DOS                 0x00010000L
     44#define VOS_OS216               0x00020000L
     45#define VOS_OS232               0x00030000L
     46#define VOS_NT                  0x00040000L
     47
     48/* minor os version */
     49#define VOS__BASE               0x00000000L
     50#define VOS__WINDOWS16          0x00000001L
     51#define VOS__PM16               0x00000002L
     52#define VOS__PM32               0x00000003L
     53#define VOS__WINDOWS32          0x00000004L
     54
     55/* possible versions */
     56#define VOS_DOS_WINDOWS16       (VOS_DOS|VOS__WINDOWS16)
     57#define VOS_DOS_WINDOWS32       (VOS_DOS|VOS__WINDOWS32)
     58#define VOS_OS216_PM16          (VOS_OS216|VOS__PM16)
     59#define VOS_OS232_PM32          (VOS_OS232|VOS__PM32)
     60#define VOS_NT_WINDOWS32        (VOS_NT|VOS__WINDOWS32)
     61
     62/* VS_VERSION.dwFileType */
     63#define VFT_UNKNOWN             0x00000000L
     64#define VFT_APP                 0x00000001L
     65#define VFT_DLL                 0x00000002L
     66#define VFT_DRV                 0x00000003L
     67#define VFT_FONT                0x00000004L
     68#define VFT_VXD                 0x00000005L
     69/* ??one type missing??         0x00000006L -Marcus */
     70#define VFT_STATIC_LIB          0x00000007L
     71
     72/* VS_VERSION.dwFileSubtype for VFT_DRV */
     73#define VFT2_UNKNOWN            0x00000000L
     74#define VFT2_DRV_PRINTER        0x00000001L
     75#define VFT2_DRV_KEYBOARD       0x00000002L
     76#define VFT2_DRV_LANGUAGE       0x00000003L
     77#define VFT2_DRV_DISPLAY        0x00000004L
     78#define VFT2_DRV_MOUSE          0x00000005L
     79#define VFT2_DRV_NETWORK        0x00000006L
     80#define VFT2_DRV_SYSTEM         0x00000007L
     81#define VFT2_DRV_INSTALLABLE    0x00000008L
     82#define VFT2_DRV_SOUND          0x00000009L
     83#define VFT2_DRV_COMM           0x0000000aL
     84#define VFT2_DRV_INPUTMETHOD    0x0000000bL
     85
     86/* VS_VERSION.dwFileSubtype for VFT_FONT */
     87#define VFT2_FONT_RASTER        0x00000001L
     88#define VFT2_FONT_VECTOR        0x00000002L
     89#define VFT2_FONT_TRUETYPE      0x00000003L
     90
     91/* VerFindFile Flags */
     92        /* input */
     93#define VFFF_ISSHAREDFILE       0x0001
     94
     95        /* output (returned) */
     96#define VFF_CURNEDEST           0x0001
     97#define VFF_FILEINUSE           0x0002
     98#define VFF_BUFFTOOSMALL        0x0004
     99
     100/* VerInstallFile Flags */
     101        /* input */
     102#define VIFF_FORCEINSTALL       0x0001
     103#define VIFF_DONTDELETEOLD      0x0002
     104
     105        /* output (return) */
     106#define VIF_TEMPFILE            0x00000001L
     107#define VIF_MISMATCH            0x00000002L
     108#define VIF_SRCOLD              0x00000004L
     109#define VIF_DIFFLANG            0x00000008L
     110#define VIF_DIFFCODEPG          0x00000010L
     111#define VIF_DIFFTYPE            0x00000020L
     112#define VIF_WRITEPROT           0x00000040L
     113#define VIF_FILEINUSE           0x00000080L
     114#define VIF_OUTOFSPACE          0x00000100L
     115#define VIF_ACCESSVIOLATION     0x00000200L
     116#define VIF_SHARINGVIOLATION    0x00000400L
     117#define VIF_CANNOTCREATE        0x00000800L
     118#define VIF_CANNOTDELETE        0x00001000L
     119#define VIF_CANNOTRENAME        0x00002000L
     120#define VIF_CANNOTDELETECUR     0x00004000L
     121#define VIF_OUTOFMEMORY         0x00008000L
     122#define VIF_CANNOTREADSRC       0x00010000L
     123#define VIF_CANNOTREADDST       0x00020000L
     124#define VIF_BUFFTOOSMALL        0x00040000L
     125
     126typedef struct tagVS_FIXEDFILEINFO {
     127        DWORD   dwSignature;
     128        DWORD   dwStrucVersion;
     129        DWORD   dwFileVersionMS;
     130        DWORD   dwFileVersionLS;
     131        DWORD   dwProductVersionMS;
     132        DWORD   dwProductVersionLS;
     133        DWORD   dwFileFlagsMask;
     134        DWORD   dwFileFlags;
     135        DWORD   dwFileOS;
     136        DWORD   dwFileType;
     137        DWORD   dwFileSubtype;
     138        DWORD   dwFileDateMS;
     139        DWORD   dwFileDateLS;
     140} VS_FIXEDFILEINFO;
    12141
    13142
    14 DWORD       WINAPI VerFindFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,PUINT,LPSTR,PUINT);
    15 DWORD       WINAPI VerFindFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT,LPWSTR,PUINT);
     143#ifndef RC_INVOKED
     144
     145/* function prototypes */
     146
     147DWORD       WINAPI VerFindFile16(UINT16,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT16*,LPSTR,UINT16*);
     148DWORD       WINAPI VerFindFileA(UINT,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT*,LPSTR,UINT*);
     149DWORD       WINAPI VerFindFileW(UINT,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT*,LPWSTR,UINT*);
    16150#define     VerFindFile WINELIB_NAME_AW(VerFindFile)
    17 
    18 DWORD       WINAPI VerInstallFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,PUINT);
    19 DWORD       WINAPI VerInstallFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT);
     151DWORD       WINAPI VerInstallFile16(UINT16,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT16*);
     152DWORD       WINAPI VerInstallFileA(UINT,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT*);
     153DWORD       WINAPI VerInstallFileW(UINT,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT*);
    20154#define     VerInstallFile WINELIB_NAME_AW(VerInstallFile)
    21 
    22 DWORD       WINAPI VerQueryValueA(LPVOID,LPSTR,LPVOID*,PUINT);
    23 DWORD       WINAPI VerQueryValueW(LPVOID,LPWSTR,LPVOID*,PUINT);
     155DWORD       WINAPI VerLanguageName16(UINT16,LPSTR,UINT16);
     156DWORD       WINAPI VerQueryValue16(SEGPTR,LPCSTR,SEGPTR*,UINT16*);
     157DWORD       WINAPI VerQueryValueA(LPVOID,LPCSTR,LPVOID*,UINT*);
     158DWORD       WINAPI VerQueryValueW(LPVOID,LPCWSTR,LPVOID*,UINT*);
    24159#define     VerQueryValue WINELIB_NAME_AW(VerQueryValue)
    25 
    26 DWORD       WINAPI GetFileVersionInfoSizeA(LPSTR,LPDWORD);
    27 DWORD       WINAPI GetFileVersionInfoSizeW(LPWSTR,LPDWORD);
     160DWORD       WINAPI GetFileVersionInfoSize16(LPCSTR,LPDWORD);
     161DWORD       WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD);
     162DWORD       WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD);
    28163#define     GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize)
    29 
    30 BOOL        WINAPI GetFileVersionInfoA(LPSTR,DWORD,DWORD,LPVOID);
    31 BOOL        WINAPI GetFileVersionInfoW(LPWSTR,DWORD,DWORD,LPVOID);
     164DWORD       WINAPI GetFileVersionInfo16(LPCSTR,DWORD,DWORD,LPVOID);
     165DWORD       WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID);
     166DWORD       WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID);
    32167#define     GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo)
    33168
    34 // enable C linkage to avoid parameter mangling
    35 #ifdef __cplusplus__
    36   }
    37 #endif
     169/* 20 GETFILEVERSIONINFORAW */
    38170
     171#ifdef __WINE__
     172
     173DWORD WINAPI GetFileResourceSize( LPCSTR lpszFileName,
     174                                    LPCSTR lpszResType, LPCSTR lpszResId,
     175                                    LPDWORD lpdwFileOffset );
     176DWORD WINAPI GetFileResource( LPCSTR lpszFileName,
     177                                LPCSTR lpszResType, LPCSTR lpszResId,
     178                                DWORD dwFileOffset,
     179                                DWORD dwResLen, LPVOID lpvData );
     180
     181#endif /* __WINE__ */
     182
     183#endif /* RC_INVOKED */
     184
     185#ifdef __cplusplus
     186} /* extern "C" */
     187#endif /* defined(__cplusplus) */
    39188
    40189#endif /* __WINE_WINVER_H */
Note: See TracChangeset for help on using the changeset viewer.