文章分类 -  MFC & API

Windows I/O 操作--CreateFile
摘要:Creates or opens a file or I/O device. HANDLE WINAPI CreateFile( __in LPCTSTR lpFileName, //指向文件名的指针 __in DWORD dwDesiredAccess, //访问模式(写/读) __in DWORD dwShareMode... 阅读全文
posted @ 2008-05-31 20:57 BlueTzar 阅读(2648) 评论(0) 推荐(0)
VC Message mapping
摘要:typedef void (CCmdTarget::*AFX_PMSG)(void); struct AFX_MSGMAP_ENTRY // MFC 4.0 { UINT nMessage; // windows message UINT nCode; // control code or WM_NOTIFY code UINT nID; ... 阅读全文
posted @ 2008-03-20 23:02 BlueTzar 阅读(528) 评论(0) 推荐(0)