Re: Clarification regarding clean room guidelines and headers / prototypes
Alexandre Julliard <[email protected]>
| Newsgroups | gmane.comp.emulators.wine.devel |
|---|---|
| Message-ID | <87frmskk6n.fsf@wine> |
Fabian Maurer <[email protected]> writes: > Hello, > > Not sure who, apart from Alexandre, could help here, but I wanted to ask for > some clarification on the clean room guidelines (https://gitlab.winehq.org/ > wine/wine/-/wikis/Clean-Room-Guidelines) > > Let's say we want to add a few new COM classes / interfaces from WinRT for > some program. What is the official way to get those header definitions? Copy > paste from the official SDK? You can look at the headers but you can't copy/paste them wholesale. > Or worse, there is some windows adjacent dlls that only contain typelibs - can > we decompile those typelibs to get the COM interface definitions? Again, you can look at some specific definitions, but you can't use the decompiled typelib directly. > Or how about undocumented functions that are documented by third parties? ROS > is off limits, all others as well? There are for example C# projects that > provide P/Invoke definitions of otherwise undocumented functions. You can look for some hints about undocumented functions, but the right way is to write test cases. -- Alexandre Julliard [email protected]