XblPrivacyBatchCheckPermissionResult
Get the results for an XblPrivacyBatchCheckPermissionAsync call.
Syntax
HRESULT XblPrivacyBatchCheckPermissionResult(
XAsyncBlock* async,
size_t bufferSize,
void* buffer,
XblPermissionCheckResult** ptrToBufferResults,
size_t* ptrToBufferCount,
size_t* bufferUsed
)
Parameters
async _In_
Type: XAsyncBlock*
The AsyncBlock for this operation.
bufferSize _In_
Type: size_t
The size of the provided buffer. Use XblPrivacyBatchCheckPermissionResultSize to get the size required.
buffer _Out_writes_bytes_to_(bufferSize,bufferUsed)
Type: void
A caller allocated byte buffer that passes back the permission result.
ptrToBufferResults _Outptr_
Type: XblPermissionCheckResult**
Passes back a strongly typed array of XblPermissionCheckResult that points into buffer. Do not free this as its lifecycle is tied to buffer.
ptrToBufferCount _Out_
Type: size_t*
Passes back the number of entries in the ptrToBufferResults array.
bufferUsed _Out_opt_
Type: size_t*
Passes back the number of bytes written to the buffer.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Requirements
Header: privacy_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib