Dan Hipschman dsh@linux.ucla.edu writes:
@@ -93,6 +93,10 @@ typedef struct const IClassFactoryVtbl *lpVtbl; } ClassFactoryImpl;
+/* This makes it easier to upgrade to IBackgroundCopyJob3, IBackgroundCopyJob4,
- and whatever else MS decides to tack on later. */
+typedef IBackgroundCopyJob2 BITS_IBackgroundCopyJob;
Please don't do that, vtable entries should use the correct types, otherwise it will be very confusing. You'll just have to rename them when switching to a newer version of the interface.