Marshaling Delegates as Function Pointers
The following table shows examples of how a managed delegate can be marshaled to a function pointer in unmanaged code.
Managed delegate (C#) | Unmanaged function pointer (C++) |
---|---|
|
|
|
|
Dieser Browser wird nicht mehr unterstützt.
Führen Sie ein Upgrade auf Microsoft Edge durch, um die neuesten Features, Sicherheitsupdates und den technischen Support zu nutzen.
The following table shows examples of how a managed delegate can be marshaled to a function pointer in unmanaged code.
Managed delegate (C#) | Unmanaged function pointer (C++) |
---|---|
|
|
|
|