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)) ...
阅读全文
摘要:系统文件夹路径的系统宏定义及意义,使用SHGetFolderPath API获得路径C示例
阅读全文

浙公网安备 33010602011771号