Menu

#144 USERCLASSTYPE and IObjectWithSite

closed-fixed
w32api (251)
2003-03-01
2003-02-27
No

Changelog entry:

2003-02-27 Heiko Gerdau <hg@technosis.de>

\* include/oleidl.h \(USERCLASSTYPE\): Added enum.
\* include/ocidl.h \(IObjectWithSite\): Added Interface.

References:.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/oen_a2z_6a1x.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/oin_e2o_55gl.asp

Discussion

  • Heiko Gerdau

    Heiko Gerdau - 2003-02-27

    Logged In: YES
    user_id=625399

    As I can not see the file I attached I include the patch
    here as text again. Sorry, if this not necessary.

    --- ocidl.h.ori Mon Aug 12 13:21:11 2002
    +++ ocidl.h Thu Feb 27 00:14:14 2003
    @@ -41,6 +41,18 @@
    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

    --- oleidl.h.ori Mon Aug 12 13:21:11 2002
    +++ oleidl.h Thu Feb 27 00:15:47 2003
    @@ -40,6 +40,11 @@
    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

     
  • Heiko Gerdau

    Heiko Gerdau - 2003-02-27
    • assigned_to: nobody --> earnie
     
  • Danny Smith

    Danny Smith - 2003-03-01
    • status: open --> closed-fixed
     
  • Danny Smith

    Danny Smith - 2003-03-01

    Logged In: YES
    user_id=11494

    Committed to CVS
    Thanks
    Danny