CloseQueue Function

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

Error = CloseQueue(Queue)

The CloseQueue function has the following parameters.

ParameterDescription
QueueHandle for the queue, created by CreateQueue().
// 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)
  • guides/programming/programmers_reference_manual/closequeue.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1