直接用LoadCursorFromFile
The LoadCursorFromFile function creates a cursor based on data contained in a file. The file is specified by its name or by a system cursor identifier. The function returns a handle to the newly created cursor. Files containing cursor data may be in either cursor (.CUR) or animated cursor (.ANI) format.HCURSOR LoadCursorFromFile(
  LPCTSTR lpFileName  // file or identifier
);
Parameters
lpFileName 
[in] Specifies the source of the file data to be used to create the cursor. The data in the file must be in either .CUR or .ANI format. 
If the high-order word of lpszFileName is nonzero, it is a pointer to a string that is a fully qualified name of a file containing cursor data. 它支持ani