Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the result of a successful PFCloudScriptExecuteEntityCloudScriptAsync call.
Syntax
HRESULT PFCloudScriptExecuteEntityCloudScriptGetResult(
XAsyncBlock* async,
size_t bufferSize,
void* buffer,
PFCloudScriptExecuteCloudScriptResult** result,
size_t* bufferUsed
)
Parameters
async XAsyncBlock*
Inout
XAsyncBlock for the async operation.
bufferSize size_t
The size of the buffer for the result object.
buffer void*
*Out_writes_bytes_to(bufferSize,bufferUsed)
Byte buffer used for the result value and its fields.
result PFCloudScriptExecuteCloudScriptResult**
library-allocated output
Pointer to the result object.
bufferUsed size_t*
optional output
The number of bytes in the provided buffer that were used.
Return value
Type: HRESULT
Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_CLOUD_SCRIPT_API_REQUEST_COUNT_EXCEEDED, E_PF_CLOUD_SCRIPT_API_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_FUNCTION_ARGUMENT_SIZE_EXCEEDED, E_PF_CLOUD_SCRIPT_HTTP_REQUEST_ERROR, E_PF_CLOUD_SCRIPT_NOT_FOUND, E_PF_INVALID_ENTITY_TYPE, E_PF_JAVASCRIPT_EXCEPTION, E_PF_TITLE_DELETED or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.
Remarks
result is a pointer within buffer and does not need to be freed separately.
Requirements
Header: PFCloudScript.h