To call a Grexxx function that is supported as a simulation or internal function in the graphics engine, call the imported entry point with the Grexxx function parameters. The pInstance parameter should be NULL. For example, to call GreCreateJournalFile with the name assigned in the module definition file, use:

    result = GreCreateJournal (pszFileName, flOption, cSize, 0L, NGreCreateJournalFile);

Note: NGreCreateJournalFile is defined in the header file. See the description of GreCreateJournalFile.

Simulations (functions for the presentation driver interface that are supported by handling routines in the graphics engine) can also be called at the addresses given in the default dispatch table. Use the addresses contained in the dispatch table that is passed to the presentation driver at Enable time.


[Back: SETDRIVERINFO]
[Next: Presentation Driver Interface]