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