Platform |
Win32, x64 |
Purpose |
To create a cursor from data in a .CUR file. |
Syntax |
INTEGER(7) FUNCTION CREATE_CURSOR@( PTR ) |
Description |
Creates a cursor from a pointer to data that is in the same format as a .CUR file. When the program is terminated the cursor will be deleted. The function returns a handle that can be used, for example, with %`cu or in Windows API functions that require a HCURSOR handle. |
Return value |
Returns a handle to the new cursor. A zero return indicates failure. |