Description
GreCreateJournalFile creates a journal file on disk. The presentation driver calls GreCreateJournal when responding to DevEscape DEVESC_STARTDOC.
This function is supported by the graphics engine.
#define INCL_GRE_JOURNALING #include <os2.h> PSZ pszFileName; /* Pointer to a string containing the file name. */ ULONG flOption; /* Options. */ ULONG cSize; /* Size. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreCreateJournalFile. */ ULONG rc; /* Return codes. */ rc = GreCreateJournalFile(pszFileName, flOption, cSize, pInstance, lFunction);