Reputation: 97
I have a Windows desktop app, and I have a set of p/invoke APIs that I need to use, such as
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
static extern bool GlobalMemoryStatusEx([In, Out] MEMORYSTATUSEX lpBuffer);
I know this will fail certifications for MS store, but I don't care, since I do my own deployment. Having said that, the APIs work correctly in both Debug and Release.
Is there any issues I should be aware of - can this fail on my customer's machine?
Upvotes: 1
Views: 84
Reputation: 8666
Although this is not recommended, generally speaking, if you don't want to upload the package to the Store, this will work.
Upvotes: 2