⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sdtestdlg.h

📁 WinCE环境下检测SD卡序列号
💻 H
字号:
// SDTestDlg.h : header file
//

#if !defined(AFX_SDTESTDLG_H__268B777F_7EE5_4E19_8DEA_2C2BA63587B8__INCLUDED_)
#define AFX_SDTESTDLG_H__268B777F_7EE5_4E19_8DEA_2C2BA63587B8__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CSDTestDlg dialog

class CSDTestDlg : public CDialog
{
// Construction
public:
	CSDTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSDTestDlg)
	enum { IDD = IDD_SDTEST_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSDTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSDTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

class CFlashCard 
{ 
public: 
	enum { MAX_CARD_PATH = 128 }; 
	
	static BOOL isCardAvailable(); 
	static BOOL getSerialNumber(TCHAR* buf, UINT bufLength); 

	static TCHAR* getCardPath() { return m_CardPath; } 
protected:
	static TCHAR m_CardPath[MAX_CARD_PATH]; 
}; 

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SDTESTDLG_H__268B777F_7EE5_4E19_8DEA_2C2BA63587B8__INCLUDED_)

⌨️ 快捷键说明

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