TKDestroyPhysicsEngine

4/8/2010

This function destroys a physics engine.

Syntax

HRESULT TKDestroyPhysicsEngine(
  HPHYSICSENGINE hEngine
);

Parameters

  • hEngine
    [in] Handle to a physics engine object.

Return Value

  • S_OK
    Indicates that the physics engine is successfully destroyed.
  • E_INVALIDARG
    Indicates that the hEngine handle is invalid.

Requirements

Header GesturePhysicsEngine.h

See Also

Other Resources

Physics Engine Functions (DTK)