creditverification.h

来自「Visual_C++[1].NET_Bible1 Visual_C++宝典书中」· C头文件 代码 · 共 26 行

H
26
字号
// CreditVerification.h
#pragma once

#ifdef _DLL
#define DLLSPEC __declspec (dllexport)
#else
#define DLLSPEC __declspec (dllimport)
#endif

#define interface struct

interface IUnknown
{
       virtual long QueryInterface(IID& iid, void** pp) = 0;
       virtual long AddRef() = 0;
       virtual long Release() = 0;
};

interface ICreditVerification : IUnknown
{
	virtual void SetCardType(char* s) = 0;
	virtual bool VerifyCardNumber(long n) = 0;
};

DLLSPEC ICreditVerification* GetCreditVerificationObject();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?