Damjan Jovanovic damjan.jov@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.