int c = hw_GetDisplayAttr(APTR handle, struct hwTagList *tags);
HWDISPATTR_RAWWIDTH:pData member of this tag. You must set pData
to an int pointer for this purpose.
HWDISPATTR_RAWHEIGHT:pData member of this tag. You must set pData
to an int pointer for this purpose.
HWDISPATTR_BUFFERWIDTH:HWDISPATTR_RAWWIDTH
in case autoscaling is active. The return value will be written to the pData member of this tag. You must set
pData to an int pointer for this purpose.
HWDISPATTR_BUFFERHEIGHT:HWDISPATTR_RAWHEIGHT
in case autoscaling is active. The return value will be written to the pData member of this tag. You must set
pData to an int pointer for this purpose.
HWDISPATTR_FLAGS:pData member of this tag. You must set pData to an ULONG pointer for
this purpose.
HWDISPATTR_SCALEWIDTH:pData member of this tag.
You must set pData to an int pointer for this purpose.
HWDISPATTR_SCALEHEIGHT:pData member of this tag.
You must set pData to an int pointer for this purpose.
HWDISPATTR_SCALEMODE:pData member of this tag.
You must set pData to an int pointer for this purpose.
HWDISPATTR_CANDROPFILE:True or False and it will be written to the pData member of this tag.
You must set pData to an int pointer for this purpose. (V7.0)
HWDISPATTR_USESATELLITE:iData member of this tag is set to True, Hollywood will assume that the handle parameter
passed to hw_GetDisplayAttr() is a display satellite handle allocated by hw_AttachDisplaySatellite()
instead of a normal display handle. hw_GetDisplayAttr() will then query the specified attributes
from the satellite's root display. This tag allows you to query attributes from a display through
a display satellite handle. (V7.0)
HWDISPATTR_SCALEFACTOR:pData member
of this tag needs to be set to a pointer to a double which will receive the current display scale
factor. (V8.0)
hw_GetDisplayAttr() returns the number of attributes successfully handled.