Share via


DestroyPhysicsEngine (Windows Embedded CE 6.0)

1/6/2010

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, pwinuser.h
sysgen SYSGEN_PHYSICSENGINE

See Also

Other Resources

Physics Engine Functions
Physics Engine Reference