31 lines
599 B
C++
31 lines
599 B
C++
#ifndef _PROTO_INTERFACE_HPP_
|
|
#define _PROTO_INTERFACE_HPP_
|
|
#ifndef _COM_OLE2_HPP_
|
|
#include <com/ole2.hpp>
|
|
#endif
|
|
|
|
//struct __declspec(uuid("8C17A192-4843-11d2-918C-808B7A063368"))
|
|
//__declspec(novtable)
|
|
|
|
class ISimpleObject : public IUnknown
|
|
{
|
|
public:
|
|
ISimpleObject();
|
|
~ISimpleObject();
|
|
virtual HRESULT __stdcall QueryInterface(REFIID riid,PPVOID ppv)=0;
|
|
virtual ULONG __stdcall AddRef(void)=0;
|
|
virtual ULONG __stdcall Release(void)=0;
|
|
virtual HRESULT __stdcall setByte(BYTE someBYTE)=0;
|
|
};
|
|
|
|
inline
|
|
ISimpleObject::ISimpleObject(void)
|
|
{
|
|
}
|
|
|
|
inline
|
|
ISimpleObject::~ISimpleObject()
|
|
{
|
|
}
|
|
#endif
|