Changeset 12134
- Timestamp:
- Nov 2, 1999, 8:06:43 PM (25 years ago)
- 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 /* 4 3 * COMMDLG - Common Wine Dialog ... :-) 5 4 */ … … 14 13 #include "windef.h" /* needed for CHOOSEFONT structure */ 15 14 #include "winuser.h" 15 #include "pshpack1.h" 16 16 17 17 #define OFN_READONLY 0x00000001 … … 32 32 #define OFN_NOREADONLYRETURN 0x00008000 33 33 #define OFN_NOTESTFILECREATE 0x00010000 34 #define OFN_NONETWORKBUTTON 0x00020000 34 #define OFN_NONETWORKBUTTON 0x00020000 35 35 #define OFN_NOLONGNAMES 0x00040000 36 36 #define OFN_EXPLORER 0x00080000 … … 45 45 #define OFN_SHARENOWARN 1 46 46 #define OFN_SHAREWARN 0 47 48 #define SAVE_DIALOG 1 49 #define OPEN_DIALOG 2 50 51 typedef UINT16 (CALLBACK *LPOFNHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM); 52 typedef UINT (CALLBACK *LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM); 47 53 48 54 typedef struct { … … 65 71 SEGPTR lpstrDefExt; 66 72 LPARAM lCustData; 67 WNDPROC16lpfnHook;73 LPOFNHOOKPROC16 lpfnHook; 68 74 SEGPTR lpTemplateName; 69 75 } OPENFILENAME16,*LPOPENFILENAME16; … … 88 94 LPCSTR lpstrDefExt; 89 95 LPARAM lCustData; 90 WNDPROC lpfnHook;96 LPOFNHOOKPROC lpfnHook; 91 97 LPCSTR lpTemplateName; 92 98 } OPENFILENAMEA,*LPOPENFILENAMEA; … … 111 117 LPCWSTR lpstrDefExt; 112 118 LPARAM lCustData; 113 WNDPROC lpfnHook;119 LPOFNHOOKPROC lpfnHook; 114 120 LPCWSTR lpTemplateName; 115 121 } OPENFILENAMEW,*LPOPENFILENAMEW; … … 134 140 DECL_WINELIB_TYPE_AW(OFNOTIFY) 135 141 DECL_WINELIB_TYPE_AW(LPOFNOTIFY) 136 137 typedef UINT (* CALLBACK LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 142 143 typedef UINT16 (CALLBACK *LPCCHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM); 144 typedef UINT (CALLBACK *LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 138 145 139 146 typedef struct { … … 145 152 DWORD Flags; 146 153 LPARAM lCustData; 147 WNDPROC16lpfnHook;154 LPCCHOOKPROC16 lpfnHook; 148 155 SEGPTR lpTemplateName; 149 156 } CHOOSECOLOR16; … … 187 194 #define CC_ENABLETEMPLATE 0x00000020 188 195 #define CC_ENABLETEMPLATEHANDLE 0x00000040 196 197 typedef UINT16 (CALLBACK *LPFRHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM); 198 typedef UINT (CALLBACK *LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM); 189 199 190 200 typedef struct { … … 199 209 UINT16 wReplaceWithLen; /* size of replace buffer */ 200 210 LPARAM lCustData; /* data passed to hook fn. */ 201 WNDPROC16lpfnHook;211 LPFRHOOKPROC16 lpfnHook; 202 212 SEGPTR lpTemplateName; /* custom template name */ 203 213 } FINDREPLACE16, *LPFINDREPLACE16; … … 214 224 WORD wReplaceWithLen; 215 225 LPARAM lCustData; 216 WNDPROClpfnHook;226 LPFRHOOKPROC lpfnHook; 217 227 LPCSTR lpTemplateName; 218 228 } FINDREPLACEA, *LPFINDREPLACEA; … … 229 239 WORD wReplaceWithLen; 230 240 LPARAM lCustData; 231 WNDPROClpfnHook;241 LPFRHOOKPROC lpfnHook; 232 242 LPCWSTR lpTemplateName; 233 243 } FINDREPLACEW, *LPFINDREPLACEW; … … 254 264 #define FR_HIDEWHOLEWORD 0x00010000 255 265 256 257 #include "pshpack1.h" 258 259 typedef struct 266 typedef UINT16 (CALLBACK *LPCFHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM); 267 typedef UINT (CALLBACK *LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM); 268 269 typedef struct 260 270 { 261 271 DWORD lStructSize; … … 264 274 SEGPTR lpLogFont; /* ptr. to a LOGFONT struct */ 265 275 short iPointSize; /* 10 * size in points of selected font */ 266 DWORD Flags WINE_PACKED; /* enum. type flags */276 DWORD Flags; /* enum. type flags */ 267 277 COLORREF rgbColors; /* returned text color */ 268 278 LPARAM lCustData; /* data passed to hook fn. */ 269 WNDPROC16lpfnHook;279 LPCFHOOKPROC16 lpfnHook; 270 280 SEGPTR lpTemplateName; /* custom template name */ 271 281 HINSTANCE16 hInstance; /* instance handle of.EXE that */ 272 282 /* contains cust. dlg. template */ 273 SEGPTR lpszStyle WINE_PACKED; /* return the style field here */283 SEGPTR lpszStyle; /* return the style field here */ 274 284 /* must be LF_FACESIZE or bigger */ 275 285 UINT16 nFontType; /* same value reported to the */ 276 286 /* EnumFonts callback with the */ 277 287 /* 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 */ 280 290 /* CF_LIMITSIZE is used */ 281 291 } CHOOSEFONT16, *LPCHOOSEFONT16; … … 284 294 typedef struct 285 295 { 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; 302 312 } CHOOSEFONTA, *LPCHOOSEFONTA; 303 313 304 314 typedef struct 305 315 { 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; 322 332 } CHOOSEFONTW, *LPCHOOSEFONTW; 323 333 324 334 DECL_WINELIB_TYPE_AW(CHOOSEFONT) 325 335 DECL_WINELIB_TYPE_AW(LPCHOOSEFONT) 326 327 #include "poppack.h"328 336 329 337 #define CF_SCREENFONTS 0x00000001 … … 402 410 #define CDM_SETDEFEXT (CDM_FIRST + 0x0006) 403 411 412 typedef UINT16 (CALLBACK *LPPRINTHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM); 413 typedef UINT (CALLBACK *LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 414 415 typedef UINT16 (CALLBACK *LPSETUPHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM); 416 typedef UINT (CALLBACK *LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 417 404 418 typedef struct 405 419 { … … 417 431 HINSTANCE16 hInstance; 418 432 LPARAM lCustData; 419 WNDPROC16lpfnPrintHook;420 WNDPROC16lpfnSetupHook;433 LPPRINTHOOKPROC16 lpfnPrintHook; 434 LPSETUPHOOKPROC16 lpfnSetupHook; 421 435 SEGPTR lpPrintTemplateName; 422 436 SEGPTR lpSetupTemplateName; … … 424 438 HGLOBAL16 hSetupTemplate; 425 439 } PRINTDLG16, *LPPRINTDLG16; 426 427 typedef UINT (* CALLBACK LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM);428 typedef UINT (* CALLBACK LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM);429 440 430 441 typedef struct tagPDA … … 497 508 #define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000 498 509 #define PD_USEDEVMODECOPIES 0x00040000 510 #define PD_USEDEVMODECOPIESANDCOLLATE 0x00040000 499 511 #define PD_DISABLEPRINTTOFILE 0x00080000 500 512 #define PD_HIDEPRINTTOFILE 0x00100000 501 502 #ifndef __WINE_DOCOBJ_H503 typedef enum __MIDL_IPrint_0001504 {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 = 64512 } PRINTFLAG;513 #endif514 513 515 514 typedef struct { … … 532 531 #define WM_PSD_YAFULLPAGERECT (WM_USER+6) 533 532 534 typedef UINT ( * CALLBACKLPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM );535 typedef UINT ( * CALLBACKLPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM );533 typedef UINT (CALLBACK* LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM ); 534 typedef UINT (CALLBACK* LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM ); 536 535 537 536 typedef struct tagPSDA … … 609 608 BOOL WINAPI GetOpenFileNameA(LPOPENFILENAMEA ofn); 610 609 BOOL WINAPI GetOpenFileNameW(LPOPENFILENAMEW ofn); 610 BOOL WINAPI GetFileDialog95A(LPOPENFILENAMEA ofn,UINT iDlgType); 611 BOOL WINAPI GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType); 611 612 #define GetOpenFileName WINELIB_NAME_AW(GetOpenFileName) 612 613 BOOL16 WINAPI GetSaveFileName16(SEGPTR ofn); … … 633 634 LRESULT WINAPI ColorDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam); 634 635 LRESULT 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)638 636 LRESULT 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)642 637 LRESULT WINAPI PrintDlgProc16(HWND16 hWnd, UINT16 wMsg, WPARAM16 wParam, LPARAM lParam); 643 638 LRESULT WINAPI PrintDlgProcA(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam); … … 649 644 #define FormatCharDlgProc WINELIB_NAME_AW(FormatCharDlgProc) 650 645 651 void COMDLG32_SetCommDlgExtendedError(DWORD err); 646 void COMDLG32_SetCommDlgExtendedError(DWORD err); 647 648 649 #include "poppack.h" 652 650 653 651 #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 $ */ 3 2 /****************************************************************************** 4 3 * dlgs.h - Common dialog's dialog control ID numbers * … … 186 185 #define FORMATDLGORD30 1544 187 186 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 188 217 #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:19sandervl Exp $ */1 /* $Id: shellapi.h,v 1.7 1999-11-02 19:06:42 sandervl Exp $ */ 2 2 3 3 #ifndef _WINE_SHELLAPI_H … … 187 187 } SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW; 188 188 189 DWORD WIN 32API SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp);190 DWORD WIN 32API SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp);189 DWORD WINAPI SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp); 190 DWORD WINAPI SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp); 191 191 192 192 -
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 $ */ 3 2 #ifndef __WINE_SHLOBJ_H 4 3 #define __WINE_SHLOBJ_H … … 25 24 #include "prsht.h" 26 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif /* defined(__cplusplus) */ 29 27 30 /***************************************************************************** 28 31 * Predeclare interfaces … … 44 47 { UINT cidl; 45 48 UINT aoffset[1]; 46 } CIDA, *LPCIDA ;49 } CIDA, *LPCIDA,*LPIDA; 47 50 48 51 #define CFSTR_SHELLIDLISTOFFSET "Shell Object Offsets" /* CF_OBJECTPOSITIONS */ … … 135 138 #define SEE_MASK_HMONITOR 0x00200000 136 139 137 /*************************************138 * code that is shared with shlobj.h *139 *************************************/140 141 140 #ifndef _WINE_SHELLAPI_H 142 143 141 typedef struct _SHELLEXECUTEINFOA 144 142 { DWORD cbSize; … … 156 154 HKEY hkeyClass; 157 155 DWORD dwHotKey; 158 union 156 union 159 157 { HANDLE hIcon; 160 158 HANDLE hMonitor; … … 184 182 HANDLE hProcess; 185 183 } SHELLEXECUTEINFOW, *LPSHELLEXECUTEINFOW; 184 #endif 186 185 187 186 #define SHELLEXECUTEINFO WINELIB_NAME_AW(SHELLEXECUTEINFO) 188 187 #define LPSHELLEXECUTEINFO WINELIB_NAME_AW(LPSHELLEXECUTEINFO) 189 190 #endif /* __WINE_SHELLAPI_H */191 192 188 193 189 BOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo); … … 226 222 LPARAM lParam; 227 223 INT iImage; 228 } BROWSEINFOW, *PBROWSEINFOW, *LPBROWSEINFOW; 224 } BROWSEINFOW, *PBROWSEINFOW, *LPBROWSEINFOW; 229 225 230 226 #define BROWSEINFO WINELIB_NAME_AW(BROWSEINFO) … … 239 235 #define BIF_EDITBOX 0x0010 240 236 #define BIF_VALIDATE 0x0020 241 237 242 238 #define BIF_BROWSEFORCOMPUTER 0x1000 243 239 #define BIF_BROWSEFORPRINTER 0x2000 … … 255 251 #define BFFM_SETSELECTIONA (WM_USER+102) 256 252 #define BFFM_SETSELECTIONW (WM_USER+103) 257 #define BFFM_SETSELECTION WINELIB_NAME_AW(BFFM_SETSELECTION)258 259 253 #define BFFM_SETSTATUSTEXTW (WM_USER+104) 260 254 … … 271 265 #define BFFM_SETSELECTION BFFM_SETSELECTIONA 272 266 273 #define BFFM_VALIDATEFAILED BFFM_VALIDATEFAILEDA 274 #endif 267 #define BFFM_VALIDATEFAILED BFFM_VALIDATEFAILEDA 268 #endif 275 269 */ 276 270 … … 304 298 #define SHDID_NET_OTHER 17 305 299 306 typedef struct _SHDESCRIPTIONID 300 typedef struct _SHDESCRIPTIONID 307 301 { DWORD dwDescriptionId; 308 302 CLSID clsid; … … 311 305 HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb); 312 306 HRESULT 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 309 BOOL WINAPI SHGetSpecialFolderPathA (HWND hwndOwner,LPSTR szPath,DWORD csidl,BOOL bCreate); 310 BOOL WINAPI SHGetSpecialFolderPathW (HWND hwndOwner,LPWSTR szPath,DWORD csidl,BOOL bCreate); 311 #define SHGetSpecialFolderPath WINELIB_NAME_AW(SHGetSpecialFolderPath) 312 313 HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDLIST * ppidl); 314 314 315 315 /**************************************************************************** … … 323 323 * are happening to the shellview (and ask for things too). 324 324 * 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 326 326 * handle, the shell will do itself if you just return E_NOTIMPL. This parameters 327 327 * that the shell passes to this function are entirely undocumented. … … 415 415 /**********************************************************************/ 416 416 417 #ifdef __cplusplus 418 } /* extern "C" */ 419 #endif /* defined(__cplusplus) */ 420 417 421 #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:45sandervl Exp $ */1 /* $Id: tchar.h,v 1.3 1999-11-02 19:06:43 sandervl Exp $ */ 2 2 3 3 #ifndef __WINE_TCHAR_H … … 255 255 #define __T(x) x 256 256 257 #endif //__WIN32OS2__258 259 257 typedef CHAR _TCHARA; 260 258 typedef WCHAR _TCHARW; … … 275 273 } /* extern "C" */ 276 274 #endif 275 276 #endif //__WIN32OS2__ 277 277 278 278 #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 $ */ 3 2 /* Definitions for the VERsion infolibrary (VER.DLL) 4 3 * 5 4 * 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 6 8 */ 7 9 #ifndef __WINE_VER_H 8 10 #define __WINE_VER_H 9 11 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" 152 13 153 14 #endif /* __WINE_VER_H */ -
TabularUnified tags/trunk/include/win/wine/obj_base.h ¶
r11464 r12134 1 /* $Id: obj_base.h,v 1.1 2 1999-09-08 10:35:41 phallerExp $ */1 /* $Id: obj_base.h,v 1.13 1999-11-02 19:06:43 sandervl Exp $ */ 2 2 /* 3 3 * This file defines the macros and types necessary to define COM interfaces, … … 868 868 */ 869 869 #ifdef __WINE__ 870 HRESULT WIN 32API WINE_StringFromCLSID(const CLSID *id, LPSTR);870 HRESULT WINAPI WINE_StringFromCLSID(const CLSID *id, LPSTR); 871 871 #endif 872 872 -
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 $ */ 3 2 /* Definitions for printing 4 3 * … … 20 19 21 20 /* DEFINES */ 22 #define INT_PD_DEFAULT_DEVMODE 123 #define INT_PD_DEFAULT_MODEL 224 21 25 22 #define PRINTER_ATTRIBUTE_QUEUED 0x00000001 … … 60 57 #define PRINTER_ENUM_ICON8 0x00800000 61 58 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 62 87 /* TYPES */ 63 88 typedef struct _PRINTER_DEFAULTSA { … … 109 134 DECL_WINELIB_TYPE_AW(PDRIVER_INFO_2) 110 135 DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_2) 136 137 typedef 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 150 typedef 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 163 DECL_WINELIB_TYPE_AW(DRIVER_INFO_3) 164 DECL_WINELIB_TYPE_AW(PDRIVER_INFO_3) 165 DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_3) 111 166 112 167 typedef struct _PRINTER_INFO_1A { … … 221 276 DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_5) 222 277 278 typedef 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 294 typedef 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 310 DECL_WINELIB_TYPE_AW(JOB_INFO_1) 311 DECL_WINELIB_TYPE_AW(PJOB_INFO_1) 312 DECL_WINELIB_TYPE_AW(LPJOB_INFO_1) 313 314 typedef 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 340 typedef 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 366 DECL_WINELIB_TYPE_AW(JOB_INFO_2) 367 DECL_WINELIB_TYPE_AW(PJOB_INFO_2) 368 DECL_WINELIB_TYPE_AW(LPJOB_INFO_2) 223 369 typedef struct _PRINTER_NOTIFY_INFO_DATA { 224 370 WORD Type; … … 243 389 } PRINTER_NOTIFY_INFO, *PPRINTER_NOTIFY_INFO, *LPPRINTER_NOTIFY_INFO; 244 390 391 245 392 #endif /* Status */ 246 393 394 395 247 396 /* 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); 397 INT WINAPI DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort,WORD fwCapability, 398 LPSTR pOutput, LPDEVMODEA pDevMode); 263 399 INT WINAPI DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort, 264 265 400 WORD fwCapability, LPWSTR pOutput, 401 const DEVMODEW *pDevMode); 266 402 267 403 #define DeviceCapabilities WINELIB_NAME_AW(DeviceCapabilities) … … 285 421 286 422 BOOL WINAPI ClosePrinter (HANDLE phPrinter); 423 424 BOOL WINAPI EnumJobsA(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, 425 DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, 426 LPDWORD pcReturned); 427 BOOL 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) 287 431 288 432 BOOL WINAPI EnumPrintersA(DWORD dwType, LPSTR lpszName, … … 298 442 BOOL WINAPI PrinterProperties(HWND hWnd, HANDLE hPrinter); 299 443 444 BOOL WINAPI GetPrinterDriverDirectoryA(LPSTR,LPSTR,DWORD,LPBYTE,DWORD,LPDWORD); 445 BOOL WINAPI GetPrinterDriverDirectoryW(LPWSTR,LPWSTR,DWORD,LPBYTE,DWORD,LPDWORD); 446 #define GetPrinterDriverDirectory WINELIB_NAME_AW(GetPrinterDriverDirectory) 447 448 BOOL WINAPI GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment, 449 DWORD Level, LPBYTE pDriverInfo, 450 DWORD cbBuf, LPDWORD pcbNeeded); 451 BOOL WINAPI GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, 452 DWORD Level, LPBYTE pDriverInfo, 453 DWORD cbBuf, LPDWORD pcbNeeded); 454 #define GetPrinterDriver WINELIB_NAME_AW(GetPrinterDriver) 455 300 456 #ifdef __cplusplus 301 457 } /* 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 */ 2 6 3 7 #ifndef __WINE_WINVER_H … … 6 10 #include "windef.h" 7 11 8 // enable C linkage to avoid parameter mangling 9 #ifdef __cplusplus__ 12 #ifdef __cplusplus 10 13 extern "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 126 typedef 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; 12 141 13 142 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 147 DWORD WINAPI VerFindFile16(UINT16,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT16*,LPSTR,UINT16*); 148 DWORD WINAPI VerFindFileA(UINT,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT*,LPSTR,UINT*); 149 DWORD WINAPI VerFindFileW(UINT,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT*,LPWSTR,UINT*); 16 150 #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);151 DWORD WINAPI VerInstallFile16(UINT16,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT16*); 152 DWORD WINAPI VerInstallFileA(UINT,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT*); 153 DWORD WINAPI VerInstallFileW(UINT,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT*); 20 154 #define VerInstallFile WINELIB_NAME_AW(VerInstallFile) 21 22 DWORD WINAPI VerQueryValueA(LPVOID,LPSTR,LPVOID*,PUINT); 23 DWORD WINAPI VerQueryValueW(LPVOID,LPWSTR,LPVOID*,PUINT); 155 DWORD WINAPI VerLanguageName16(UINT16,LPSTR,UINT16); 156 DWORD WINAPI VerQueryValue16(SEGPTR,LPCSTR,SEGPTR*,UINT16*); 157 DWORD WINAPI VerQueryValueA(LPVOID,LPCSTR,LPVOID*,UINT*); 158 DWORD WINAPI VerQueryValueW(LPVOID,LPCWSTR,LPVOID*,UINT*); 24 159 #define VerQueryValue WINELIB_NAME_AW(VerQueryValue) 25 26 DWORD WINAPI GetFileVersionInfoSizeA(LP STR,LPDWORD);27 DWORD WINAPI GetFileVersionInfoSizeW(LP WSTR,LPDWORD);160 DWORD WINAPI GetFileVersionInfoSize16(LPCSTR,LPDWORD); 161 DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR,LPDWORD); 162 DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR,LPDWORD); 28 163 #define GetFileVersionInfoSize WINELIB_NAME_AW(GetFileVersionInfoSize) 29 30 BOOL WINAPI GetFileVersionInfoA(LPSTR,DWORD,DWORD,LPVOID);31 BOOL WINAPI GetFileVersionInfoW(LPWSTR,DWORD,DWORD,LPVOID);164 DWORD WINAPI GetFileVersionInfo16(LPCSTR,DWORD,DWORD,LPVOID); 165 DWORD WINAPI GetFileVersionInfoA(LPCSTR,DWORD,DWORD,LPVOID); 166 DWORD WINAPI GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID); 32 167 #define GetFileVersionInfo WINELIB_NAME_AW(GetFileVersionInfo) 33 168 34 // enable C linkage to avoid parameter mangling 35 #ifdef __cplusplus__ 36 } 37 #endif 169 /* 20 GETFILEVERSIONINFORAW */ 38 170 171 #ifdef __WINE__ 172 173 DWORD WINAPI GetFileResourceSize( LPCSTR lpszFileName, 174 LPCSTR lpszResType, LPCSTR lpszResId, 175 LPDWORD lpdwFileOffset ); 176 DWORD 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) */ 39 188 40 189 #endif /* __WINE_WINVER_H */
Note:
See TracChangeset
for help on using the changeset viewer.