Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Closes an OpenEngine handle referenced by CreateEngine()

The connection will close. The behavior of the engine will depend on the flags passed in the call to CreateEngine().

Syntax

Error = CloseEngine (Engine)

...

ParameterDescription
EngineHandle for the engine created by CreateEngine().

See also

CreateEngine()

Example

Code Block
// Create an engine that will not shut down when the connections end
// Uses the named pipe REVCAPI_TEST
Error = CreateEngine(Engine, "\\.\REVCAPI_TEST",  "EXAMPLES",CREATE_ENGINE_OPEN_ALWAYS$,  1)
// keep the engine open as long as necessary...
Error = CloseEngine(Engine)