LaunchCallBack

Function Usage

Performs asynchronous callback.

It can be called after calling CreateAscendStream.

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:

1
typedef void (*aclrtCallback)(void *userData)

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.