Description
GreStopJournalFile writes the END_OF_JOURNALFILE marker into the journal file, closes the journal file, and turns OFF the COM_RECORDING bit.
This function is supported by the graphics engine.
#define INCL_GRE_JOURNALING
#include <os2.h>
HDC hdc; /* Device context handle. */
ULONG hJournal; /* Journal file handle. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreStopJournalFile. */
BOOL rc; /* Return codes. */
rc = GreStopJournalFile(hdc, hJournal, pInstance,
lFunction);