摘要: extern "C "只是表示这个可以被C语言调用,除了这个之外,没有什么更多含义。 因为C语言的编译器和C++的不同,C++的会有个叫做函数名打散的机制,比如函数:int add(int a,int b)在C++里面编译之后,就不是int add(int a,int b),而是类似:int add@WEROIUERH(int a,int b)的函数名,而且... 阅读全文
posted @ 2009-04-10 15:15 凡的世界 阅读(191) 评论(0) 推荐(0)
摘要: 说下思路吧 下面是网上找的Use the EnumDisplayDevices() API call to enumerate the display devices on the system and look for those that don't have the DISPLAY_DEVICE_ATTACHED_TO_DESKTOP flag set (this will include ... 阅读全文
posted @ 2009-04-10 13:15 凡的世界 阅读(2707) 评论(0) 推荐(0)