C# Class TOAPI.WinMM.WaveInSafeHandle

Encapsulates a handle to a waveIn device.
Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Datei anzeigen Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
WaveInSafeHandle ( ) : System

Initializes a new instance of the WaveInSafeHandle class.

WaveInSafeHandle ( IntPtr tempHandle ) : System

Initializes a new instance of the WaveInSafeHandle 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

WaveInSafeHandle() public method

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

WaveInSafeHandle() public method

Initializes a new instance of the WaveInSafeHandle class.
public WaveInSafeHandle ( 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