## Presentation Device Driver Reference for OS/2

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

### GreOpenJournalFile - Syntax

Description

GreOpenJournalFile opens a journal file for play. The journal file must exist and must contain valid journaled calls.

This function is supported by the graphics engine.

    #define INCL_GRE_JOURNALING

    #include <os2.h>

    PSZ      pszFileName;  /*  Pointer a string containing the file name. */

    ULONG    flOption;     /*  An option flag that identifies the type of journal file. */

    ULONG    cBufSize;     /*  Size of buffer required for the file. */

    PVOID    pInstance;    /*  Pointer to instance data. */

    ULONG    lFunction;    /*  High-order WORD=flags; low-order WORD=NGreOpenJournalFile. */

    ULONG    rc;           /*  Return codes. */

    rc = GreOpenJournalFile(pszFileName, flOption,

           cBufSize, pInstance, lFunction);