[DllImport("winmm.dll")]
public static extern int waveOutGetVolume(IntPtr hwo, out uint dwVolume);
public  static  extern  bool PlaySound(byte[]wspath,  int  fuSound);
waveOutGetVolume可以通过,为什么PlaySound通不过
系统提示:
“wsound.wsound.PlaySound(byte[], int)”被标记为 external 并且没有属性。请考虑添加 DllImport 属性以指定外部实现
error CS5001: 程序“G:\text\project\c#\api_1\api_1\obj\Debug\api_1.exe”未定义入口点应该加什么属性?
EntryPoint  CharSet  CharSet.Unicode CharSet.Auto CallingConvention ?还是其他的?