The PrlJob_GetDataPtr function is used to obtain a pointer to a buffer containing the results of an asynchronous operation.
PRL_RESULT PrlJob_GetDataPtr( PRL_HANDLE hJob, PRL_VOID_PTR data_ptr, PRL_UINT32_PTR data_size );
PrlApiCore.h
PRL_RESULT. Possible values are:
PRL_ERR_INVALID_ARG - invalid handle.
PRL_ERR_BUFFER_OVERRUN - the size of the output buffer is not large enough. The parameter used to specify the size will contain the required size.
PRL_ERR_SUCCESS - function completed successfully.
Different operations may or may not provide a data buffer as a result of their execution. This function should be used only when an operation results in a buffer populated with the data specific to that operation.