.pragma list(push, 0)
ifndef _OLECTL_H_
define _OLECTL_H_

if NOT defined(__MKTYPLIB__) AND NOT defined(__midl)

ifdef _MAC
include macocidl.inc
else
.pragma pack(push, 8)
include ocidl.inc
endif

.pragma comment(lib, oleaut32)

ifndef INITGUID

DEFINE_GUID(IID_IPropertyFrame,0xB196B28A,0xBAB4,0x101A,0xB6,0x9C,0x00,0xAA,0x00,0x34,0x1D,0x07)

DEFINE_GUID(CLSID_CFontPropPage,0x0be35200,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51)
DEFINE_GUID(CLSID_CColorPropPage,0x0be35201,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51)
DEFINE_GUID(CLSID_CPicturePropPage,0x0be35202,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51)

DEFINE_GUID(CLSID_PersistPropset,0xfb8f0821,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13)
DEFINE_GUID(CLSID_ConvertVBX,0xfb8f0822,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13)

DEFINE_GUID(CLSID_StdFont,0x0be35203,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51)
DEFINE_GUID(CLSID_StdPicture,0x0be35204,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51)

DEFINE_GUID(GUID_HIMETRIC,0x66504300,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_COLOR,0x66504301,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_XPOSPIXEL,0x66504302,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_YPOSPIXEL,0x66504303,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_XSIZEPIXEL,0x66504304,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_YSIZEPIXEL,0x66504305,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_XPOS,0x66504306,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_YPOS,0x66504307,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_XSIZE,0x66504308,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_YSIZE,0x66504309,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)

ifndef __CGUID_H__
DEFINE_GUID(GUID_TRISTATE,0x6650430A,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
endif

DEFINE_GUID(GUID_OPTIONVALUEEXCLUSIVE,0x6650430B,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_CHECKVALUEEXCLUSIVE,0x6650430C,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_FONTNAME,0x6650430D,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_FONTSIZE,0x6650430E,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_FONTBOLD,0x6650430F,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_FONTITALIC,0x66504310,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_FONTUNDERSCORE,0x66504311,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_FONTSTRIKETHROUGH,0x66504312,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)
DEFINE_GUID(GUID_HANDLE,0x66504313,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB)

endif ;; INITGUID


OCPFIPARAMS		STRUC
cbStructSize		ULONG ?
hWndOwner		HWND ?
x			SINT ?
y			SINT ?
lpszCaption		LPCOLESTR ?
cObjects		ULONG ?
lplpUnk			LPUNKNOWN ?
cPages			ULONG ?
lpPages			LPCLSID ?
lcid			LCID ?
dispidInitialProperty	DISPID ?
OCPFIPARAMS		ENDS
LPOCPFIPARAMS		typedef ptr OCPFIPARAMS


FONTSIZE macro n
	exitm<{ &n&0000, 0 }>
	endm

FONTDESC		STRUC
cbSizeofstruct		UINT ?
lpstrName		LPOLESTR ?
cySize			dq ? ; CY
sWeight			dw ?
sCharset		dw ?
fItalic			BOOL ?
fUnderline		BOOL ?
fStrikethrough		BOOL ?
FONTDESC		ENDS
LPFONTDESC		typedef ptr FONTDESC


PICTYPE_UNINITIALIZED	equ (-1)
PICTYPE_NONE		equ 0
PICTYPE_BITMAP		equ 1
PICTYPE_METAFILE	equ 2
PICTYPE_ICON		equ 3
ifdef _WIN32
PICTYPE_ENHMETAFILE	equ 4
endif

PICTDESC		STRUC
cbSizeofstruct		UINT ?
picType			UINT ?
UNION
 STRUC bmp
  hbitmap		HBITMAP ?
  hpal			HPALETTE ?
 ENDS
 STRUC wmf
  hmeta			HMETAFILE ?
  xExt			SINT ?
  yExt			SINT ?
 ENDS
 STRUC icon
  hicon			HICON ?
 ENDS
ifdef _WIN32
 STRUC emf
  hemf			 HENHMETAFILE ?
 ENDS
endif
ENDS
PICTDESC		ENDS
LPPICTDESC		typedef ptr PICTDESC


OLE_XPOS_PIXELS		typedef sdword
OLE_YPOS_PIXELS		typedef sdword
OLE_XSIZE_PIXELS	typedef sdword
OLE_YSIZE_PIXELS	typedef sdword
OLE_XPOS_CONTAINER	typedef real4
OLE_YPOS_CONTAINER	typedef real4
OLE_XSIZE_CONTAINER	typedef real4
OLE_YSIZE_CONTAINER	typedef real4
;OLE_TRISTATE		 typedef enum { triUnchecked = 0, triChecked = 1, triGray = 2 }
OLE_OPTEXCLUSIVE	typedef VARIANT_BOOL
OLE_CANCELBOOL		typedef VARIANT_BOOL
OLE_ENABLEDEFAULTBOOL	typedef VARIANT_BOOL


ifndef FACILITY_CONTROL
FACILITY_CONTROL	equ 0xa
endif

STD_CTL_SCODE macro n
	exitm<MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)>
	endm
CTL_E_ILLEGALFUNCTIONCALL equ STD_CTL_SCODE(5)
CTL_E_OVERFLOW		equ STD_CTL_SCODE(6)
CTL_E_OUTOFMEMORY	equ STD_CTL_SCODE(7)
CTL_E_DIVISIONBYZERO	equ STD_CTL_SCODE(11)
CTL_E_OUTOFSTRINGSPACE	equ STD_CTL_SCODE(14)
CTL_E_OUTOFSTACKSPACE	equ STD_CTL_SCODE(28)
CTL_E_BADFILENAMEORNUMBER equ STD_CTL_SCODE(52)
CTL_E_FILENOTFOUND	equ STD_CTL_SCODE(53)
CTL_E_BADFILEMODE	equ STD_CTL_SCODE(54)
CTL_E_FILEALREADYOPEN	equ STD_CTL_SCODE(55)
CTL_E_DEVICEIOERROR	equ STD_CTL_SCODE(57)
CTL_E_FILEALREADYEXISTS equ STD_CTL_SCODE(58)
CTL_E_BADRECORDLENGTH	equ STD_CTL_SCODE(59)
CTL_E_DISKFULL		equ STD_CTL_SCODE(61)
CTL_E_BADRECORDNUMBER	equ STD_CTL_SCODE(63)
CTL_E_BADFILENAME	equ STD_CTL_SCODE(64)
CTL_E_TOOMANYFILES	equ STD_CTL_SCODE(67)
CTL_E_DEVICEUNAVAILABLE equ STD_CTL_SCODE(68)
CTL_E_PERMISSIONDENIED	equ STD_CTL_SCODE(70)
CTL_E_DISKNOTREADY	equ STD_CTL_SCODE(71)
CTL_E_PATHFILEACCESSERROR equ STD_CTL_SCODE(75)
CTL_E_PATHNOTFOUND	equ STD_CTL_SCODE(76)
CTL_E_INVALIDPATTERNSTRING equ STD_CTL_SCODE(93)
CTL_E_INVALIDUSEOFNULL	equ STD_CTL_SCODE(94)
CTL_E_INVALIDFILEFORMAT equ STD_CTL_SCODE(321)
CTL_E_INVALIDPROPERTYVALUE equ STD_CTL_SCODE(380)
CTL_E_INVALIDPROPERTYARRAYINDEX equ STD_CTL_SCODE(381)
CTL_E_SETNOTSUPPORTEDATRUNTIME equ STD_CTL_SCODE(382)
CTL_E_SETNOTSUPPORTED	equ STD_CTL_SCODE(383)
CTL_E_NEEDPROPERTYARRAYINDEX equ STD_CTL_SCODE(385)
CTL_E_SETNOTPERMITTED	equ STD_CTL_SCODE(387)
CTL_E_GETNOTSUPPORTEDATRUNTIME equ STD_CTL_SCODE(393)
CTL_E_GETNOTSUPPORTED	equ STD_CTL_SCODE(394)
CTL_E_PROPERTYNOTFOUND	equ STD_CTL_SCODE(422)
CTL_E_INVALIDCLIPBOARDFORMAT equ STD_CTL_SCODE(460)
CTL_E_INVALIDPICTURE	equ STD_CTL_SCODE(481)
CTL_E_PRINTERERROR	equ STD_CTL_SCODE(482)
CTL_E_CANTSAVEFILETOTEMP equ STD_CTL_SCODE(735)
CTL_E_SEARCHTEXTNOTFOUND equ STD_CTL_SCODE(744)
CTL_E_REPLACEMENTSTOOLONG equ STD_CTL_SCODE(746)

CUSTOM_CTL_SCODE macro n
	exitm<MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)>
	endm
CTL_E_CUSTOM_FIRST	equ CUSTOM_CTL_SCODE(600)


CONNECT_E_FIRST		equ MAKE_SCODE(SEVERITY_ERROR,	 FACILITY_ITF, 0x0200)
CONNECT_E_LAST		equ MAKE_SCODE(SEVERITY_ERROR,	 FACILITY_ITF, 0x020F)
CONNECT_S_FIRST		equ MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
CONNECT_S_LAST		equ MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)

CONNECT_E_NOCONNECTION	equ (CONNECT_E_FIRST+0)
CONNECT_E_ADVISELIMIT	equ (CONNECT_E_FIRST+1)
CONNECT_E_CANNOTCONNECT equ (CONNECT_E_FIRST+2)
CONNECT_E_OVERRIDDEN	equ (CONNECT_E_FIRST+3)

SELFREG_E_FIRST		equ MAKE_SCODE(SEVERITY_ERROR,	 FACILITY_ITF, 0x0200)
SELFREG_E_LAST		equ MAKE_SCODE(SEVERITY_ERROR,	 FACILITY_ITF, 0x020F)
SELFREG_S_FIRST		equ MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
SELFREG_S_LAST		equ MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)

SELFREG_E_TYPELIB	equ (SELFREG_E_FIRST+0)
SELFREG_E_CLASS		equ (SELFREG_E_FIRST+1)

PERPROP_E_FIRST		equ MAKE_SCODE(SEVERITY_ERROR,	 FACILITY_ITF, 0x0200)
PERPROP_E_LAST		equ MAKE_SCODE(SEVERITY_ERROR,	 FACILITY_ITF, 0x020F)
PERPROP_S_FIRST		equ MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
PERPROP_S_LAST		equ MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)

PERPROP_E_NOPAGEAVAILABLE equ (PERPROP_E_FIRST+0)


OLEMISC_INVISIBLEATRUNTIME equ 0x00000400
OLEMISC_ALWAYSRUN	equ 0x00000800
OLEMISC_ACTSLIKEBUTTON	equ 0x00001000
OLEMISC_ACTSLIKELABEL	equ 0x00002000
OLEMISC_NOUIACTIVATE	equ 0x00004000
OLEMISC_ALIGNABLE	equ 0x00008000
OLEMISC_SIMPLEFRAME	equ 0x00010000
OLEMISC_SETCLIENTSITEFIRST equ 0x00020000
OLEMISC_IMEMODE		equ 0x00040000

ifndef OLEIVERB_PROPERTIES
OLEIVERB_PROPERTIES	equ (-7)
endif

VT_STREAMED_PROPSET	equ 73
VT_STORED_PROPSET	equ 74
VT_BLOB_PROPSET		equ 75
VT_VERBOSE_ENUM		equ 76

VT_COLOR		equ VT_I4
VT_XPOS_PIXELS		equ VT_I4
VT_YPOS_PIXELS		equ VT_I4
VT_XSIZE_PIXELS		equ VT_I4
VT_YSIZE_PIXELS		equ VT_I4
VT_XPOS_HIMETRIC	equ VT_I4
VT_YPOS_HIMETRIC	equ VT_I4
VT_XSIZE_HIMETRIC	equ VT_I4
VT_YSIZE_HIMETRIC	equ VT_I4
VT_TRISTATE		equ VT_I2
VT_OPTEXCLUSIVE		equ VT_BOOL
VT_FONT			equ VT_DISPATCH
VT_PICTURE		equ VT_DISPATCH

ifdef _WIN32
VT_HANDLE		equ VT_I4
else
VT_HANDLE		equ VT_I2
endif

OCM__BASE		equ (WM_USER+0x1c00)
OCM_COMMAND		equ (OCM__BASE + WM_COMMAND)

ifdef _WIN32
OCM_CTLCOLORBTN		equ (OCM__BASE + WM_CTLCOLORBTN)
OCM_CTLCOLOREDIT	equ (OCM__BASE + WM_CTLCOLOREDIT)
OCM_CTLCOLORDLG		equ (OCM__BASE + WM_CTLCOLORDLG)
OCM_CTLCOLORLISTBOX	equ (OCM__BASE + WM_CTLCOLORLISTBOX)
OCM_CTLCOLORMSGBOX	equ (OCM__BASE + WM_CTLCOLORMSGBOX)
OCM_CTLCOLORSCROLLBAR	equ (OCM__BASE + WM_CTLCOLORSCROLLBAR)
OCM_CTLCOLORSTATIC	equ (OCM__BASE + WM_CTLCOLORSTATIC)
else
OCM_CTLCOLOR		equ (OCM__BASE + WM_CTLCOLOR)
endif

OCM_DRAWITEM		equ (OCM__BASE + WM_DRAWITEM)
OCM_MEASUREITEM		equ (OCM__BASE + WM_MEASUREITEM)
OCM_DELETEITEM		equ (OCM__BASE + WM_DELETEITEM)
OCM_VKEYTOITEM		equ (OCM__BASE + WM_VKEYTOITEM)
OCM_CHARTOITEM		equ (OCM__BASE + WM_CHARTOITEM)
OCM_COMPAREITEM		equ (OCM__BASE + WM_COMPAREITEM)
OCM_HSCROLL		equ (OCM__BASE + WM_HSCROLL)
OCM_VSCROLL		equ (OCM__BASE + WM_VSCROLL)
OCM_PARENTNOTIFY	equ (OCM__BASE + WM_PARENTNOTIFY)

if (WINVER GE 0x0400)
OCM_NOTIFY		equ (OCM__BASE + WM_NOTIFY)
endif

DllRegisterServer proto WINAPI
DllUnregisterServer proto WINAPI

OleCreatePropertyFrame proto WINAPI :HWND, :UINT, :UINT, :LPCOLESTR, :ULONG, :ptr, :ULONG, :LPCLSID, :LCID, :DWORD, :ptr
OleCreatePropertyFrameIndirect proto WINAPI lpParams:LPOCPFIPARAMS
OleTranslateColor proto WINAPI :OLE_COLOR, :HPALETTE, :ptr
OleCreateFontIndirect proto WINAPI :LPFONTDESC, :REFIID, :ptr
OleCreatePictureIndirect proto WINAPI :LPPICTDESC, :REFIID, :BOOL, :ptr
OleLoadPicture proto WINAPI :LPSTREAM, :LONG, :BOOL, :REFIID, :ptr
OleLoadPictureEx proto WINAPI :LPSTREAM, :LONG, :BOOL, :REFIID, :DWORD, :DWORD, :DWORD, :ptr
OleLoadPicturePath proto WINAPI :LPOLESTR, :LPUNKNOWN, :DWORD, :OLE_COLOR, :REFIID, :ptr
OleLoadPictureFile proto WINAPI :VARIANT, :ptr
OleLoadPictureFileEx proto WINAPI :VARIANT, :DWORD, :DWORD, :DWORD, :ptr
OleSavePictureFile proto WINAPI :LPDISPATCH, :BSTR
OleIconToCursor proto WINAPI :HINSTANCE, :HICON

LP_DEFAULT		equ 0x00
LP_MONOCHROME		equ 0x01
LP_VGACOLOR		equ 0x02
LP_COLOR		equ 0x04

.pragma pack(pop)

endif ;; NOT (defined(__MKTYPLIB__) AND NOT defined(__midl))


DISPID_AUTOSIZE		equ (-500)
DISPID_BACKCOLOR	equ (-501)
DISPID_BACKSTYLE	equ (-502)
DISPID_BORDERCOLOR	equ (-503)
DISPID_BORDERSTYLE	equ (-504)
DISPID_BORDERWIDTH	equ (-505)
DISPID_DRAWMODE		equ (-507)
DISPID_DRAWSTYLE	equ (-508)
DISPID_DRAWWIDTH	equ (-509)
DISPID_FILLCOLOR	equ (-510)
DISPID_FILLSTYLE	equ (-511)
DISPID_FONT		equ (-512)
DISPID_FORECOLOR	equ (-513)
DISPID_ENABLED		equ (-514)
DISPID_HWND		equ (-515)
DISPID_TABSTOP		equ (-516)
DISPID_TEXT		equ (-517)
DISPID_CAPTION		equ (-518)
DISPID_BORDERVISIBLE	equ (-519)
DISPID_APPEARANCE	equ (-520)
DISPID_MOUSEPOINTER	equ (-521)
DISPID_MOUSEICON	equ (-522)
DISPID_PICTURE		equ (-523)
DISPID_VALID		equ (-524)
DISPID_READYSTATE	equ (-525)
DISPID_LISTINDEX	equ (-526)
DISPID_SELECTED		equ (-527)
DISPID_LIST		equ (-528)
DISPID_COLUMN		equ (-529)
DISPID_LISTCOUNT	equ (-531)
DISPID_MULTISELECT	equ (-532)
DISPID_MAXLENGTH	equ (-533)
DISPID_PASSWORDCHAR	equ (-534)
DISPID_SCROLLBARS	equ (-535)
DISPID_WORDWRAP		equ (-536)
DISPID_MULTILINE	equ (-537)
DISPID_NUMBEROFROWS	equ (-538)
DISPID_NUMBEROFCOLUMNS	equ (-539)
DISPID_DISPLAYSTYLE	equ (-540)
DISPID_GROUPNAME	equ (-541)
DISPID_IMEMODE		equ (-542)
DISPID_ACCELERATOR	equ (-543)
DISPID_ENTERKEYBEHAVIOR equ (-544)
DISPID_TABKEYBEHAVIOR	equ (-545)
DISPID_SELTEXT		equ (-546)
DISPID_SELSTART		equ (-547)
DISPID_SELLENGTH	equ (-548)

DISPID_REFRESH		equ (-550)
DISPID_DOCLICK		equ (-551)
DISPID_ABOUTBOX		equ (-552)
DISPID_ADDITEM		equ (-553)
DISPID_CLEAR		equ (-554)
DISPID_REMOVEITEM	equ (-555)

DISPID_CLICK		equ (-600)
DISPID_DBLCLICK		equ (-601)
DISPID_KEYDOWN		equ (-602)
DISPID_KEYPRESS		equ (-603)
DISPID_KEYUP		equ (-604)
DISPID_MOUSEDOWN	equ (-605)
DISPID_MOUSEMOVE	equ (-606)
DISPID_MOUSEUP		equ (-607)
DISPID_ERROREVENT	equ (-608)
DISPID_READYSTATECHANGE equ (-609)
DISPID_CLICK_VALUE	equ (-610)
DISPID_RIGHTTOLEFT	equ (-611)
DISPID_TOPTOBOTTOM	equ (-612)
DISPID_THIS		equ (-613)

DISPID_AMBIENT_BACKCOLOR equ (-701)
DISPID_AMBIENT_DISPLAYNAME equ (-702)
DISPID_AMBIENT_FONT	equ (-703)
DISPID_AMBIENT_FORECOLOR equ (-704)
DISPID_AMBIENT_LOCALEID equ (-705)
DISPID_AMBIENT_MESSAGEREFLECT equ (-706)
DISPID_AMBIENT_SCALEUNITS equ (-707)
DISPID_AMBIENT_TEXTALIGN equ (-708)
DISPID_AMBIENT_USERMODE equ (-709)
DISPID_AMBIENT_UIDEAD	equ (-710)
DISPID_AMBIENT_SHOWGRABHANDLES equ (-711)
DISPID_AMBIENT_SHOWHATCHING equ (-712)
DISPID_AMBIENT_DISPLAYASDEFAULT equ (-713)
DISPID_AMBIENT_SUPPORTSMNEMONICS equ (-714)
DISPID_AMBIENT_AUTOCLIP equ (-715)
DISPID_AMBIENT_APPEARANCE equ (-716)

DISPID_AMBIENT_CODEPAGE equ (-725)
DISPID_AMBIENT_PALETTE	equ (-726)
DISPID_AMBIENT_CHARSET	equ (-727)
DISPID_AMBIENT_TRANSFERPRIORITY equ (-728)

DISPID_AMBIENT_RIGHTTOLEFT equ (-732)
DISPID_AMBIENT_TOPTOBOTTOM equ (-733)

DISPID_Name		equ (-800)
DISPID_Delete		equ (-801)
DISPID_Object		equ (-802)
DISPID_Parent		equ (-803)

DISPID_FONT_NAME	equ 0
DISPID_FONT_SIZE	equ 2
DISPID_FONT_BOLD	equ 3
DISPID_FONT_ITALIC	equ 4
DISPID_FONT_UNDER	equ 5
DISPID_FONT_STRIKE	equ 6
DISPID_FONT_WEIGHT	equ 7
DISPID_FONT_CHARSET	equ 8
DISPID_FONT_CHANGED	equ 9

DISPID_PICT_HANDLE	equ 0
DISPID_PICT_HPAL	equ 2
DISPID_PICT_TYPE	equ 3
DISPID_PICT_WIDTH	equ 4
DISPID_PICT_HEIGHT	equ 5
DISPID_PICT_RENDER	equ 6


if defined(__MKTYPLIB__) OR defined(__midl)
STDOLE_TLB		equ <"stdole2.tlb">
STDTYPE_TLB		equ <"olepro32.dll">
endif

endif
.pragma list(pop)
