How to add struct definition?

John Chapman john.chapman at live.com
Fri Sep 9 00:38:03 UTC 2022


On Friday, 9 September 2022 at 00:16:01 UTC, Injeckt wrote:
> I need to add this struct definition in my project. But how to 
> do that?
> This structure:
> https://docs.microsoft.com/en-us/windows/win32/api/iptypes/ns-iptypes-ip_adapter_info

It's defined in DRuntime, so you can just import the module like 
this:

import core.sys.windows.iptypes;


More information about the Digitalmars-d-learn mailing list