SetFormatChangedCallback
|
![]() ![]() ![]() |
|
[in] void* context
|
Address of the context in which the callback function will operate.
|
|
[in] FormatChangedCallback callback
|
Address of the callback function
|
|
S_OK
|
Success
|
E_FAIL
|
Failure
|
|
int CGigemuDlg::onFormatChanged()
|
{
|
delete imgBuf;
|
imgBuf=new (m_pCamera->GetPayloadSize())
|
return 0;
|
}
|
}
|
....
|
m_pCamera->SetWriteCallback(this, &::onFormatChangedCallback);
|
....
|
}
|
|