sti [2/2]: add stubs for the IStillImageW interface
Damjan Jovanovic
damjan.jov at gmail.com
Wed Sep 30 07:48:19 CDT 2009
On Wed, Sep 30, 2009 at 2:21 PM, Alexandre Julliard <julliard at winehq.org> wrote:
> Damjan Jovanovic <damjan.jov at gmail.com> writes:
>
>> +static const struct IUnknownVtbl internal_unk_vtbl =
>> +{
>> + Internal_QueryInterface,
>> + Internal_AddRef,
>> + Internal_Release
>> +};
>> +
>> +static const struct IStillImageWVtbl stillimagew_vtbl =
>> +{
>> + stillimagew_QueryInterface,
>> + stillimagew_AddRef,
>> + stillimagew_Release,
>> + stillimagew_Initialize,
>> + stillimagew_GetDeviceList,
>> + stillimagew_GetDeviceInfo,
>> + stillimagew_CreateDevice,
>> + stillimagew_GetDeviceValue,
>> + stillimagew_SetDeviceValue,
>> + stillimagew_GetSTILaunchInformation,
>> + stillimagew_RegisterLaunchApplication,
>> + stillimagew_UnregisterLaunchApplication,
>> + stillimagew_EnableHwNotifications,
>> + stillimagew_GetHwNotificationState,
>> + stillimagew_RefreshDeviceBus,
>> + stillimagew_LaunchApplicationForDevice,
>> + stillimagew_SetupDeviceParameters,
>> + stillimagew_WriteToErrorLog
>> +};
>
> You don't really need a separate vtbl for IUnknown.
I'm pretty sure you do need a separate IUnknown interface if the
object aggregates, which it does on Windows (tests will follow).
IIRC msxml3 does the same in node.c ...
> --
> Alexandre Julliard
> julliard at winehq.org
>
Damjan Jovanovic
More information about the wine-devel
mailing list