|
uint8*(* DOFOperationSessionDataTransform::TransformReceiveData)(DOFOperationSessionDataTransform self, DOFInterfaceID sessionId, uint32 *pSize, uint8 *buffer) |
Transform data received from the other end of an OAP Session.
- Parameters
-
self | The DOFOperationSessionDataTransform this function is being called on. Will never be NULL . |
sessionId | The DOFInterfaceID associated with the OAP session. Will never be NULL . |
pSize | A pointer to the length of buffer. If new data is allocated to accommodate the transform, *pSize should be updated to the allocated size. |
buffer | The untransformed data. This will never be NULL . |
- Returns
- The transformed data. If the pointer differs from buffer, the returned pointer will be freed using PCRMem_Free.
- Return values
-
NULL | An error occurred while performing the data transformation. |
|