Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IModule::getVersionString ( VERSTRFIELDS  nField,
P6WCHAR pBuffer,
P6SIZE pcBuffer 
)
pure virtual

This method is used to retrieve the modules VERINFO string data.

Parameters
nField[ in ] A value from VERSTRFIELD indicating which string field to retrieve.
pBuffer[ out ] A pointer to an unsigned short buffer in which will be placed the requested string field data. This data should be interpreted using its assosiated locale string. The locale string can be retrieved using the getVersionLocale() method.
pcBuffer[INOUT] A pointer to an integer containing the size of pBuffer in characters. If pBuffer is too small, a value of eTooSmall will be returned directly and the required size of pBuffer will be returned in this argument. The required size can be retrieved for a given string by specifying pBuffer as NULL.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpBuffer is NULL but the value pointed to by pcBuffer is non-zero, OR pcBuffer is NULL.
P6R::eTooSmallpBuffer is too small. The required buffer size is returned in pcBuffer.
P6R::eFormatErrnField was not a valid VERSTRFIELDS value.
P6R::eFailThe requested string is empty.