12 2012 档案

摘要:GetLastError 与 SetLastError#include <windows.h>#include <stdio.h>#define ERROR_NOT_SUPPORTED 50Lint func(int m){ if(m == 0 ) //SetLastError(0xe0000001); SetLastError(ERROR_NOT_SUPPORTED); else return true; return false;}void main (){ if(!func(0)) ... 阅读全文
posted @ 2012-12-11 10:59 upendi 阅读(7312) 评论(0) 推荐(0)
摘要:系统文件夹路径的系统宏定义及意义,使用SHGetFolderPath API获得路径C示例 阅读全文
posted @ 2012-12-07 16:55 upendi 阅读(2681) 评论(0) 推荐(0)