2011年12月30日

Silverlight5通过P/Invoke调用系统win32的三个示例

摘要: 调用Win32函数 public partial class MainPage : UserControl { [DllImportAttribute("user32.dll", EntryPoint = "MessageBoxW")] public static extern int MessageBoxW( [In]System.IntPtr hWnd, [In][MarshalAs(UnmanagedType.LPWStr)] string lpText, [In][MarshalA... 阅读全文

posted @ 2011-12-30 16:00 chuncn 阅读(1133) 评论(1) 推荐(0) 编辑

导航