Versions Compared

Key

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

...

Close a queue handle created by an earlier call to the CreateQueue() function.

Syntax

Error = CloseQueue (Queue)

...

ParameterDescription
QueueHandle for the queue, created by CreateQueue().

See also

CreateQueue()

Example

Code Block
// Close a queue on an engine created by CreateEngine in the SYSPROG account.
 
Error = CreateEngine(Engine, "\\.\REVCAPI_TEST",  "SYSPROG",CREATE_ENGINE_OPEN_ALWAYS$,  1)
Error = CreateQueue(Queue, Engine, "", "", "SYSPROG")
// keep the queue open as long as necessary
Error = CloseQueue(Queue)