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
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pBuffer is NULL but the value pointed to by pcBuffer is non-zero, OR pcBuffer is NULL. |
P6R::eTooSmall | pBuffer is too small. The required buffer size is returned in pcBuffer. |
P6R::eFormatErr | nField was not a valid VERSTRFIELDS value. |
P6R::eFail | The requested string is empty. |