Function:
LoadCursorFromFile(lpFileName)

Description:
Loads a cursor from a cursor file. The cursor file can contain either a regular cursor (*.cur) or an animated cursor (*.ani). .

Parameters:
lpFileName: The filename of the cursor file to load.

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.