Epson Research and Development
Page 43
Vancouver Design Center
Programming Notes and Examples
S1D13504
Issue Date: 01/02/01
X19A-G-002-07
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.