CloseEngine Function

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().

Error = CloseEngine(Engine)

The CloseEngine function has the following parameter.

ParameterDescription
EngineHandle for the engine created by CreateEngine().
// 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)
  • guides/programming/programmers_reference_manual/closeengine.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1