https://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #21 from Reiny Nyt razzylaqui@gmail.com --- (In reply to Nikolay Sivov from comment #20)
This makes no sense to me. ID3D10DeviceChild does not have these methods you added. Also you don't need to get shader object instances before setting them to NULL.
Thank you for your feedback. I had a feeling I didn't know what I was doing, but it was worth a try. I can try to fix it though if possible. I wasn't sure what needed to be done to set objects to null, since IUnknown has the Release method (https://msdn.microsoft.com/en-us/library/ms682317%28VS.85%29.aspx) that you're supposed to use when unsetting device objects (if I recall correctly). I'll need to browse through again, although some parts of this feel like a headache to understand.
As for the methods in ID3D10DeviceChild, I wasn't entirely sure where to put them, since ID3D10Device has nothing but ID3D10DeviceChild already had a few of the methods from ID3D10Device added (such as GetPrivateData and SetPrivateData) so I put some others from the API page in there: https://msdn.microsoft.com/en-us/library/windows/desktop/bb173528%28v=vs.85%...