https://bugs.winehq.org/show_bug.cgi?id=22572
--- Comment #20 from Esme Povirk madewokherd@gmail.com --- Managed C++ Assemblies work, but this particular one fails:
Unhandled Exception: System.EntryPointNotFoundException: #680 assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) wyUpdate.VistaTools.IsUserAnAdmin() at updater.Form1..ctor (System.String[] args) [0x006e9] in <ad9c051884c743f298d67a77ee0c8662>:0 at (wrapper remoting-invoke-with-check) updater.Form1..ctor(string[]) at updater.Program.Main (System.String[] args) [0x0000b] in <ad9c051884c743f298d67a77ee0c8662>:0
[DllImport("shell32.dll", CharSet = CharSet.Unicode, EntryPoint = "#680")] public static extern bool IsUserAnAdmin();
Wine has this, so I'm guessing pinvokes by ordinal don't work correctly.