Collapse All
Parallels Virtualization SDK
PrlApi_CalcIconHash Function
System Functions

Calculates hash for specified icon data which can be used later in PrlApi_ValidateInCache .

Syntax
PRL_RESULT PrlApi_CalcIconHash(
    PRL_VOID_PTR iconData, 
    PRL_UINT32 iconDataSize, 
    PRL_VOID_PTR_PTR pCalculatedHash
);
File

PrlApiManager.h

Parameters

iconData
Pointer to the buffer containing the icon data.
iconDataSize
Size of the data.
pCalculatedHash
Buffer to calculated hash. Null terminated UTF8 string. Use PrlBuffer_Free call in order to free memory allocated for hash buffer.
Returns

PRL_RESULT . Possible values: PRL_ERR_SUCCESS - operation completed successfully PRL_ERR_INVALID_ARG - wrong pointer or data size was provided PRL_ERR_OUT_OF_MEMORY - not enough memory to complete operation

Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.