OleIconToCursor function
Applies to: desktop apps only
Converts an icon to a cursor.
Syntax
HCURSOR OleIconToCursor( __in HINSTANCE hinstExe, __in HICON hIcon );
Parameters
- hinstExe [in]
-
This parameter is ignored.
- hIcon [in]
-
A handle to the icon to be converted.
Return value
The function returns a handle to the new cursor object. The caller is responsible for deleting this cursor with the DestroyCursor function. If the conversion could not be completed, the return value is NULL.
Remarks
This function calls the CopyCursor function.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 3/7/2012