| Previous | Contents | Index |
Rewind a message file back to the start of its message header.
status = PMDF_rewind_message (dq_context)
Argument Data type Access Mechanism dq_context context pointer read/write reference
status = PMDFrewindMessage (dq_context)
int PMDFrewindMessage(PMDF_dq **dq_context)
dq_context
A message dequeue context created withPMDFdequeueInitialize.
PMDFrewindMessagewill "rewind" a message file back to the start of its message header. This routine can be called any time after all of the envelope "To:" addresses have been read withPMDFgetRecipientand prior to dequeuing or deferring the message. AfterPMDFrewindMessagehas been called, the message header can be read with eitherPMDFreadHeader,PMDFreadLine, orPMDFreadText.
PMDF__OK Normal, successful completion. PMDF__BADCONTEXT Illegal or corrupt context. Message was not rewound. PMDF__NO There is some sort of inconsistency in the message file; the message cannot be rewound.
| Previous | Next | Contents | Index |