Retrieve information of a display mode.
| Parameter | Description |
|---|---|
| Index | Index of the display mode to retrieve. |
This function returns the width, height and depth of a given display mode.
An xrMode structure is returned or NULL on failure.
Returns the total number of display modes.
This function returns the total number of known display modes.
Returns the total number of known display modes.
Change the width and height of the display.
| Parameter | Description |
|---|---|
| Width | The required width of the display. |
| Height | The required height of the display. |
This function changes the width and height of the display to that indicated by the Width and Height parameters. If the requested size does not match a known mode, the closest matching mode will be chosen.
| Okay | Operation successful. |
|---|
Display mode.
| Field | Type | Description |
|---|---|---|
| Width | LONG | Horizontal |
| Height | LONG | Vertical |
| Depth | LONG | bit depth |