SVC_GetReplyBuffer
This function is used to allocate a reply buffer of the specified length, and associate it with the token. The contents of the allocated reply buffer will be sent back to the host when SVC_SendReply() function is called.
Synopsis
#include <csa8hiface.h>ditto for all SVC functions
void *SVC_GetReplyBuffer(HI_MsgHandle token,
uint32 replyLength);
Parameter | Description |
---|---|
token
|
The token identifying the request. |
replyLength
|
The length of the reply buffer requested by the caller. |
Output Requirements
If the reply buffer is allocated successfully, a pointer to the allocated reply buffer is returned. Otherwise, NULL is returned.