Function:
loadCursor(hInstance, lpCursorName)

Description:
Loads a cursor from either a currently running program's cursor resources or Windows' cursor resources.

Parameters:
hInstance: handle of application instance (0 to load a Windows cursor).
lpCursorName: the name of the cursor resource to be loaded or a numeric ID number identifying the resource.

Returns:
If the function succeeds, the return value is the handle of the newly loaded cursor, or 0 if an error occurs.

Example:
Select the icon to download the sample cursor.a5p. This file demonstrates setting the cursor to an animated cursor (loaded from a file) or a Windows cursor.