CWinApp::LoadOEMCursor

Syntax

HCURSOR LoadOEMCursor( UINT nIDCursor );

Parameters

nIDCursor

An OCR_ manifest constant identifier that specifies a predefined Windows cursor. You must have #define OEMRESOURCE in your source file to get access to the OCR_ constants in WINDOWS.H.

Remarks

Loads the Windows predefined cursor resource specified by nIDCursor.

Use LoadOEMCursor or the LoadStandardCursor member function to access the predefined Windows cursors.

Return Value

A handle to a cursor resource. If unsuccessful, returns NULL.

See Also

CWinApp::LoadCursor, CWinApp::LoadStandardCursor, ::LoadCursor