摘要: 标准方法是用: EnumPrinters() 函数获取#define PRINTER_ENUM_DEFAULT 0x00000001#define PRINTER_ENUM_LOCAL 0x00000002#define PRINTER_ENUM_CONNECTIONS 0x00... 阅读全文
posted @ 2015-04-03 17:05 人来人往 阅读(1954) 评论(0) 推荐(0) 编辑
摘要: ZeroMemory:用0填充一个内存块void ZeroMemory( [in] PVOID Destination, //内存块开始地址 [in] SIZE_T Length //填充块大小 ,可用sizeof获取对象大小); 阅读全文
posted @ 2015-04-03 15:04 人来人往 阅读(562) 评论(0) 推荐(0) 编辑
摘要: #define IDOK 1#define IDCANCEL 2#define IDABORT 3#define IDRETRY 4#define IDIGNORE 5#defi... 阅读全文
posted @ 2015-04-03 14:38 人来人往 阅读(579) 评论(0) 推荐(0) 编辑