GetCustomerNameA

Top  Previous  Next

This function retrieves customer's name, which is specified during purchase process.

 

static void GetCustomerName(OUT char* pchCustomerName, IN int iMaxLength);

 

Parameters

 

 char* pchCustomerName - Buffer for the customer's name.
 int iMaxLength             - Length of the buffer.

 

Return value

 

 Returns nothing. The output parameter (pchCustomerName) will get the name, like 'Jane Mendes'.

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowCustomerName()

{

 const int ciBufferLen = 256;

 char chBuffer[ciBufferLen] = {0, };

 CIntelliProtector::GetCustomerNameA(chBuffer, ciBufferLen);

 AfxMessageBox(chBuffer);        

}

 

 

 





Copyright © 2015 IntelliProtector.com