Skip to content
Snippets Groups Projects
Commit ed8fbe3e authored by Hidenori Takeshima's avatar Hidenori Takeshima Committed by Alexandre Julliard
Browse files

Implemented OleIconToCursor.

parent 13c5117f
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,17 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
*/
HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon)
{
FIXME("(%x,%x), not implemented (olepro32.dll)\n",hinstExe,hicon);
return S_OK;
ICONINFO ii;
TRACE("(%x,%x)\n",hinstExe,hicon);
ZeroMemory( &ii, sizeof(ii) );
if ( !GetIconInfo( hicon, &ii ) )
return (HCURSOR)NULL;
ii.fIcon = FALSE;
return CreateIconIndirect( &ii );
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment