Partager via


DestroyPhysicsEngine (Compact 2013)

3/28/2014

This function destroys a physics engine.

Syntax

HRESULT DestroyPhysicsEngine(
    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

physicsengine.h,
winuser.h

sysgen

SYSGEN_PHYSICSENGINE

See Also

Reference

Physics Engine Functions
Touch Gestures Physics Engine Reference