* include/oaidl.h (ITypeMarshal): Add interface.

This commit is contained in:
Danny Smith
2003-04-26 08:48:03 +00:00
parent d9d35a454b
commit a5035abfac
2 changed files with 23 additions and 5 deletions

View File

@ -79,6 +79,7 @@ extern const IID IID_IEnumVARIANT;
extern const IID IID_ICreateErrorInfo;
extern const IID IID_ISupportErrorInfo;
extern const IID IID_IRecordInfo;
extern const IID IID_ITypeMarshal;
typedef enum tagSYSKIND {
SYS_WIN16,SYS_WIN32,SYS_MAC
@ -603,6 +604,20 @@ DECLARE_INTERFACE_(IRecordInfo, IUnknown)
STDMETHOD(RecordDestroy )(THIS_ PVOID) PURE;
};
EXTERN_C const IID IID_ITypeMarshal;
#undef INTERFACE
#define INTERFACE ITypeMarshal
DECLARE_INTERFACE_(ITypeMarshal, IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(Size)(THIS_ PVOID,DWORD,PVOID,ULONG*) PURE;
STDMETHOD(Marshal)(THIS_ PVOID,DWORD,PVOID,ULONG,BYTE*,ULONG*) PURE;
STDMETHOD(Unmarshal)(THIS_ PVOID,DWORD,ULONG,BYTE*,ULONG*) PURE;
STDMETHOD(Free)(THIS_ PVOID) PURE;
};
#ifdef __cplusplus
}
#endif