Thread overview
How to add struct definition?
Sep 09, 2022
Injeckt
Sep 09, 2022
Paul Backus
Sep 09, 2022
John Chapman
September 09, 2022

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

September 09, 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

import core.sys.windows.iptypes;
September 09, 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;