1 | /* $Id: cdlg.h,v 1.2 1999-11-02 20:37:42 sandervl Exp $ */
|
---|
2 | /*
|
---|
3 | * Common Dialog Boxes interface (32 bit)
|
---|
4 | *
|
---|
5 | * Copyright 1998 Bertho A. Stultiens
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef _WINE_DLL_CDLG_H
|
---|
9 | #define _WINE_DLL_CDLG_H
|
---|
10 |
|
---|
11 | extern HINSTANCE COMDLG32_hInstance;
|
---|
12 |
|
---|
13 | /*---------------- 32-bit ----------------*/
|
---|
14 |
|
---|
15 | /* Common dialogs implementation globals */
|
---|
16 | #define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */
|
---|
17 |
|
---|
18 | extern HINSTANCE COMDLG32_hInstance;
|
---|
19 |
|
---|
20 | void COMDLG32_SetCommDlgExtendedError(DWORD err);
|
---|
21 | LPVOID COMDLG32_AllocMem(int size);
|
---|
22 |
|
---|
23 |
|
---|
24 |
|
---|
25 | /* Find/Replace local definitions */
|
---|
26 |
|
---|
27 | #define FR_WINE_UNICODE 0x80000000
|
---|
28 | #define FR_WINE_REPLACE 0x40000000
|
---|
29 |
|
---|
30 | typedef struct {
|
---|
31 | FINDREPLACEA fr; /* Internally used structure */
|
---|
32 | union {
|
---|
33 | FINDREPLACEA *fra; /* Reference to the user supplied structure */
|
---|
34 | FINDREPLACEW *frw;
|
---|
35 | } user_fr;
|
---|
36 | } COMDLG32_FR_Data;
|
---|
37 |
|
---|
38 | #define PD32_PRINT_TITLE 7000
|
---|
39 |
|
---|
40 | #define PD32_VALUE_UREADABLE 1104
|
---|
41 | #define PD32_INVALID_PAGE_RANGE 1105
|
---|
42 | #define PD32_FROM_NOT_ABOVE_TO 1106
|
---|
43 | #define PD32_MARGINS_OVERLAP 1107
|
---|
44 | #define PD32_NR_OF_COPIES_EMPTY 1108
|
---|
45 | #define PD32_TOO_LARGE_COPIES 1109
|
---|
46 | #define PD32_PRINT_ERROR 1110
|
---|
47 | #define PD32_NO_DEFAULT_PRINTER 1111
|
---|
48 | #define PD32_CANT_FIND_PRINTER 1112
|
---|
49 | #define PD32_OUT_OF_MEMORY 1113
|
---|
50 | #define PD32_GENERIC_ERROR 1114
|
---|
51 | #define PD32_DRIVER_UNKNOWN 1115
|
---|
52 |
|
---|
53 | #define PD32_PRINTER_STATUS_READY 1536
|
---|
54 | #define PD32_PRINTER_STATUS_PAUSED 1537
|
---|
55 | #define PD32_PRINTER_STATUS_ERROR 1538
|
---|
56 | #define PD32_PRINTER_STATUS_PENDING_DELETION 1539
|
---|
57 | #define PD32_PRINTER_STATUS_PAPER_JAM 1540
|
---|
58 | #define PD32_PRINTER_STATUS_PAPER_OUT 1541
|
---|
59 | #define PD32_PRINTER_STATUS_MANUAL_FEED 1542
|
---|
60 | #define PD32_PRINTER_STATUS_PAPER_PROBLEM 1543
|
---|
61 | #define PD32_PRINTER_STATUS_OFFLINE 1544
|
---|
62 | #define PD32_PRINTER_STATUS_IO_ACTIVE 1545
|
---|
63 | #define PD32_PRINTER_STATUS_BUSY 1546
|
---|
64 | #define PD32_PRINTER_STATUS_PRINTING 1547
|
---|
65 | #define PD32_PRINTER_STATUS_OUTPUT_BIN_FULL 1548
|
---|
66 | #define PD32_PRINTER_STATUS_NOT_AVAILABLE 1549
|
---|
67 | #define PD32_PRINTER_STATUS_WAITING 1550
|
---|
68 | #define PD32_PRINTER_STATUS_PROCESSING 1551
|
---|
69 | #define PD32_PRINTER_STATUS_INITIALIZING 1552
|
---|
70 | #define PD32_PRINTER_STATUS_WARMING_UP 1553
|
---|
71 | #define PD32_PRINTER_STATUS_TONER_LOW 1554
|
---|
72 | #define PD32_PRINTER_STATUS_NO_TONER 1555
|
---|
73 | #define PD32_PRINTER_STATUS_PAGE_PUNT 1556
|
---|
74 | #define PD32_PRINTER_STATUS_USER_INTERVENTION 1557
|
---|
75 | #define PD32_PRINTER_STATUS_OUT_OF_MEMORY 1558
|
---|
76 | #define PD32_PRINTER_STATUS_DOOR_OPEN 1559
|
---|
77 | #define PD32_PRINTER_STATUS_SERVER_UNKNOWN 1560
|
---|
78 | #define PD32_PRINTER_STATUS_POWER_SAVE 1561
|
---|
79 |
|
---|
80 | #define PD32_DEFAULT_PRINTER 1582
|
---|
81 | #define PD32_NR_OF_DOCUMENTS_IN_QUEUE 1583
|
---|
82 | #define PD32_PRINT_ALL_X_PAGES 1584
|
---|
83 | #define PD32_MARGINS_IN_INCHES 1585
|
---|
84 | #define PD32_MARGINS_IN_MILIMETERS 1586
|
---|
85 | #define PD32_MILIMETERS 1587
|
---|
86 |
|
---|
87 | #include "commctrl.h"
|
---|
88 | #include "wine/undocshell.h"
|
---|
89 | #include "shellapi.h"
|
---|
90 |
|
---|
91 | /* DPA */
|
---|
92 | extern HDPA (WINAPI* COMDLG32_DPA_Create) (INT);
|
---|
93 | extern LPVOID (WINAPI* COMDLG32_DPA_GetPtr) (const HDPA, INT);
|
---|
94 | extern LPVOID (WINAPI* COMDLG32_DPA_DeleteAllPtrs) (const HDPA hdpa);
|
---|
95 | extern LPVOID (WINAPI* COMDLG32_DPA_DeletePtr) (const HDPA hdpa, INT i);
|
---|
96 | extern INT (WINAPI* COMDLG32_DPA_InsertPtr) (const HDPA, INT, LPVOID);
|
---|
97 | extern BOOL (WINAPI* COMDLG32_DPA_Destroy) (const HDPA);
|
---|
98 |
|
---|
99 | /* IMAGELIST */
|
---|
100 | extern HICON (WINAPI* COMDLG32_ImageList_GetIcon) (HIMAGELIST, INT, UINT);
|
---|
101 | extern HIMAGELIST (WINAPI *COMDLG32_ImageList_LoadImageA) (HINSTANCE, LPCSTR, INT, INT, COLORREF, UINT, UINT);
|
---|
102 | extern BOOL (WINAPI* COMDLG32_ImageList_Draw) (HIMAGELIST himl, int i, HDC hdcDest, int x, int y, UINT fStyle);
|
---|
103 | extern BOOL (WINAPI* COMDLG32_ImageList_Destroy) (HIMAGELIST himl);
|
---|
104 |
|
---|
105 | /* ITEMIDLIST */
|
---|
106 |
|
---|
107 | extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILClone) (LPCITEMIDLIST);
|
---|
108 | extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILCombine)(LPCITEMIDLIST,LPCITEMIDLIST);
|
---|
109 | extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILGetNext)(LPITEMIDLIST);
|
---|
110 | extern BOOL (WINAPI *COMDLG32_PIDL_ILRemoveLastID)(LPCITEMIDLIST);
|
---|
111 | extern BOOL (WINAPI *COMDLG32_PIDL_ILIsEqual)(LPCITEMIDLIST, LPCITEMIDLIST);
|
---|
112 |
|
---|
113 | /* SHELL */
|
---|
114 | extern BOOL (WINAPI *COMDLG32_SHGetPathFromIDListA) (LPCITEMIDLIST,LPSTR);
|
---|
115 | extern HRESULT (WINAPI *COMDLG32_SHGetSpecialFolderLocation)(HWND,INT,LPITEMIDLIST *);
|
---|
116 | extern DWORD (WINAPI *COMDLG32_SHGetDesktopFolder)(IShellFolder **);
|
---|
117 | extern DWORD (WINAPI *COMDLG32_SHGetFileInfoA)(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT);
|
---|
118 | extern DWORD (WINAPI *COMDLG32_SHFree)(LPVOID);
|
---|
119 |
|
---|
120 | /* PATH */
|
---|
121 | extern BOOL (WINAPI *COMDLG32_PathIsRootA)(LPCSTR x);
|
---|
122 | extern LPCSTR (WINAPI *COMDLG32_PathFindFilenameA)(LPCSTR path);
|
---|
123 | extern DWORD (WINAPI *COMDLG32_PathRemoveFileSpecA)(LPSTR fn);
|
---|
124 | extern BOOL (WINAPI *COMDLG32_PathMatchSpecW)(LPCWSTR x, LPCWSTR y);
|
---|
125 | extern LPSTR (WINAPI *COMDLG32_PathAddBackslashA)(LPSTR path);
|
---|
126 | #endif
|
---|
127 |
|
---|