如何在C#中调用此方法(它是WD_SDK.dll中的方法,它是C ++)?
WD_RegisterVideoPreviewCB(HANDLE hChannel, PVOID pContext, VideoCaptureCB_Ptr pCB);
答案 0 :(得分:-1)
使用此
[DllImport("yourdll.dll", EntryPoint = "WD_RegisterVideoPreviewCB")]
public static extern void (HANDLE hChannel, PVOID pContext, VideoCaptureCB_Ptr pCB);