Win32的API函数可以直接在C#中直接调用,在做WinForm时还是很有帮助的.有时候直接调用Win32的API,可以很高效的实现想要的效果. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace WindowsAPI { class CSharp_Win32Api { #regi…
Microsoft Win32 to Microsoft .NET Framework API Map .NET Development (General) Technical Articles Microsoft .NET Framework and Microsoft Visual Studio User Education TeamsMicrosoft Corporation January 2004 Applies to: Microsoft® .NET Framework…
在VS2008的MSDN中有一个标准的OpenGL例子,记录如下: /* * Example of a Win32 OpenGL program. * The OpenGL code is the same as that used in * the X Window System sample */ #include <windows.h> #include <GL/gl.h> #include <GL/glu.h> /* Windows globals, defin…
>_<:Just the minimum Win32 frame don't have any other special function. //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by FE.RC // #define IDR_MAINFRAME 128 #define IDD_FE_DIALOG 102 #define IDD_ABOUTBOX 103 #define I…