Changeset 4834 for trunk/include
- Timestamp:
- Dec 24, 2000, 1:28:20 PM (25 years ago)
- Location:
- trunk/include/win
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/commctrl.h
r4608 r4834 1 /* $Id: commctrl.h,v 1.3 6 2000-11-17 14:32:48sandervl Exp $ */1 /* $Id: commctrl.h,v 1.37 2000-12-24 12:28:19 sandervl Exp $ */ 2 2 /* 3 3 * Common controls definitions … … 14 14 //#include "prsht.h" 15 15 16 /* c++ likes nameless unions whereas c doesnt */17 /* (used in property sheet structures) */18 19 #if defined(__cplusplus) && !defined(NONAMELESSUNION)20 #define DUMMYUNIONNAME21 #define DUMMYUNIONNAME122 #define DUMMYUNIONNAME223 #define DUMMYUNIONNAME324 #define DUMMYUNIONNAME425 #define DUMMYUNIONNAME526 #else27 #define DUMMYUNIONNAME u28 #define DUMMYUNIONNAME1 u129 #define DUMMYUNIONNAME2 u230 #define DUMMYUNIONNAME3 u331 #define DUMMYUNIONNAME4 u432 #define DUMMYUNIONNAME5 u533 #endif34 16 35 17 #ifdef __cplusplus -
trunk/include/win/debugtools.h
r4822 r4834 192 192 #endif 193 193 LPCSTR debugstr_guid1( void *id ); 194 #define debugstr_guid(a) debugstr_guid1((void *)a) 194 //#define debugstr_guid(a) debugstr_guid1((void *)a) 195 #define debugstr_guid(a) 0 195 196 196 197 #ifdef __cplusplus -
trunk/include/win/mdi.h
r4 r4834 1 /* $Id: mdi.h,v 1. 1 1999-05-24 20:19:14 ktkExp $ */1 /* $Id: mdi.h,v 1.2 2000-12-24 12:28:19 sandervl Exp $ */ 2 2 3 3 /* MDI.H … … 22 22 23 23 #define WM_MDICALCCHILDSCROLL 0x10AC /* this is exactly what Windows uses */ 24 25 /* "More Windows..." definitions */ 26 #define MDI_MOREWINDOWSLIMIT 9 /* after this number of windows, a "More Windows..." 27 option will appear under the Windows menu */ 28 #define MDI_IDC_LISTBOX 100 29 #define MDI_IDS_MOREWINDOWS 13 24 30 25 31 extern LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message, -
trunk/include/win/mmsystem.h
r4608 r4834 1 /* $Id: mmsystem.h,v 1. 9 2000-11-17 14:32:50sandervl Exp $ */1 /* $Id: mmsystem.h,v 1.10 2000-12-24 12:28:19 sandervl Exp $ */ 2 2 /* 3 3 * MMSYSTEM - Multimedia Wine Extension ... :-) … … 16 16 17 17 #include "pshpack1.h" 18 19 #if defined(__cplusplus) && !defined(NONAMELESSUNION)20 #define DUMMYUNIONNAME21 #define DUMMYUNIONNAME122 #define DUMMYUNIONNAME223 #define DUMMYUNIONNAME324 #define DUMMYUNIONNAME425 #define DUMMYUNIONNAME526 #else27 #define DUMMYUNIONNAME u28 #define DUMMYUNIONNAME1 u129 #define DUMMYUNIONNAME2 u230 #define DUMMYUNIONNAME3 u331 #define DUMMYUNIONNAME4 u432 #define DUMMYUNIONNAME5 u533 #endif34 35 #define DUMMYSTRUCTNAME s36 #define DUMMYSTRUCTNAME1 s137 38 //#endif /* !defined(NONAMELESSSTRUCT) */39 18 40 19 #define MAXWAVEDRIVERS 10 -
trunk/include/win/ole.h
r4241 r4834 1 /* $Id: ole.h,v 1. 4 2000-09-12 18:40:15sandervl Exp $ */1 /* $Id: ole.h,v 1.5 2000-12-24 12:28:19 sandervl Exp $ */ 2 2 /* 3 3 * ole.h - Declarations for OLESVR and OLECLI … … 169 169 } OLESTREAM; 170 170 typedef struct _OLESERVERDOC* LPOLESERVERDOC; 171 typedef struct IOleObject* LPOLEOBJECT;172 typedef struct _OLECLIENT* 171 typedef struct _OLEOBJECT* LPOLEOBJECT; 172 typedef struct _OLECLIENT* LPOLECLIENT; 173 173 typedef struct _OLESERVERDOCVTBL { 174 174 OLESTATUS (* CALLBACK Save)(LPOLESERVERDOC); -
trunk/include/win/oleauto.h
r3850 r4834 1 /* $Id: oleauto.h,v 1.3 2000-07-18 18:30:35 sandervl Exp $ */2 3 1 #ifndef __WINE_OLEAUTO_H 4 2 #define __WINE_OLEAUTO_H 3 4 #include "wtypes.h" 5 #include "wine/obj_base.h" 6 #include "wine/obj_oleaut.h" 7 #include "wine/obj_errorinfo.h" 8 9 #ifndef __WINE__ 10 #include "oaidl.h" 11 #endif 12 13 struct tagSAFEARRAY; 14 struct tagSAFEARRAYBOUND; 15 struct tagVARIANT; 5 16 6 17 #ifdef __cplusplus … … 8 19 #endif 9 20 10 /*#include <ole.h> */ 11 #include "mapidefs.h" 12 #include "wine/obj_oleaut.h" 13 #include "oaidl.h" 14 15 BSTR16 WINAPI SysAllocString16(LPCOLESTR16); 21 22 /* 23 * BSTR API 24 */ 25 16 26 BSTR WINAPI SysAllocString(const OLECHAR*); 17 INT16 WINAPI SysReAllocString16(LPBSTR16,LPCOLESTR16); 18 INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*); 19 VOID WINAPI SysFreeString16(BSTR16); 20 VOID WINAPI SysFreeString(BSTR); 21 BSTR16 WINAPI SysAllocStringLen16(const char*, int); 22 BSTR WINAPI SysAllocStringLen(const OLECHAR*, UINT); 23 int WINAPI SysReAllocStringLen16(BSTR16*, const char*, int); 24 int WINAPI SysReAllocStringLen(BSTR*, const OLECHAR*, UINT); 25 int WINAPI SysStringLen16(BSTR16); 26 int WINAPI SysStringLen(BSTR); 27 28 /***************************************************************** 29 * Time API 30 */ 31 32 INT WINAPI DosDateTimeToVariantTime(USHORT wDosDate, USHORT wDosTime, DOUBLE * pvtime); 33 34 INT WINAPI VariantTimeToDosDateTime(DOUBLE vtime, USHORT * pwDosDate, USHORT * pwDosTime); 35 36 #ifdef _WIN32 37 INT WINAPI SystemTimeToVariantTime(LPSYSTEMTIME lpSystemTime, DOUBLE *pvtime); 38 INT WINAPI VariantTimeToSystemTime(DOUBLE vtime, LPSYSTEMTIME lpSystemTime); 39 #endif 40 27 BSTR WINAPI SysAllocStringByteLen(LPCSTR,UINT); 28 BSTR WINAPI SysAllocStringLen(const OLECHAR*,UINT); 29 void WINAPI SysFreeString(BSTR); 30 INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*); 31 int WINAPI SysReAllocStringLen(BSTR*,const OLECHAR*,UINT); 32 int WINAPI SysStringByteLen(BSTR); 33 int WINAPI SysStringLen(BSTR); 34 35 36 /***************************************************************** 37 * ErrorInfo API 38 */ 39 40 HRESULT WINAPI SetErrorInfo(ULONG dwReserved, IErrorInfo *perrinfo); 41 HRESULT WINAPI GetErrorInfo(ULONG dwReserved, IErrorInfo **pperrinfo); 42 HRESULT WINAPI CreateErrorInfo(ICreateErrorInfo **pperrinfo); 41 43 42 44 /***************************************************************** … … 45 47 46 48 HRESULT WINAPI 47 SafeArrayAllocDescriptor(UINT cDims, SAFEARRAY **ppsaOut);48 49 HRESULT WINAPI 50 SafeArrayAllocData( SAFEARRAY *psa);51 52 SAFEARRAY* WINAPI53 SafeArrayCreate(VARTYPE vt, UINT cDims, SAFEARRAYBOUND *rgsabound);54 55 HRESULT WINAPI 56 SafeArrayDestroyDescriptor( SAFEARRAY *psa);57 58 HRESULT WINAPI 59 SafeArrayPutElement( SAFEARRAY *psa, LONG *rgIndices, void *pv);60 61 HRESULT WINAPI 62 SafeArrayGetElement( SAFEARRAY *psa, LONG *rgIndices, void *pv);63 64 HRESULT WINAPI 65 SafeArrayLock( SAFEARRAY *psa);66 67 HRESULT WINAPI 68 SafeArrayUnlock( SAFEARRAY *psa);69 70 HRESULT WINAPI 71 SafeArrayGetUBound( SAFEARRAY *psa, UINT nDim, LONG *plUbound);72 73 HRESULT WINAPI 74 SafeArrayGetLBound( SAFEARRAY *psa, UINT nDim, LONG *plLbound);49 SafeArrayAllocDescriptor(UINT cDims, struct tagSAFEARRAY **ppsaOut); 50 51 HRESULT WINAPI 52 SafeArrayAllocData(struct tagSAFEARRAY *psa); 53 54 struct tagSAFEARRAY * WINAPI 55 SafeArrayCreate(VARTYPE vt, UINT cDims, struct tagSAFEARRAYBOUND *rgsabound); 56 57 HRESULT WINAPI 58 SafeArrayDestroyDescriptor(struct tagSAFEARRAY *psa); 59 60 HRESULT WINAPI 61 SafeArrayPutElement(struct tagSAFEARRAY *psa, LONG *rgIndices, void *pv); 62 63 HRESULT WINAPI 64 SafeArrayGetElement(struct tagSAFEARRAY *psa, LONG *rgIndices, void *pv); 65 66 HRESULT WINAPI 67 SafeArrayLock(struct tagSAFEARRAY *psa); 68 69 HRESULT WINAPI 70 SafeArrayUnlock(struct tagSAFEARRAY *psa); 71 72 HRESULT WINAPI 73 SafeArrayGetUBound(struct tagSAFEARRAY *psa, UINT nDim, LONG *plUbound); 74 75 HRESULT WINAPI 76 SafeArrayGetLBound(struct tagSAFEARRAY *psa, UINT nDim, LONG *plLbound); 75 77 76 78 UINT WINAPI 77 SafeArrayGetDim( SAFEARRAY *psa);79 SafeArrayGetDim(struct tagSAFEARRAY *psa); 78 80 79 81 UINT WINAPI 80 SafeArrayGetElemsize( SAFEARRAY *psa);81 82 HRESULT WINAPI 83 SafeArrayAccessData( SAFEARRAY *psa, void **ppvData);84 85 HRESULT WINAPI 86 SafeArrayUnaccessData( SAFEARRAY *psa);87 88 HRESULT WINAPI 89 SafeArrayPtrOfIndex( SAFEARRAY *psa, LONG *rgIndices, void **ppvData);90 91 HRESULT WINAPI 92 SafeArrayCopyData( SAFEARRAY *psaSource,SAFEARRAY **psaTarget);93 94 HRESULT WINAPI 95 SafeArrayDestroyData( SAFEARRAY *psa);96 97 HRESULT WINAPI 98 SafeArrayDestroy( SAFEARRAY *psa);99 100 HRESULT WINAPI 101 SafeArrayCopy( SAFEARRAY *psa,SAFEARRAY **ppsaOut);102 103 SAFEARRAY*WINAPI82 SafeArrayGetElemsize(struct tagSAFEARRAY *psa); 83 84 HRESULT WINAPI 85 SafeArrayAccessData(struct tagSAFEARRAY *psa, void **ppvData); 86 87 HRESULT WINAPI 88 SafeArrayUnaccessData(struct tagSAFEARRAY *psa); 89 90 HRESULT WINAPI 91 SafeArrayPtrOfIndex(struct tagSAFEARRAY *psa, LONG *rgIndices, void **ppvData); 92 93 HRESULT WINAPI 94 SafeArrayCopyData(struct tagSAFEARRAY *psaSource, struct tagSAFEARRAY **psaTarget); 95 96 HRESULT WINAPI 97 SafeArrayDestroyData(struct tagSAFEARRAY *psa); 98 99 HRESULT WINAPI 100 SafeArrayDestroy(struct tagSAFEARRAY *psa); 101 102 HRESULT WINAPI 103 SafeArrayCopy(struct tagSAFEARRAY *psa, struct tagSAFEARRAY **ppsaOut); 104 105 struct tagSAFEARRAY *WINAPI 104 106 SafeArrayCreateVector(VARTYPE vt, LONG lLbound, ULONG cElements); 105 107 106 108 HRESULT WINAPI 107 SafeArrayRedim( SAFEARRAY *psa,SAFEARRAYBOUND *psaboundNew);109 SafeArrayRedim(struct tagSAFEARRAY *psa, struct tagSAFEARRAYBOUND *psaboundNew); 108 110 109 111 110 112 /* These are macros that help accessing the VARIANT date type. 111 113 */ 112 #if defined(__cplusplus) && !defined(NONAMELESSUNION)114 #ifdef __cplusplus 113 115 #define V_UNION(A, B) ((A)->B) 114 116 #define V_VT(A) ((A)->vt) … … 168 170 */ 169 171 170 void WINAPI VariantInit( VARIANTARG* pvarg);171 HRESULT WINAPI VariantClear( VARIANTARG* pvarg);172 HRESULT WINAPI VariantCopy( VARIANTARG* pvargDest, VARIANTARG* pvargSrc);173 HRESULT WINAPI VariantCopyInd( VARIANT* pvargDest, VARIANTARG* pvargSrc);174 HRESULT WINAPI VariantChangeType( VARIANTARG* pvargDest, VARIANTARG* pvargSrc,172 void WINAPI VariantInit(struct tagVARIANT* pvarg); 173 HRESULT WINAPI VariantClear(struct tagVARIANT* pvarg); 174 HRESULT WINAPI VariantCopy(struct tagVARIANT* pvargDest, struct tagVARIANT* pvargSrc); 175 HRESULT WINAPI VariantCopyInd(struct tagVARIANT* pvargDest, struct tagVARIANT* pvargSrc); 176 HRESULT WINAPI VariantChangeType(struct tagVARIANT* pvargDest, struct tagVARIANT* pvargSrc, 175 177 USHORT wFlags, VARTYPE vt); 176 HRESULT WINAPI VariantChangeTypeEx( VARIANTARG* pvargDest, VARIANTARG* pvargSrc,178 HRESULT WINAPI VariantChangeTypeEx(struct tagVARIANT* pvargDest, struct tagVARIANT* pvargSrc, 177 179 LCID lcid, USHORT wFlags, VARTYPE vt); 178 180 … … 481 483 #define VarUintFromInt VarUI4FromI4 482 484 485 /* 486 * Variant Math operations 487 */ 488 #define VARCMP_LT 0 489 #define VARCMP_EQ 1 490 #define VARCMP_GT 2 491 #define VARCMP_NULL 3 492 493 HRESULT WINAPI VarAdd(LPVARIANT,LPVARIANT,LPVARIANT); 494 HRESULT WINAPI VarAnd(LPVARIANT,LPVARIANT,LPVARIANT); 495 HRESULT WINAPI VarCat(LPVARIANT,LPVARIANT,LPVARIANT); 496 HRESULT WINAPI VarDiv(LPVARIANT,LPVARIANT,LPVARIANT); 497 HRESULT WINAPI VarEqv(LPVARIANT,LPVARIANT,LPVARIANT); 498 HRESULT WINAPI VarIdiv(LPVARIANT,LPVARIANT,LPVARIANT); 499 HRESULT WINAPI VarImp(LPVARIANT,LPVARIANT,LPVARIANT); 500 HRESULT WINAPI VarMod(LPVARIANT,LPVARIANT,LPVARIANT); 501 HRESULT WINAPI VarMul(LPVARIANT,LPVARIANT,LPVARIANT); 502 HRESULT WINAPI VarOr(LPVARIANT,LPVARIANT,LPVARIANT); 503 HRESULT WINAPI VarPow(LPVARIANT,LPVARIANT,LPVARIANT); 504 HRESULT WINAPI VarSub(LPVARIANT,LPVARIANT,LPVARIANT); 505 HRESULT WINAPI VarXor(LPVARIANT,LPVARIANT,LPVARIANT); 506 507 HRESULT WINAPI VarAbs(LPVARIANT,LPVARIANT); 508 HRESULT WINAPI VarFix(LPVARIANT,LPVARIANT); 509 HRESULT WINAPI VarInt(LPVARIANT,LPVARIANT); 510 HRESULT WINAPI VarNeg(LPVARIANT,LPVARIANT); 511 HRESULT WINAPI VarNot(LPVARIANT,LPVARIANT); 512 513 HRESULT WINAPI VarRound(LPVARIANT,int,LPVARIANT); 514 515 HRESULT WINAPI VarCmp(LPVARIANT,LPVARIANT,LCID,ULONG); 516 517 518 519 typedef struct tagPARAMDATA { 520 OLECHAR * szName; /* parameter name */ 521 VARTYPE vt; /* parameter type */ 522 } PARAMDATA, * LPPARAMDATA; 523 524 typedef struct tagMETHODDATA { 525 OLECHAR * szName; /* method name */ 526 PARAMDATA * ppdata; /* pointer to an array of PARAMDATAs */ 527 DISPID dispid; /* method ID */ 528 UINT iMeth; /* method index */ 529 CALLCONV_OLE2 cc; /* calling convention */ 530 UINT cArgs; /* count of arguments */ 531 WORD wFlags; /* same wFlags as on IDispatch::Invoke() */ 532 VARTYPE vtReturn; 533 } METHODDATA, * LPMETHODDATA; 534 535 typedef struct tagINTERFACEDATA { 536 METHODDATA * pmethdata; /* pointer to an array of METHODDATAs */ 537 UINT cMembers; /* count of members */ 538 } INTERFACEDATA, * LPINTERFACEDATA; 539 540 typedef enum tagREGKIND 541 { 542 REGKIND_DEFAULT, 543 REGKIND_REGISTER, 544 REGKIND_NONE 545 } REGKIND; 546 547 548 INT WINAPI DosDateTimeToVariantTime(USHORT,USHORT,DATE*); 549 550 ULONG WINAPI LHashValOfNameSysA(SYSKIND syskind,LCID lcid,LPCSTR szName); 551 ULONG WINAPI LHashValOfNameSys (SYSKIND syskind,LCID lcid,LPCOLESTR szName); 552 553 HRESULT WINAPI DispGetParam(DISPPARAMS* pdispparams, UINT position, 554 VARTYPE vtTarg, VARIANT* pvarResult, UINT* puArgErr); 555 HRESULT WINAPI DispGetIDsOfNames(ITypeInfo* ptinfo, OLECHAR** rgszNames, 556 UINT cNames, DISPID* rgdispid); 557 HRESULT WINAPI DispInvoke(void* _this, ITypeInfo* ptinfo, DISPID dispidMember, 558 WORD wFlags, DISPPARAMS* pparams, VARIANT* pvarResult, 559 EXCEPINFO* pexcepinfo, UINT* puArgErr); 560 HRESULT WINAPI CreateDispTypeInfo(INTERFACEDATA* pidata, LCID lcid, 561 ITypeInfo** pptinfo); 562 HRESULT WINAPI CreateStdDispatch(IUnknown* punkOuter, void* pvThis, 563 ITypeInfo* ptinfo, IUnknown** ppunkStdDisp); 564 HRESULT WINAPI DispCallFunc(void* pvInstance, ULONG oVft, CALLCONV_OLE2 cc, 565 VARTYPE vtReturn, UINT cActuals, VARTYPE* prgvt, 566 VARIANTARG** prgpvarg, VARIANT* pvargResult); 567 568 569 /* 570 * TypeLib API 571 */ 572 573 HRESULT WINAPI CreateTypeLib(SYSKIND,const OLECHAR*,ICreateTypeLib**); 574 HRESULT WINAPI CreateTypeLib2(SYSKIND,LPCOLESTR,ICreateTypeLib2**); 575 HRESULT WINAPI LoadRegTypeLib(REFGUID,WORD,WORD,LCID,ITypeLib**); 576 HRESULT WINAPI LoadTypeLib(const OLECHAR*,ITypeLib**); 577 HRESULT WINAPI LoadTypeLibEx(LPCOLESTR,REGKIND,ITypeLib**); 578 HRESULT WINAPI QueryPathOfRegTypeLib(REFGUID,WORD,WORD,LCID,LPBSTR); 579 HRESULT WINAPI RegisterTypeLib(ITypeLib*,OLECHAR*,OLECHAR*); 580 HRESULT WINAPI UnRegisterTypeLib(REFGUID,WORD,WORD,LCID,SYSKIND); 581 483 582 #ifdef __cplusplus 484 583 } /* extern "C" */ 485 584 #endif 486 585 487 typedef struct tagPARAMDATA {488 OLECHAR16 * szName; /* parameter name */489 VARTYPE vt; /* parameter type */490 } PARAMDATA, * LPPARAMDATA;491 492 typedef struct tagMETHODDATA {493 OLECHAR16 * szName; /* method name */494 PARAMDATA * ppdata; /* pointer to an array of PARAMDATAs */495 DISPID dispid; /* method ID */496 UINT16 iMeth; /* method index */497 CALLCONV_OLE2 cc; /* calling convention */498 UINT16 cArgs; /* count of arguments */499 WORD wFlags; /* same wFlags as on IDispatch::Invoke() */500 VARTYPE vtReturn;501 } METHODDATA, * LPMETHODDATA;502 503 typedef struct tagINTERFACEDATA {504 METHODDATA * pmethdata; /* pointer to an array of METHODDATAs */505 UINT16 cMembers; /* count of members */506 } INTERFACEDATA, * LPINTERFACEDATA;507 586 508 587 #endif /*__WINE_OLEAUTO_H*/ -
trunk/include/win/olectl.h
r1742 r4834 1 /* $Id: olectl.h,v 1.2 1999-11-14 21:01:22 davidr Exp $ */2 3 1 #ifndef __WINE_OLECTL_H 4 2 #define __WINE_OLECTL_H 5 3 6 4 #include "windef.h" 7 8 #define WINOLECTLAPI INT WINAPI 5 #include "ocidl.h" 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 11 9 12 10 13 /* … … 80 83 #define FONTSIZE(n) { n##0000, 0 } 81 84 82 /* COREL MOD PQ mar 9 - redecl in mfc */83 /*WINOLECTLAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid, VOID** ppvObj);*/84 85 typedef enum tagPICTURE86 {87 PICTURE_SCALEABLE = 0x00000001,88 PICTURE_TRANSPARENT = 0x0000000289 } PICTURE;90 91 85 #define PICTYPE_UNINITIALIZED (-1) 92 86 #define PICTYPE_NONE 0 … … 96 90 #define PICTYPE_ENHMETAFILE 4 97 91 98 // DjR - Removed DUMMY stuff as it seemed unworkable in ICC99 92 typedef struct tagPICTDESC { 100 101 102 103 struct {104 105 106 } bmp;107 struct {108 109 110 111 } wmf;112 struct {113 114 } icon;115 struct {116 117 } emf;118 } u;93 UINT cbSizeofstruct; 94 UINT picType; 95 union { 96 struct { 97 HBITMAP hbitmap; 98 HPALETTE hpal; 99 } bmp; 100 struct { 101 HMETAFILE hmeta; 102 int xExt; 103 int yExt; 104 } wmf; 105 struct { 106 HICON hicon; 107 } icon; 108 struct { 109 HENHMETAFILE hemf; 110 } emf; 111 } DUMMYUNIONNAME; 119 112 } PICTDESC, *LPPICTDESC; 120 113 … … 138 131 typedef VARIANT_BOOL OLE_CANCELBOOL; 139 132 typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL; 133 134 HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon); 135 136 HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams); 137 138 HRESULT WINAPI OleCreatePropertyFrame( 139 HWND hwndOwner, UINT x, UINT y, 140 LPCOLESTR lpszCaption, ULONG cObjects, LPUNKNOWN* ppUnk, 141 ULONG cPages, LPCLSID pPageClsID, LCID lcid, DWORD dwReserved, 142 LPVOID pvReserved ); 143 144 HRESULT WINAPI OleLoadPicture( LPSTREAM lpstream, LONG lSize, BOOL fRunmode, 145 REFIID reed, LPVOID *lplpvObj ); 146 147 HRESULT WINAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc, REFIID riid, 148 BOOL fOwn, LPVOID * lplpvObj ); 149 150 HRESULT WINAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid, 151 LPVOID* lplpvObj); 152 153 HRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal, 154 COLORREF* lpcolorref); 140 155 141 156 /* standard dispatch ID's */ … … 204 219 #define DISPID_Object (-802) 205 220 #define DISPID_Parent (-803) 221 222 #define DISPID_FONT_NAME 0 223 #define DISPID_FONT_SIZE 2 224 #define DISPID_FONT_BOLD 3 225 #define DISPID_FONT_ITALIC 4 226 #define DISPID_FONT_UNDER 5 227 #define DISPID_FONT_STRIKE 6 228 #define DISPID_FONT_WEIGHT 7 229 #define DISPID_FONT_CHARSET 8 206 230 207 231 /* Reflected Window Message IDs */ … … 237 261 #define CONNECT_E_CANNOTCONNECT (CONNECT_E_FIRST+2) 238 262 #define CONNECT_E_OVERRIDDEN (CONNECT_E_FIRST+3) 263 264 #define SELFREG_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200) 265 #define SELFREG_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F) 266 #define SELFREG_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200) 267 #define SELFREG_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F) 268 #define SELFREG_E_TYPELIB (SELFREG_E_FIRST+0) 269 #define SELFREG_E_CLASS (SELFREG_E_FIRST+1) 239 270 240 271 #ifndef FACILITY_CONTROL … … 297 328 #define PERPROP_E_NOPAGEAVAILABLE (PERPROP_E_FIRST+0) 298 329 330 331 #ifdef __cplusplus 332 } 333 #endif 334 299 335 #endif /* __WINE_OLECTL_H */ 300 336 -
trunk/include/win/prsht.h
r2883 r4834 1 /* $Id: prsht.h,v 1. 5 2000-02-24 19:22:28sandervl Exp $ */1 /* $Id: prsht.h,v 1.6 2000-12-24 12:28:20 sandervl Exp $ */ 2 2 3 3 #ifndef _WINE_PRSHT_H … … 34 34 /* c++ likes nameless unions whereas c doesnt */ 35 35 /* (used in property sheet structures) */ 36 37 #if defined(__cplusplus) && !defined(NONAMELESSUNION)38 #define DUMMYUNIONNAME39 #define DUMMYUNIONNAME140 #define DUMMYUNIONNAME241 #define DUMMYUNIONNAME342 #define DUMMYUNIONNAME443 #define DUMMYUNIONNAME544 #else45 #define DUMMYUNIONNAME u46 #define DUMMYUNIONNAME1 u147 #define DUMMYUNIONNAME2 u248 #define DUMMYUNIONNAME3 u349 #define DUMMYUNIONNAME4 u450 #define DUMMYUNIONNAME5 u551 #endif52 36 53 37 /* -
trunk/include/win/windef.h
r4075 r4834 1 /* $Id: windef.h,v 1.2 4 2000-08-23 18:05:56sandervl Exp $ */1 /* $Id: windef.h,v 1.25 2000-12-24 12:28:20 sandervl Exp $ */ 2 2 3 3 /* … … 159 159 #endif 160 160 161 /* Anonymous union/struct handling */ 162 163 #ifdef __WINE__ 164 #if defined(__cplusplus) && !defined(NONAMELESSUNION) 165 # undef NONAMELESSSTRUCT 166 # undef NONAMELESSUNION 167 #else 168 # define NONAMELESSSTRUCT 169 # define NONAMELESSUNION 170 #endif 171 #else 172 /* Anonymous struct support starts with gcc/g++ 2.96 */ 173 # if !defined(NONAMELESSSTRUCT) && defined(__GNUC__) && ((__GNUC__ < 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ < 96))) 174 # define NONAMELESSSTRUCT 175 # endif 176 /* Anonymous unions support starts with gcc 2.96/g++ 2.95 */ 177 # if !defined(NONAMELESSUNION) && defined(__GNUC__) && ((__GNUC__ < 2) || ((__GNUC__ == 2) && ((__GNUC_MINOR__ < 95) || ((__GNUC_MINOR__ == 95) && !defined(__cplusplus))))) 178 # define NONAMELESSUNION 179 # endif 180 #endif 181 182 #ifndef NONAMELESSSTRUCT 183 #define DUMMYSTRUCTNAME 184 #define DUMMYSTRUCTNAME1 185 #define DUMMYSTRUCTNAME2 186 #define DUMMYSTRUCTNAME3 187 #define DUMMYSTRUCTNAME4 188 #define DUMMYSTRUCTNAME5 189 #else /* !defined(NONAMELESSSTRUCT) */ 190 #define DUMMYSTRUCTNAME s 191 #define DUMMYSTRUCTNAME1 s1 192 #define DUMMYSTRUCTNAME2 s2 193 #define DUMMYSTRUCTNAME3 s3 194 #define DUMMYSTRUCTNAME4 s4 195 #define DUMMYSTRUCTNAME5 s5 196 #endif /* !defined(NONAMELESSSTRUCT) */ 197 198 #ifndef NONAMELESSUNION 199 #define DUMMYUNIONNAME 200 #define DUMMYUNIONNAME1 201 #define DUMMYUNIONNAME2 202 #define DUMMYUNIONNAME3 203 #define DUMMYUNIONNAME4 204 #define DUMMYUNIONNAME5 205 #define DUMMYUNIONNAME6 206 #define DUMMYUNIONNAME7 207 #define DUMMYUNIONNAME8 208 #else /* !defined(NONAMELESSUNION) */ 209 #define DUMMYUNIONNAME u 210 #define DUMMYUNIONNAME1 u1 211 #define DUMMYUNIONNAME2 u2 212 #define DUMMYUNIONNAME3 u3 213 #define DUMMYUNIONNAME4 u4 214 #define DUMMYUNIONNAME5 u5 215 #define DUMMYUNIONNAME6 u6 216 #define DUMMYUNIONNAME7 u7 217 #define DUMMYUNIONNAME8 u8 218 #endif /* !defined(NONAMELESSUNION) */ 161 219 162 220 -
trunk/include/win/winnt.h
r4657 r4834 1336 1336 DWORD LowPart; 1337 1337 LONG HighPart; 1338 } s;1338 } DUMMYSTRUCTNAME; 1339 1339 LONGLONG QuadPart; 1340 1340 } LARGE_INTEGER, *LPLARGE_INTEGER, *PLARGE_INTEGER; … … 1343 1343 struct { 1344 1344 DWORD LowPart; 1345 LONGHighPart;1346 } s;1347 LONGLONG QuadPart;1345 DWORD HighPart; 1346 } DUMMYSTRUCTNAME; 1347 ULONGLONG QuadPart; 1348 1348 } ULARGE_INTEGER, *LPULARGE_INTEGER, *PULARGE_INTEGER; 1349 1349 #endif -
trunk/include/win/wtypes.h
r4414 r4834 153 153 #ifndef _tagCY_DEFINED 154 154 #define _tagCY_DEFINED 155 typedef union tagCY 156 {155 156 typedef union tagCY { 157 157 struct { 158 158 #ifdef BIG_ENDIAN 159 longHi;160 longLo;161 #else 162 unsigned longLo;163 longHi;164 #endif 165 } u;159 LONG Hi; 160 LONG Lo; 161 #else /* defined(BIG_ENDIAN) */ 162 ULONG Lo; 163 LONG Hi; 164 #endif /* defined(BIG_ENDIAN) */ 165 } DUMMYSTRUCTNAME; 166 166 LONGLONG int64; 167 167 } CY; 168 168 169 #endif /* _tagCY_DEFINED */ 169 170
Note:
See TracChangeset
for help on using the changeset viewer.