📄 basicautoobj.h
字号:
//=--------------------------------------------------------------------------=
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -