Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ILicense2::getPropString ( const P6WCHAR pPropName,
P6WCHAR pBuffer,
P6UINT32  cBuffer,
P6UINT32 pWritten 
)
pure virtual

Retrieve the string value of the named property in the license that has been successfully verified or is currently in the process of being created (i.e., several setPropXXX have been called but createLicenseFile has not).

Parameters
pPropName[ in ] String containing the name of the license property.
pBuffer[ out ] Pointer to buffer to copy the property value
cBuffer[ in ] Number of entries in the buffer pointed to by pBuffer.
pWritten[ out ] Optional can be NULL, returns the number of characters written into pBuffer. This parameter cannot be NULL when pBuffer is also NULL.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eNotFoundpPropName cannot be found in the license.
P6R::eFormatErrorLicense file not properly constructed.
P6R::eNoMemoryInsufficient memory to look up property.
P6R::eInvalidArgpBuffer and pWritten are both NULL.