You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Runtime.InteropServices/Marshal.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3548,7 +3548,7 @@
3548
3548
<format type="text/markdown">< calling convention.
3551
+
The delegate `d` is converted to a function pointer that can be passed to unmanaged code using the [__stdcall](/cpp/cpp/stdcall) calling convention. You can set the calling convention by applying the <xref:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute> to the delegate.
3552
3552
3553
3553
You must manually keep the delegate from being collected by the garbage collector from managed code. The garbage collector does not track references to unmanaged code.
3554
3554
@@ -3611,7 +3611,7 @@
3611
3611
<format type="text/markdown">< calling convention.
3614
+
The delegate `d` is converted to a function pointer that can be passed to unmanaged code by using the [__stdcall](/cpp/cpp/stdcall) calling convention. You can set the calling convention by applying the <xref:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute> to the delegate.
3615
3615
3616
3616
You must manually keep the delegate from being collected by the garbage collector from managed code. The garbage collector does not track references to unmanaged code.
0 commit comments