SVC_GetReplyBuffer
Allocates a reply buffer of a specified length and associates it with a 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> void *SVC_GetReplyBuffer(HI_MsgHandle token, uint32 replyLength);
Input Parameters
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.