Changeset 900 for trunk/include/win
- Timestamp:
- Sep 9, 1999, 11:04:57 PM (26 years ago)
- Location:
- trunk/include/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/commdlg.h
r4 r900 1 /* $Id: commdlg.h,v 1. 1 1999-05-24 20:19:09 ktkExp $ */2 3 /* 1 /* $Id: commdlg.h,v 1.2 1999-09-09 21:04:37 phaller Exp $ */ 2 3 /* 4 4 * COMMDLG - Common Wine Dialog ... :-) 5 5 */ … … 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 … … 134 134 DECL_WINELIB_TYPE_AW(OFNOTIFY) 135 135 DECL_WINELIB_TYPE_AW(LPOFNOTIFY) 136 136 137 137 typedef UINT (* CALLBACK LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 138 138 … … 257 257 #include "pshpack1.h" 258 258 259 typedef struct 259 typedef struct 260 260 { 261 261 DWORD lStructSize; … … 284 284 typedef struct 285 285 { 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; 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; 302 302 } CHOOSEFONTA, *LPCHOOSEFONTA; 303 303 304 304 typedef struct 305 305 { 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; 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; 322 322 } CHOOSEFONTW, *LPCHOOSEFONTW; 323 323 … … 500 500 #define PD_HIDEPRINTTOFILE 0x00100000 501 501 502 #ifndef __WINE_DOCOBJ_H 502 503 typedef enum __MIDL_IPrint_0001 503 504 { … … 510 511 PRINTFLAG_PRINTTOFILE = 64 511 512 } PRINTFLAG; 512 513 #endif 514 513 515 typedef struct { 514 516 UINT16 wDriverOffset; … … 647 649 #define FormatCharDlgProc WINELIB_NAME_AW(FormatCharDlgProc) 648 650 649 void COMDLG32_SetCommDlgExtendedError(DWORD err); 651 void COMDLG32_SetCommDlgExtendedError(DWORD err); 650 652 651 653 #ifdef __cplusplus -
trunk/include/win/docobj.h
r4 r900 1 /* $Id: docobj.h,v 1. 1 1999-05-24 20:19:11 ktkExp $ */1 /* $Id: docobj.h,v 1.2 1999-09-09 21:04:37 phaller Exp $ */ 2 2 3 3 #ifndef __WINE_DOCOBJ_H … … 34 34 } OLECMDTEXT; 35 35 36 typedef enum 37 { 36 #ifndef __WINE_COMMDLG_H 37 typedef enum 38 { 38 39 PRINTFLAG_MAYBOTHERUSER = 1, 39 40 PRINTFLAG_PROMPTUSER = 2, … … 44 45 PRINTFLAG_PRINTTOFILE = 64 45 46 } PRINTFLAG; 47 #endif 46 48 47 49 typedef struct tagPAGERANGE … … 67 69 } OLECMDTEXTF; 68 70 69 typedef enum 71 typedef enum 70 72 { 71 73 OLECMDEXECOPT_DODEFAULT = 0, … … 74 76 OLECMDEXECOPT_SHOWHELP = 3 75 77 } OLECMDEXECOPT; 76 78 77 79 #define OLECMDERR_E_FIRST (OLE_E_LAST+1) 78 80 #define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST) … … 81 83 #define OLECMDERR_E_CANCELED (OLECMDERR_E_FIRST+3) 82 84 #define OLECMDERR_E_UNKNOWNGROUP (OLECMDERR_E_FIRST+4) 83 85 84 86 /***************************************************************************** 85 87 * Predeclare the interfaces … … 87 89 DEFINE_GUID(IID_IOleDocument, 0xb722bcc5,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); 88 90 typedef struct IOleDocument IOleDocument, *LPOLEDOCUMENT; 89 91 90 92 DEFINE_GUID(IID_IOleDocumentSite, 0xb722bcc7,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); 91 93 typedef struct IOleDocumentSite IOleDocumentSite, *LPOLEDOCUMENTSITE; 92 94 93 95 DEFINE_GUID(IID_IOleDocumentView, 0xb722bcc6,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); 94 96 typedef struct IOleDocumentView IOleDocumentView, *LPOLEDOCUMENTVIEW; 95 97 96 98 DEFINE_GUID(IID_IEnumOleDocumentViews, 0xb722bcc6,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); 97 99 typedef struct IEnumOleDocumentViews IEnumOleDocumentViews, *LPENUMOLEDOCUMENTVIEWS; 98 100 99 101 DEFINE_GUID(IID_IOleCommandTarget, 0xb722bccb,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); 100 102 typedef struct IOleCommandTarget IOleCommandTarget, *LPOLECOMMANDTARGET; 101 103 102 104 DEFINE_GUID(IID_IContinueCallback, 0xb722bcca,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); 103 105 typedef struct IContinueCallback IContinueCallback, *LPCONTINUECALLBACK; 104 106 105 107 DEFINE_GUID(IID_IPrint, 0xb722bcc9,0x4e68,0x101b,0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70); 106 108 typedef struct IPrint IPrint, *LPPRINT; 107 108 109 110 109 111 /***************************************************************************** 110 112 * IOleDocument interface … … 172 174 ICOM_METHOD1(HRESULT,SaveViewState, LPSTREAM,pstm) \ 173 175 ICOM_METHOD1(HRESULT,ApplyViewState,LPSTREAM,pstm) \ 174 ICOM_METHOD2(HRESULT,Clone, IOleInPlaceSite*,pIPSiteNew, IOleDocumentView**,ppViewNew) 176 ICOM_METHOD2(HRESULT,Clone, IOleInPlaceSite*,pIPSiteNew, IOleDocumentView**,ppViewNew) 175 177 #define IOleDocumentView_IMETHODS \ 176 178 IUnknown_IMETHODS \ … … 209 211 ICOM_METHOD1(HRESULT,Skip, ULONG,cViews) \ 210 212 ICOM_METHOD (HRESULT,Reset) \ 211 ICOM_METHOD1(HRESULT,Clone, IEnumOleDocumentViews**,ppEnum) 213 ICOM_METHOD1(HRESULT,Clone, IEnumOleDocumentViews**,ppEnum) 212 214 #define IEnumOleDocumentViews_IMETHODS \ 213 215 IUnknown_IMETHODS \ … … 228 230 #endif 229 231 230 232 231 233 /***************************************************************************** 232 234 * IOleCommandTarget interface … … 284 286 ICOM_METHOD1(HRESULT,SetInitialPageNum, LONG,nFirstPage) \ 285 287 ICOM_METHOD2(HRESULT,GetPageInfo, LONG*,pnFirstPage, LONG*,pcPages) \ 286 ICOM_METHOD8(HRESULT,Print, DWORD,grfFlags, DVTARGETDEVICE**,pptd, PAGESET**,ppPageSet, STGMEDIUM*,pstgmOptions, IContinueCallback*,pcallback, LONG,nFirstPage, LONG*,pcPagesPrinted, LONG*,pnLastPage) 288 ICOM_METHOD8(HRESULT,Print, DWORD,grfFlags, DVTARGETDEVICE**,pptd, PAGESET**,ppPageSet, STGMEDIUM*,pstgmOptions, IContinueCallback*,pcallback, LONG,nFirstPage, LONG*,pcPagesPrinted, LONG*,pnLastPage) 287 289 #define IPrint_IMETHODS \ 288 290 IUnknown_IMETHODS \
Note:
See TracChangeset
for help on using the changeset viewer.