读书人

这里的this该如何改?

发布时间: 2012-03-27 13:44:24 作者: rapoo

这里的this该怎么改????

C/C++ code
BOOL CSignalGeneratorDlg::OnInitDialog(){    bool            success = false;        CDialog::OnInitDialog();。。。。。    // Provide this class as a delegate to the audio and video output interfaces    m_deckLinkOutput->SetScheduledFrameCompletionCallback([color=#FF0000]this[/color]);    m_deckLinkOutput->SetAudioCallback([color=#FF0000]this[/color]);。。。。。}


4.3.12.IDeckLinkOutput::SetScheduledFrameCompletionCallback
该方法当队列的每一帧安排完毕后,被调用进行回放。
语法:
HRESULTSetScheduledFrameCompletionCallback(IDeckLinkOutputCallback *theCallback);
参数:
名称方向描述
theCallbackIn执行IDeckLinkOutputCallback对象接口的回放对象


我想把里面的代码放在_tmain函数里,请问this该怎么改呢???



[解决办法]
大体上:this vb.net = me

读书人网 >VB Dotnet

热点推荐