Answer

专注于Mobile,WinCE
  首页  :: 新随笔  :: 联系 :: 管理

2007年7月6日

摘要: 1 using System; 2 using System.Runtime.InteropServices; 3 4 class Sound 5 { 6 private enum Flags 7 { 8 SND_SYNC = 0x0000, /* play synchronously (default) */ 9 SND_ASYNC = 0x... 阅读全文

posted @ 2007-07-06 13:46 answer 阅读(1926) 评论(2) 推荐(0) 编辑

摘要: 1 using System; 2 using System.Runtime.InteropServices; 3 4 class Mutex 5 { 6 [DllImport("coredll.Dll")] 7 private static extern int GetLastError(); 8 9 [DllImport("coredll.Dll")]10 ... 阅读全文

posted @ 2007-07-06 13:40 answer 阅读(1893) 评论(3) 推荐(0) 编辑

摘要: 1 using System; 2 using System.Runtime.InteropServices; 3 4 class SysDateTime 5 { 6 private struct SYSTEMTIME 7 { 8 public ushort wYear; 9 public ushort wMonth;10 p... 阅读全文

posted @ 2007-07-06 13:33 answer 阅读(1119) 评论(0) 推荐(0) 编辑