MyLog.h
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // MyLog.h: interface for the MyLog class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MYLOG_H__28D3BECE_7FB5_4461_884A_E9C32FE03726__INCLUDED_)
- #define AFX_MYLOG_H__28D3BECE_7FB5_4461_884A_E9C32FE03726__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "../DispCallBack.h"
- class MyLog : public ILog
- {
- public:
- MyLog();
- virtual ~MyLog();
- STDMETHOD(WriteLog)(BSTR message);
- STDMETHOD(GetTypeInfoCount)(UINT __RPC_FAR *pctinfo);
- STDMETHOD(GetTypeInfo)(
- UINT iTInfo,
- LCID lcid,
- ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
- STDMETHOD(GetIDsOfNames)(
- REFIID riid,
- LPOLESTR __RPC_FAR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID __RPC_FAR *rgDispId);
- STDMETHOD(Invoke)(
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS __RPC_FAR *pDispParams,
- VARIANT __RPC_FAR *pVarResult,
- EXCEPINFO __RPC_FAR *pExcepInfo,
- UINT __RPC_FAR *puArgErr);
- STDMETHOD(QueryInterface)(
- REFIID riid,
- void __RPC_FAR *__RPC_FAR *ppvObject);
- STDMETHOD_(ULONG,AddRef)( void);
- STDMETHOD_(ULONG,Release)( void);
- };
- #endif // !defined(AFX_MYLOG_H__28D3BECE_7FB5_4461_884A_E9C32FE03726__INCLUDED_)