msgqueuertn MSG_QUEUE_CALLBACK

Function called by DBMLSync when it wants to sleep.

Syntax

public MSG_QUEUE_CALLBACK msgqueuertn;

Remarks

The parameter specifies the sleep period in milliseconds. The function should return the following, as defined in dllapi.h.

  • MSGQ_SLEEP_THROUGH indicates that the routine slept for the requested number of milliseconds. This is usually the value you should return.
  • MSGQ_SHUTDOWN_REQUESTED indicates that you would like the synchronization to terminate as soon as possible.
  • MSGQ_SYNC_REQUESTED indicates that the routine slept for less than the requested number of milliseconds and that the next synchronization should begin immediately if a synchronization is not currently in progress.