VioGetCurType: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:VioGetCurType to VioGetCurType |
mNo edit summary |
||
Line 1: | Line 1: | ||
Returns the cursor type. | Returns the cursor type. | ||
==Syntax== | ==Syntax== | ||
VioGetCurType(CursorData, VioHandle) | |||
==Parameters== | ==Parameters== | ||
; CursorData (PVIOCURSORINFO) - output : Cursor characteristics. | ;CursorData (PVIOCURSORINFO) - output : Cursor characteristics. | ||
Address of the cursor-characteristics structure. | :Address of the cursor-characteristics structure. | ||
; VioHandle (HVIO) - input : Presentation-space handle. | ; VioHandle (HVIO) - input : Presentation-space handle. | ||
This must be 0, unless the caller is a Presentation Manager application; in this case, it must be the value returned by VioCreatePS | :This must be 0, unless the caller is a Presentation Manager application; in this case, it must be the value returned by [[VioCreatePS]] | ||
==Return Code== | ==Return Code== | ||
rc (APIRET) - returns | rc (APIRET) - returns | ||
VioGetCurType returns one of the following values: | VioGetCurType returns one of the following values: | ||
* 0 NO_ERROR | * 0 NO_ERROR | ||
* 355 ERROR_VIO_MODE | * 355 ERROR_VIO_MODE | ||
* 421 ERROR_VIO_INVALID_PARMS | * 421 ERROR_VIO_INVALID_PARMS | ||
* 436 ERROR_VIO_INVALID_HANDLE | * 436 ERROR_VIO_INVALID_HANDLE | ||
==Related Functions== | ==Related Functions== | ||
* [[ | * [[VioCreatePS]] | ||
[[Category: | [[Category:Vio]] |
Revision as of 04:43, 13 February 2017
Returns the cursor type.
Syntax
VioGetCurType(CursorData, VioHandle)
Parameters
- CursorData (PVIOCURSORINFO) - output
- Cursor characteristics.
- Address of the cursor-characteristics structure.
- VioHandle (HVIO) - input
- Presentation-space handle.
- This must be 0, unless the caller is a Presentation Manager application; in this case, it must be the value returned by VioCreatePS
Return Code
rc (APIRET) - returns
VioGetCurType returns one of the following values:
- 0 NO_ERROR
- 355 ERROR_VIO_MODE
- 421 ERROR_VIO_INVALID_PARMS
- 436 ERROR_VIO_INVALID_HANDLE