olectl.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) the Wine project
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * a choice of LGPL license versions is made available with the language indicating
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern "C" {
af062818b47340eef15700d2f0211576ba3506eevboxsync * Ole Control Interfaces
af062818b47340eef15700d2f0211576ba3506eevboxsync 0xfb8f0822,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0xfb8f0821,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x0be35203,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x0be35204,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0xb196b28a,0xbab4,0x101a,0xb6,0x9c,0x00,0xaa,0x00,0x34,0x1d,0x07);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x0be35200,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x0be35201,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x0be35202,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504300,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504301,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504302,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504303,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504304,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504305,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504306,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504307,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504308,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504309,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x6650430a,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x6650430b,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x6650430c,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x6650430d,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x6650430e,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x6650430f,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504310,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504311,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504312,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync 0x66504313,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
af062818b47340eef15700d2f0211576ba3506eevboxsync * FONTDESC is used as an OLE encapsulation of the GDI fonts
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct tagFONTDESC {
af062818b47340eef15700d2f0211576ba3506eevboxsync#define FONTSIZE(n) { n##0000, 0 }
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef struct tagPICTDESC {
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum
af062818b47340eef15700d2f0211576ba3506eevboxsync/* flags for OleLoadPictureEx and OleLoadPictureFileEx */
af062818b47340eef15700d2f0211576ba3506eevboxsyncHCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon);
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams);
af062818b47340eef15700d2f0211576ba3506eevboxsync LPCOLESTR lpszCaption, ULONG cObjects, LPUNKNOWN* ppUnk,
af062818b47340eef15700d2f0211576ba3506eevboxsync ULONG cPages, LPCLSID pPageClsID, LCID lcid, DWORD dwReserved,
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleLoadPicture( LPSTREAM lpstream, LONG lSize, BOOL fRunmode,
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleLoadPictureEx( LPSTREAM lpstream, LONG lSize, BOOL fRunMode,
af062818b47340eef15700d2f0211576ba3506eevboxsync REFIID riid, DWORD xSizeDesired, DWORD ySizeDesired,
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleLoadPictureFile( VARIANT varFilename, IDispatch **ppdispPicture );
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleLoadPictureFileEx( VARIANT varFilename, DWORD xSizeDesired,
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD ySizeDesired, DWORD dwFlags, IDispatch **ppdispPicture );
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleSavePictureFile( IDispatch *pdispPicture, BSTR bstrFilename );
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleLoadPicturePath( LPOLESTR szURLorPath, LPUNKNOWN punkCaller,
af062818b47340eef15700d2f0211576ba3506eevboxsync DWORD dwReserved, OLE_COLOR clrReserved, REFIID riid,
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc, REFIID riid,
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid,
af062818b47340eef15700d2f0211576ba3506eevboxsyncHRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal,
af062818b47340eef15700d2f0211576ba3506eevboxsync/* Reflected Window Message IDs */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_CTLCOLORBTN (OCM__BASE + WM_CTLCOLORBTN)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_CTLCOLOREDIT (OCM__BASE + WM_CTLCOLOREDIT)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_CTLCOLORDLG (OCM__BASE + WM_CTLCOLORDLG)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_CTLCOLORLISTBOX (OCM__BASE + WM_CTLCOLORLISTBOX)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_CTLCOLORMSGBOX (OCM__BASE + WM_CTLCOLORMSGBOX)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_CTLCOLORSCROLLBAR (OCM__BASE + WM_CTLCOLORSCROLLBAR)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_CTLCOLORSTATIC (OCM__BASE + WM_CTLCOLORSTATIC)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_MEASUREITEM (OCM__BASE + WM_MEASUREITEM)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_COMPAREITEM (OCM__BASE + WM_COMPAREITEM)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define OCM_PARENTNOTIFY (OCM__BASE + WM_PARENTNOTIFY)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CONNECT_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CONNECT_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CONNECT_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CONNECT_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SELFREG_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SELFREG_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SELFREG_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SELFREG_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define STD_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_INVALIDPATTERNSTRING STD_CTL_SCODE(93)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_INVALIDPROPERTYVALUE STD_CTL_SCODE(380)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_INVALIDPROPERTYARRAYINDEX STD_CTL_SCODE(381)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_SETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(382)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_NEEDPROPERTYARRAYINDEX STD_CTL_SCODE(385)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_GETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(393)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_INVALIDCLIPBOARDFORMAT STD_CTL_SCODE(460)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CTL_E_REPLACEMENTSTOOLONG STD_CTL_SCODE(746)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CUSTOM_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define PERPROP_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define PERPROP_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define PERPROP_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define PERPROP_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
af062818b47340eef15700d2f0211576ba3506eevboxsync#define PERPROP_E_NOPAGEAVAILABLE (PERPROP_E_FIRST+0)
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* !__midl && !__WIDL__ */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* standard dispatch ID's */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* IPicture */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __WINE_OLECTL_H */