Skip to content

Commit a588052

Browse files
Updates
1 parent ee71941 commit a588052

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/standard/native-interop/abi-support.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ ms.date: 10/25/2024
99

1010
| | Support | APIs |
1111
|---|---------|----------------|
12-
| **C** | ✔️ | <xref:System.Runtime.InteropServices.LibraryImportAttribute> <xref:System.Runtime.InteropServices.DllImportAttribute> |
12+
| **C** | ✔️ | <xref:System.Runtime.InteropServices.LibraryImportAttribute> provides source generated support in .NET 7+. Use <xref:System.Runtime.InteropServices.DllImportAttribute> when targeting earlier .NET versions. |
1313
| **C++** || [Guidance](#cpp) |
14-
| **COM and `IUnknown`** | ✔️ | <xref:System.Runtime.InteropServices.ComWrappers> <xref:System.Runtime.InteropServices.Marshalling.GeneratedComInterfaceAttribute> <xref:System.Runtime.InteropServices.Marshalling.GeneratedComClassAttribute> |
15-
| **Swift** | ✔️ | <xref:System.Runtime.InteropServices.Swift> namespace |
16-
| **Objective-C** | ✔️ | <xref:System.Runtime.InteropServices.ObjectiveC> namespace |
14+
| **COM and `IUnknown`** | ✔️ | In .NET 5+, low-level, cross-platform, `IUnknown` lifetime support is provided by <xref:System.Runtime.InteropServices.ComWrappers>. In .NET 8+, <xref:System.Runtime.InteropServices.Marshalling.GeneratedComInterfaceAttribute> and <xref:System.Runtime.InteropServices.Marshalling.GeneratedComClassAttribute> provide source generated C# projections. The built-in COM interop system is limited to the Windows platforms and required on versions prior to .NET 5. |
15+
| **Swift** | ✔️ | For .NET 9+, <xref:System.Runtime.InteropServices.Swift> namespace. |
16+
| **Objective-C** | ✔️ | For .NET 8+, <xref:System.Runtime.InteropServices.ObjectiveC> namespace. |
1717
| **golang** || [Guidance](#golang) |
1818
| **ARM64EC** || [Note](#arm64ec) |
1919

0 commit comments

Comments
 (0)