>The problem with passing the IID into the function is it assumes that the rest >of the parameters are correct for the different interfaces, which may not be >the case.
good point >The main advantage with the CreateInstance/Initialize pairs is that it lets you >extend the interfaces without having to rev all the GUIDs all the time. It >comes down with how often you expect to change interfaces, and how many prior >interface versions you intend on supporting. Hopefully the interfaces won't change much at all. I just wanted to have a firm plan for handling versioning, or exposing vendor specific extensions. For the latter, forcing users to call QueryInterface seems appropriate. Reving all of the GUIDs to handle the former isn't a huge deal. Thanks, - Sean _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
