HCURSOR LoadCursor( LPSTR lpCursorName );
HCURSOR LoadCursor( UINT nIDCursor );
lpCursorName
Points to a null-terminated string that contains the name of the cursor resource. You can use a CString in place of an LPSTR.
nIDCursor
ID number of the resource.
Loads the cursor resource named by lpCursorName or specified by nIDCursor from the current executable file. LoadCursor loads the cursor into memory only if it has not been previously loaded.
Use the LoadStandardCursor or LoadOEMCursor member functions to access the predefined Windows cursors.
A handle to a cursor resource. If unsuccessful, returns NULL.
CWinApp::LoadStandardCursor, CWinApp::LoadOEMCursor, ::LoadCursor