basicautoobj.h
来自「用VC开发ACTIVEX 一书 实例4 BCFBasicServer.」· C头文件 代码 · 共 70 行
H
70 行
//=--------------------------------------------------------------------------=
// BasicAutoObj.H
//=--------------------------------------------------------------------------=
// Copyright 1995 Microsoft Corporation. All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//=--------------------------------------------------------------------------=
//
// the BasicAuto object.
//
//
#ifndef _BASICAUTO_H_
#include "AutoObj.H"
#include "BCFBasicServerInterfaces.H"
class CBasicAuto : public IBasicAuto, public CAutomationObject, ISupportErrorInfo {
public:
// IUnknown methods
//
DECLARE_STANDARD_UNKNOWN();
// IDispatch methods
//
DECLARE_STANDARD_DISPATCH();
// ISupportErrorInfo methods
//
DECLARE_STANDARD_SUPPORTERRORINFO();
CBasicAuto(IUnknown *);
virtual ~CBasicAuto();
// IBasicAuto methods
// TODO: copy over the interface methods for IBasicAuto from
// BCFBasicServerInterfaces.H here.
// creation method
//
static IUnknown *Create(IUnknown *);
protected:
virtual HRESULT InternalQueryInterface(REFIID riid, void **ppvObjOut);
private:
// member variables that nobody else gets to look at.
// TODO: add your member variables and private functions here.
};
// TODO: modify anything appropriate in this structure, such as the helpfile
// name, the version number, etc.
//
DEFINE_AUTOMATIONOBJECT(BasicAuto,
&CLSID_BasicAuto,
"BasicAuto",
CBasicAuto::Create,
1,
&IID_IBasicAuto,
"BasicAuto.Hlp");
#define _BASICAUTO_H_
#endif // _BASICAUTO_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?