idog2.h
来自「VC++串口通信设。本书详细说明讲解了在VC++环境下编写串口通信得过程。值得一」· C头文件 代码 · 共 28 行
H
28 行
// Forward declaration
typedef struct IDog IDog;
// Vtable structure
typedef struct
{
// IUnknown methods
HRESULT (*QueryInterface )(IDog *this,
REFIID riid,
void **ppvObject);
ULONG (*AddRef )(IDog *this);
ULONG (*Release )(IDog *this);
// IDog methods
HRESULT (*Bark)(void);
HRESULT (*Scratch)(void);
HRESULT (*Sleep)(void);
HRESULT (*Eat)(void);
BOOL (*IsHungry)(void);
} IDogVtable;
// The actual IDog interface structure
typedef struct
{
struct IDogVtable *lpVtable;
} IDog;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?