不安全的回调 [英] unsafe callback

查看:173
本文介绍了不安全的回调的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

鉴于此.Net功能:

Dear all,

Given this .Net function:

void HFramegrabber.SetFramegrabberCallback(string callbackType, IntPtr callbackFunction, IntPtr userContext)

where callbackFunction is defined as:

   Herror (__stdcall *HAcqCallback)(void *AcqHandle, void *Context, void *UserContext)


我的问题:我如何在C#中实现这个callbackFunction以及来自函数``SetFramegrabberCallback''的参数如何?
我不是专家,也许有人有建议?

亲切的问候,
Leo


My question: how do i implement this callbackFunction in C# and how do the arguments from function ''SetFramegrabberCallback'' look like?
I''m not an expert, maybe someone has suggestions?

Kind regards,
Leo

推荐答案

我唯一可以找到的上述参考文献是 ^ ].如果这是您正在使用的产品,那么我认为您需要查阅他们的文档.
The only reference I could find to any of the above is here[^]. If this is the product you are using then I think you need to consult their documentation.


这篇关于不安全的回调的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆