stdcall -> system

This commit is contained in:
gingerBill
2024-01-17 17:25:23 +00:00
parent 75c659fa41
commit 90ac400ec5
11 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package sys_windows
foreign import "system:Dnsapi.lib"
@(default_calling_convention="std")
@(default_calling_convention="system")
foreign Dnsapi {
DnsQuery_UTF8 :: proc(name: cstring, type: u16, options: DWORD, extra: PVOID, results: ^^DNS_RECORD, reserved: PVOID) -> DNS_STATUS ---
DnsRecordListFree :: proc(list: ^DNS_RECORD, options: DWORD) ---
+1 -1
View File
@@ -217,7 +217,7 @@ NL_DAD_STATE :: enum i32 {
IpDadStatePreferred = 4,
}
@(default_calling_convention = "std")
@(default_calling_convention = "system")
foreign iphlpapi {
/*
The GetAdaptersAddresses function retrieves the addresses associated with the adapters on the local computer.