2003-03-01 Heiko Gerdau <hg@technosis.de>

* include/oleidl.h (USERCLASSTYPE): Add enum.
	* include/ocidl.h (IObjectWithSite): Add interface.
This commit is contained in:
Danny Smith 2003-03-01 06:51:51 +00:00
parent dbc49afd52
commit 8c061d6294
3 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,9 @@
2003-02-28 Roland Schwingel <roland.schwingel@onevision.de>
2003-03-01 Heiko Gerdau <hg@technosis.de>
* include/oleidl.h (USERCLASSTYPE): Add enum.
* include/ocidl.h (IObjectWithSite): Add interface.
2003-02-28 Roland Schwingel <roland.schwingel@onevision.de>
Fixup UNICODE thinko in 2003-02-22 patch.
* include/wingdi.h (AddFontMemResourceEx): Add.

View File

@ -41,6 +41,18 @@ DECLARE_INTERFACE_(IOleInPlaceSiteEx,IOleInPlaceSite)
STDMETHOD(RequestUIActivate)(THIS) PURE;
};
EXTERN_C const IID IID_IObjectWithSite;
#undef INTERFACE
#define INTERFACE IObjectWithSite
DECLARE_INTERFACE_(IObjectWithSite,IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(SetSite)(THIS_ IUnknown*) PURE;
STDMETHOD(GetSite)(THIS_ REFIID, void**) PURE;
};
#ifdef __cplusplus
}
#endif

View File

@ -40,6 +40,11 @@ typedef enum tagOLEGETMONIKER {
OLEGETMONIKER_UNASSIGN,
OLEGETMONIKER_TEMPFORUSER
} OLEGETMONIKER;
typedef enum tagUSERCLASSTYPE {
USERCLASSTYPE_FULL=1,
USERCLASSTYPE_SHORT,
USERCLASSTYPE_APPNAME
} USERCLASSTYPE;
#ifdef __GNUC__
__extension__ /* IS0 C says enums limited to range of int */
#endif