Description
GreDeleteJournalFile deletes a journal file and frees any objects associated with the journal file handle (such as compatible DCs, private clone regions or bit maps, and global memory segments).
This function is supported by the graphics engine.
#define INCL_GRE_JOURNALING #include <os2.h> ULONG hJournal; /* Journal file handle. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreDeleteJournalFile. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreDeleteJournalFile(hJournal, pInstance, lFunction);