Difference between revisions of "ISInterface:GetDisplaySize"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
===Syntax=== | ===Syntax=== | ||
− | + | *bool GetDisplaySize(unsigned long &Height, unsigned long &Width) | |
== Purpose == | == Purpose == | ||
− | + | To obtain the display size of the window | |
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
+ | *unsigned long &Height | ||
+ | :'''[out]''' Variable to set to the windows height | ||
+ | *unsigned long &Width | ||
+ | :'''[out]''' Variable to set to the windows width | ||
=== Return Value === | === Return Value === | ||
+ | *bool | ||
+ | :Returns true on success, false on failure | ||
== Examples == | == Examples == | ||
− | + | unsigned long wHeight, wWidth; | |
− | + | pISInterface->GetDisplaySize(wHeight,wWidth); | |
+ | printf("Height: %d Width: %d",wHeight,wWidth); | ||
== See Also == | == See Also == | ||
* [[ISXDK:ISInterface|ISInterface]] | * [[ISXDK:ISInterface|ISInterface]] |
Latest revision as of 00:09, 3 September 2005
Syntax
- bool GetDisplaySize(unsigned long &Height, unsigned long &Width)
Purpose
To obtain the display size of the window
Usage
Parameters
- unsigned long &Height
- [out] Variable to set to the windows height
- unsigned long &Width
- [out] Variable to set to the windows width
Return Value
- bool
- Returns true on success, false on failure
Examples
unsigned long wHeight, wWidth; pISInterface->GetDisplaySize(wHeight,wWidth); printf("Height: %d Width: %d",wHeight,wWidth);