TouchHookTests ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Input.Windows.Tests TouchHookTests

Namespace: DeltaEngine.Input.Windows.Tests
Assembly: DeltaEngine.Input.Windows.Tests (in DeltaEngine.Input.Windows.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class TouchHookTests

The TouchHookTests type exposes the following members.

Constructors

  NameDescription
Public methodTouchHookTests
Initializes a new instance of the TouchHookTests class
Top
Methods

  NameDescription
Public methodCreateHook
Public methodDisposeHook
Public methodGetTouchDataFromHandleWithInvalidHandle
Top
Examples

[Test]
public void GetTouchDataFromHandleWithInvalidHandle()
{
    Assert.IsEmpty(hook.nativeTouches);
    var nativeTouches = TouchHook.GetTouchDataFromHandle(1, IntPtr.Zero);
    Assert.Null(nativeTouches);
}
See Also