![]()
|
InstallShield 2008 ยป InstallScript Language Reference
The GetExtents function retrieves the dimensions of a screenin pixels. The width of the screen is returned in nvDx and the height is returned in nvDy. For example, a standard VGA monitor returns 640 in nvDx and 480 in nvDy.
Note
The screen dimensions of the target machine can be gotten natively through the Windows Installer service by using the ScreenX and ScreenY properties.
GetExtents ( nvDx, nvDy );
| Parameter |
Description |
|---|---|
| nvDx |
Returns the width of the screen in pixels. |
| nvDy |
Returns the height of the screen in pixels. |
| Return Value |
Description |
|---|---|
| 0 |
Indicates that the function successfully retrieved the dimensions of a screen. |
| < 0 |
Indicates that the function was unable to retrieve the values. |
See Also
|
|
Copyright Information | Contact Macrovision |