[ros-dev] [ros-diffs] [greatlrd] 28680: implement GdiConvertPalette, GdiConvertRegion

James Tabor jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Fri Aug 31 00:14:41 CEST 2007


Ged wrote:
> Hi Magnus.
> 
> Can you explain these please, they seem a bit weird?
> 
> Cheers,
> Ged.
> 
> greatlrd at svn.reactos.org wrote:
>> Author: greatlrd
>> Date: Thu Aug 30 23:05:43 2007
>> New Revision: 28680
>>
>> URL: http://svn.reactos.org/svn/reactos?rev=28680&view=rev
>> Log:
>> implement GdiConvertPalette, GdiConvertRegion
>>
>> Modified:
>>     trunk/reactos/dll/win32/gdi32/misc/stubs.c
>>
>> Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
>> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs.c?rev=28680&r1=28679&r2=28680&view=diff
>> ==============================================================================
>> --- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
>> +++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Thu Aug 30 23:05:43 2007
>> @@ -1431,15 +1431,13 @@
>>  }
>>  
>>  /*
>> - * @unimplemented
>> + * @implemented
>>   */
>>  HPALETTE 
>>  STDCALL
>>  GdiConvertPalette(HPALETTE hpal)
>>  {
>> -	UNIMPLEMENTED;
>> -	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
>> -	return 0;
>> +	return hpal;
>>  }
>>  
>>  /*
>> @@ -1449,9 +1447,7 @@
>>  STDCALL
>>  GdiConvertRegion(HRGN hregion)
>>  {
>> -	UNIMPLEMENTED;
>> -	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
>> -	return 0;
>> +	return hregion;
>>  }
>>  
>>  /*
>>
>>
>>
>>   
> 
The tests show they just pass gass. Win311 throw back! Still stuck on backward compatibility.
Thanks,
James


More information about the Ros-dev mailing list