creditobject.h

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

H
21
字号
// CreditObject.h

class CCreditVerification : public ICreditVerification
{
private:
	long m_refCount;
	enum CardType {Visa, MasterCard, Amex} m_type;
public:
	CCreditVerification();
	~CCreditVerification();

	// ICreditVerification
	HRESULT __stdcall SetCardType(unsigned char* s);
	HRESULT __stdcall VerifyCardNumber(long n);

	// IUnknown
	HRESULT __stdcall QueryInterface(REFIID iid, void**pp);
	ULONG __stdcall AddRef();
	ULONG __stdcall Release();
};

⌨️ 快捷键说明

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