About Animated Cursor (.ANI)

How to load a ANI file from disk then draw in a canvas?