C# Class TOAPI.WinMM.WaveOutSafeHandle

Encapsulates a handle to a waveOut device.
Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
WaveOutSafeHandle ( ) : System

Initializes a new instance of the WaveOutSafeHandle class.

WaveOutSafeHandle ( IntPtr tempHandle ) : System

Initializes a new instance of the WaveOutSafeHandle class.

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Releases the resuorces used by this handle.

Method Details

ReleaseHandle() protected method

Releases the resuorces used by this handle.
protected ReleaseHandle ( ) : bool
return bool

WaveOutSafeHandle() public method

Initializes a new instance of the WaveOutSafeHandle class.
public WaveOutSafeHandle ( ) : System
return System

WaveOutSafeHandle() public method

Initializes a new instance of the WaveOutSafeHandle class.
public WaveOutSafeHandle ( IntPtr tempHandle ) : System
tempHandle System.IntPtr A temporary handle from which to initialize. The temporart handle MUST NOT be released after this instance has been created.
return System