GetCurrentProductVersionA

Top  Previous  Next

This function returns the current product version.

 

static void GetCurrentProductVersionA(OUT char* pchPVersion, IN int iMaxLength);

 

Parameters

 

 charpchPVersion - This is a buffer for the product version.
 int iMaxLength   - Length of the buffer.

 

Return value

 

 Returns nothing. The output parameter (pchPVersion) will get the product version.

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowProductVersion()

{

 const int ciBufferLen = 256;

 char chBuffer[ciBufferLen] = {0, };

 CIntelliProtector::GetCurrentProductVersionA(chBuffer, ciBufferLen);

 AfxMessageBox(chBuffer);        

}

 

 

 





Copyright © 2015 IntelliProtector.com