[Win32 API] LoadCursor Fuction
Load the cursor resource named by lpszResourceName or
specified by nIDResource from the current executable file.
Syntax
Parameter
specified by nIDResource from the current executable file.
Syntax
HCURSOR WINAPI LoadCursor( __in_opt HINSTANCE hInstance, __in LPCTSTR lpCursorName );
Parameter
- lpszResourceName : Point to a nul-terminated string that contains the name of the cursor resource. You can use a Cstring for this argument.
- nIDResource : ID of the cursor resource. For a list of resources, see LoadCursor in the Windows SDK.
Return Value
- A handle to a cursor if successful; otherwise NULL.
댓글
댓글 쓰기