GrePlayJournalFile: Difference between revisions
Created page with "GrePlayJournalFile plays a journal file to the specified DC. This function is supported by the graphics engine. ==Syntax== GrePlayJournalFile(hdc, hJournal, pInstance, lF..." |
m schlecht kopiert |
||
Line 1: | Line 1: | ||
GrePlayJournalFile plays a journal file to the specified DC. | GrePlayJournalFile plays a journal file to the specified DC. | ||
This function is supported by the graphics engine. | This function is supported by the graphics engine. | ||
==Syntax== | ==Syntax== | ||
GrePlayJournalFile(hdc, hJournal, pInstance, lFunction) | GrePlayJournalFile(hdc, hJournal, pInstance, lFunction) | ||
==Parameters== | ==Parameters== | ||
;hdc (HDC) - input | ;hdc (HDC) - input:Device context handle. | ||
:Device context handle. | ;hJournal (ULONG) - input:Journal file handle. | ||
;pInstance (PVOID) - input:Pointer to instance data. | |||
;hJournal (ULONG) - input | ;lFunction (ULONG) - input:High-order WORD=flags; low-order WORD=NGrePlayJournalFile. | ||
:Journal file handle. | |||
;pInstance (PVOID) - input | |||
:Pointer to instance data. | |||
;lFunction (ULONG) - input | |||
:High-order WORD=flags; low-order WORD=NGrePlayJournalFile. | |||
==Return Code== | ==Return Code== | ||
;fSuccess (BOOL) - returns | ;fSuccess (BOOL) - returns:Return codes. | ||
:Return codes. | :On completion, the handling routine must return BOOLEAN (fSuccess). | ||
:*TRUE Successful | |||
:On completion, the handling routine must return BOOLEAN (fSuccess). | :*FALSE Error | ||
Possible Errors Detected: When an error is detected, the graphics engine calls WinSetErrorInfo to post the condition. Reasons for failure of this function include: | |||
:*TRUE Successful | :*PMERR_BASE_ERROR | ||
:*FALSE Error | :*PMERR_BITMAP_IS_SELECTED | ||
:*PMERR_BITMAP_NOT_SELECTED | |||
:*PMERR_COORDINATE_OVERFLOW | |||
:*PMERR_DEV_FUNC_NOT_INSTALLED | |||
:*PMERR_BASE_ERROR | :*PMERR_EXCEEDS_MAX_SEG_LENGTH | ||
:*PMERR_BITMAP_IS_SELECTED | :*PMERR_HBITMAP_BUSY | ||
:*PMERR_BITMAP_NOT_SELECTED | :*PMERR_HDC_BUSY | ||
:*PMERR_COORDINATE_OVERFLOW | :*PMERR_HRGN_BUSY | ||
:*PMERR_DEV_FUNC_NOT_INSTALLED | :*PMERR_HUGE_FONTS_NOT_SUPPORTED | ||
:*PMERR_EXCEEDS_MAX_SEG_LENGTH | :*PMERR_INCORRECT_DC_TYPE | ||
:*PMERR_HBITMAP_BUSY | :*PMERR_INSUFFICIENT_MEMORY | ||
:*PMERR_HDC_BUSY | :*PMERR_INV_BACKGROUND_COL_ATTR | ||
:*PMERR_HRGN_BUSY | :*PMERR_INV_BACKGROUND_MIX_ATTR | ||
:*PMERR_HUGE_FONTS_NOT_SUPPORTED | :*PMERR_INV_BITMAP_DIMENSION | ||
:*PMERR_INCORRECT_DC_TYPE | :*PMERR_INV_CHAR_DIRECTION_ATTR | ||
:*PMERR_INSUFFICIENT_MEMORY | :*PMERR_INV_CHAR_MODE_ATTR | ||
:*PMERR_INV_BACKGROUND_COL_ATTR | :*PMERR_INV_CODEPAGE | ||
:*PMERR_INV_BACKGROUND_MIX_ATTR | :*PMERR_INV_COLOR_ATTR | ||
:*PMERR_INV_BITMAP_DIMENSION | :*PMERR_INV_COORD_SPACE | ||
:*PMERR_INV_CHAR_DIRECTION_ATTR | :*PMERR_INV_COORDINATE | ||
:*PMERR_INV_CHAR_MODE_ATTR | :*PMERR_INV_DC_DATA | ||
:*PMERR_INV_CODEPAGE | :*PMERR_INV_DC_TYPE | ||
:*PMERR_INV_COLOR_ATTR | :*PMERR_INV_DRIVER_NAME | ||
:*PMERR_INV_COORD_SPACE | :*PMERR_INV_HBITMAP | ||
:*PMERR_INV_COORDINATE | :*PMERR_INV_HDC | ||
:*PMERR_INV_DC_DATA | :*PMERR_INV_HJOURNAL | ||
:*PMERR_INV_DC_TYPE | :*PMERR_INV_HRGN | ||
:*PMERR_INV_DRIVER_NAME | :*PMERR_INV_ID | ||
:*PMERR_INV_HBITMAP | :*PMERR_INV_IN_AREA | ||
:*PMERR_INV_HDC | :*PMERR_INV_IN_PATH | ||
:*PMERR_INV_HJOURNAL | :*PMERR_INV_INFO_TABLE | ||
:*PMERR_INV_HRGN | :*PMERR_INV_LENGTH_OR_COUNT | ||
:*PMERR_INV_ID | :*PMERR_INV_LINE_TYPE_ATTR | ||
:*PMERR_INV_IN_AREA | :*PMERR_INV_METAFILE | ||
:*PMERR_INV_IN_PATH | :*PMERR_INV_MIX_ATTR | ||
:*PMERR_INV_INFO_TABLE | :*PMERR_INV_PATTERN_REF_PT_ATTR | ||
:*PMERR_INV_LENGTH_OR_COUNT | :*PMERR_INV_PATTERN_SET_ATTR | ||
:*PMERR_INV_LINE_TYPE_ATTR | |||
:*PMERR_INV_METAFILE | |||
:*PMERR_INV_MIX_ATTR | |||
:*PMERR_INV_PATTERN_REF_PT_ATTR | |||
:*PMERR_INV_PATTERN_SET_ATTR | |||
:*PMERR_INV_PATTERN_SET_FONT | :*PMERR_INV_PATTERN_SET_FONT | ||
:*PMERR_INV_RECT | :*PMERR_INV_RECT | ||
Line 76: | Line 65: | ||
:*PMERR_RAM_JNL_FILE_TOO_SMALL | :*PMERR_RAM_JNL_FILE_TOO_SMALL | ||
:*PMERR_REGION_IS_CLIP_REGION | :*PMERR_REGION_IS_CLIP_REGION | ||
Refer to the "Error Explanations" section of the ''Presentation Manager Programming Reference'' for further explanation. | |||
==Remarks== | ==Remarks== | ||
The journal file is read into memory and each journaled call is played. Each journaled record is processed before playing to fix-up data pointers, and create "clone objects," such as regions or bit maps, if necessary, from the journaled data. It is assumed that any single journaled function and associated data fits in a 32KB buffer. If the journaled record contains region rectangles or bit-map bits, they are not considered in this restriction. | The journal file is read into memory and each journaled call is played. Each journaled record is processed before playing to fix-up data pointers, and create "clone objects," such as regions or bit maps, if necessary, from the journaled data. It is assumed that any single journaled function and associated data fits in a 32KB buffer. If the journaled record contains region rectangles or bit-map bits, they are not considered in this restriction. | ||
[[Category:Gre]] | [[Category:Gre]] |
Latest revision as of 08:40, 2 January 2020
GrePlayJournalFile plays a journal file to the specified DC.
This function is supported by the graphics engine.
Syntax
GrePlayJournalFile(hdc, hJournal, pInstance, lFunction)
Parameters
- hdc (HDC) - input
- Device context handle.
- hJournal (ULONG) - input
- Journal file handle.
- pInstance (PVOID) - input
- Pointer to instance data.
- lFunction (ULONG) - input
- High-order WORD=flags; low-order WORD=NGrePlayJournalFile.
Return Code
- fSuccess (BOOL) - returns
- Return codes.
- On completion, the handling routine must return BOOLEAN (fSuccess).
- TRUE Successful
- FALSE Error
Possible Errors Detected: When an error is detected, the graphics engine calls WinSetErrorInfo to post the condition. Reasons for failure of this function include:
- PMERR_BASE_ERROR
- PMERR_BITMAP_IS_SELECTED
- PMERR_BITMAP_NOT_SELECTED
- PMERR_COORDINATE_OVERFLOW
- PMERR_DEV_FUNC_NOT_INSTALLED
- PMERR_EXCEEDS_MAX_SEG_LENGTH
- PMERR_HBITMAP_BUSY
- PMERR_HDC_BUSY
- PMERR_HRGN_BUSY
- PMERR_HUGE_FONTS_NOT_SUPPORTED
- PMERR_INCORRECT_DC_TYPE
- PMERR_INSUFFICIENT_MEMORY
- PMERR_INV_BACKGROUND_COL_ATTR
- PMERR_INV_BACKGROUND_MIX_ATTR
- PMERR_INV_BITMAP_DIMENSION
- PMERR_INV_CHAR_DIRECTION_ATTR
- PMERR_INV_CHAR_MODE_ATTR
- PMERR_INV_CODEPAGE
- PMERR_INV_COLOR_ATTR
- PMERR_INV_COORD_SPACE
- PMERR_INV_COORDINATE
- PMERR_INV_DC_DATA
- PMERR_INV_DC_TYPE
- PMERR_INV_DRIVER_NAME
- PMERR_INV_HBITMAP
- PMERR_INV_HDC
- PMERR_INV_HJOURNAL
- PMERR_INV_HRGN
- PMERR_INV_ID
- PMERR_INV_IN_AREA
- PMERR_INV_IN_PATH
- PMERR_INV_INFO_TABLE
- PMERR_INV_LENGTH_OR_COUNT
- PMERR_INV_LINE_TYPE_ATTR
- PMERR_INV_METAFILE
- PMERR_INV_MIX_ATTR
- PMERR_INV_PATTERN_REF_PT_ATTR
- PMERR_INV_PATTERN_SET_ATTR
- PMERR_INV_PATTERN_SET_FONT
- PMERR_INV_RECT
- PMERR_INV_REGION_CONTROL
- PMERR_INV_REGION_MIX_MODE
- PMERR_INV_SCAN_START
- PMERR_INV_USAGE_PARM
- PMERR_JFILE_BUSY
- PMERR_RAM_JNL_FILE_TOO_SMALL
- PMERR_REGION_IS_CLIP_REGION
Refer to the "Error Explanations" section of the Presentation Manager Programming Reference for further explanation.
Remarks
The journal file is read into memory and each journaled call is played. Each journaled record is processed before playing to fix-up data pointers, and create "clone objects," such as regions or bit maps, if necessary, from the journaled data. It is assumed that any single journaled function and associated data fits in a 32KB buffer. If the journaled record contains region rectangles or bit-map bits, they are not considered in this restriction.