系统调用的简单封装类实现

代码不长,通读代码,会有收获! 例如,将函数调用返回值用一个结构变量来保存。windows 头文件:函数 #ifndef _OS_H #define _OS_H #include "typ.h" #ifdef _DLL #define DECLSPEC_DLLEXPORT __declspec(dllexport) #else #define DECLSPEC_DLLEXPORT #endif #
相关文章
相关标签/搜索