Epson S1D13504 Technical Manual page 183

Color graphics lcd/crt controller
Hide thumbs Also See for S1D13504:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/01
int seGetScreenSize(int device, int *width, int *height)
Description:
Determines the width and height of the active display device (LCD or CRT).
Parameter:
device - registered device ID
width - width of display in pixels
height - height of display in pixels
Return Value: ERR_OK - operation completed with no problems.
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seReadDisplayByte(int device, DWORD offset, BYTE *pByte)
Description:
Reads a byte from the display buffer.
Parameter:
device - registered device ID
offset - offset (in bytes) from start of the display buffer
pByte - returns value of byte.
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seReadDisplayWord(int device, DWORD offset, WORD *pWord)
Description:
Reads a word from the display buffer.
Parameter:
device - registered device ID
offset - offset (in bytes) from start of the display buffer
pWord - returns value of word.
Return Value: ERR_OK - operation completed with no problems.
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seReadDisplayDword(int device, DWORD offset, DWORD *pDword)
Description:
Reads a dword from the display buffer.
Parameter:
device - registered device ID
offset - offset from start of the display buffer
pDword - returns value of dword.
Return Value: ERR_OK - operation completed with no problems.
ERR_INVALID_REG_DEVICE - device argument is not valid.
Page 43
S1D13504
X19A-G-002-07

Advertisement

Table of Contents
loading

Table of Contents