Can Windows API be overloaded to call the custom-function? I'd like to do this to return a different return code and customize the behavior of the API.
More specifically, I am looking to overload m_EnumDeviceDrivers. Please let me know if you have prior knowledge/experience with this.
I don't understand: Can't you write your own function, say MyEnumDeviceDrivers(), then call the WinAPI one inside of this one, then do the extra work? What is that you are trying to do?