Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6ERR P6CCALL P6R::p6UUIDToWString ( const P6R::P6UUID uuid,
P6WCHAR *  pBuffer,
P6SIZE  cBuffer 
)

This function is used to convert a P6UUID into a wide string in the form "{00000000-0000-0000-0000-000000000000}".

Parameters
uuid[ in ] A reference to the P6R::P6UUID to convert into a string.
pBuffer[ out ] A pointer to a P6R::P6WCHAR buffer in which will be placed the string representation of uuid.
cBuffer[ in ] The size in characters of pBuffer. pBuffer must be at least P6UUID_STR_SIZE characters wide.
Returns
SuccessP6R::eOkThe UUID was successfully converted to a string and placed in pBuffer.
FailureP6R::eInvalidArgpBuffer or cBuffer was zero.
P6R::eTooSmallcBuffer was less than P6UUID_STR_SIZE.