VioGetCurType: Difference between revisions
Appearance
Created page with "==Description== Returns the cursor type. ==Syntax== <PRE> #define INCL_VIO #include <os2.h> PVIOCURSORINFO CursorData; →Cursor characteristics.: HVIO V..." |
m Ak120 moved page OS2 API:CPI:VioGetCurType to VioGetCurType |
(No difference)
|
Revision as of 09:52, 10 January 2017
Description
Returns the cursor type.
Syntax
#define INCL_VIO #include <os2.h> PVIOCURSORINFO CursorData; /* Cursor characteristics. */ HVIO VioHandle; /* Presentation-space handle. */ APIRET rc; /* Return code. */ rc = 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
Remarks
Example Code
Related Functions
- [[OS2 API:CPI: