// <unmanaged>HRESULT IDirectSoundBuffer::Play([In] unsigned int dwReserved1,[In] unsigned int dwPriority,[In] DSBPLAY_FLAGS dwFlags)</unmanaged> internal unsafe void Play(int reserved1, int priority, DSBPLAY_FLAGS flags) { //calli(System.Int32(System.Void*,System.Int32,System.Int32,System.Int32), this._nativePointer, reserved1, priority, flags, *(*(IntPtr*)this._nativePointer + (IntPtr)12 * (IntPtr)sizeof(void*))).CheckError(); var hr = (HRESULT)NativeHelper.CalliInt32(12, _nativePointer, reserved1, priority, (int)flags); hr.CheckError(); }
public void Play(int priority, DSBPLAY_FLAGS flags) { this.Play(0, priority, flags); }