Implemented OleIconToCursor.

This commit is contained in:
Hidenori Takeshima 2002-04-20 20:55:13 +00:00 committed by Alexandre Julliard
parent 13c5117fbb
commit ed8fbe3e95
1 changed files with 11 additions and 2 deletions

View File

@ -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 );
}