I think you've added a lot of code that is not really necessary, you could have created the stub function with one commit. For example, you don't need to add new stub functions in the spec file, create the winusbio.h header or all the definitions in winusb.h for this merge request.