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++) |
---|---|
|
|
|
|
Этот браузер больше не поддерживается.
Выполните обновление до Microsoft Edge, чтобы воспользоваться новейшими функциями, обновлениями для системы безопасности и технической поддержкой.
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++) |
---|---|
|
|
|
|