## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreStartJournalFile - Syntax

Description

GreStartJournalFile starts the journaling process.

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=NGreStartJournalFile. */

    BOOL     fSuccess;   /*  Return codes. */

    fSuccess = GreStartJournalFile(hdc, hJournal,

                 pInstance, lFunction);