devenum: Constify a variable

Andrew Talbot Andrew.Talbot at talbotville.com
Sun Apr 22 12:24:43 CDT 2007


Robert Shearman wrote:

> Andrew Talbot wrote:
>>   */
>>  static HRESULT WINAPI DEVENUM_IClassFactory_CreateInstance(
>>      LPCLASSFACTORY iface,
>> -    LPUNKNOWN pUnkOuter,
>> +    const IUnknown *pUnkOuter,
>>      REFIID riid,
>>      LPVOID *ppvObj)
>>   
> 
> I'm not sure what the point of this is.
> 

Hi Rob,

I'm just naively declaring that this function does not change the object to
which this pointer points. Why do you consider it might be pointless in
this case?

--
Andy.




More information about the wine-devel mailing list