Windows dnsapi

Paul Backus snarwin at gmail.com
Wed Nov 1 17:34:31 UTC 2023


On Wednesday, 1 November 2023 at 15:39:20 UTC, Imperatorn wrote:
> I decompiled the entire dnsapi and it was 114_075 lines. I took 
> only the function declarations and translated them to D. It 
> kinda works, but I don't know where to put it.
> I guess if something is "undocumented it can't be used", or 
> what's the view on such things?

[Microsoft's "compatibility cookbook"][1] says "don't do it".

I guess you could put the bindings up on dub, with a big USE AT 
YOUR OWN RISK warning.

[1]: 
https://learn.microsoft.com/en-us/windows/compatibility/undocumented-apis


More information about the Digitalmars-d mailing list