LaunchCallBack
Prototype
1 | APP_ERROR AscendStream::LaunchCallBack(aclrtCallback fn, void* userData); |
Parameters
Parameter |
Input/Output |
Description |
||
|---|---|---|---|---|
fn |
Input |
Specifies the callback function to be added. Function prototype of the callback function:
|
||
userData |
Input |
Parameter required by the callback function. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: AscendStream