GetCustomerNameW

Top  Previous  Next

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

 

static void GetCustomerNameW(OUT wchar_t* pwcsCustomerName, IN int iMaxLength);

 

Parameters

 

 wchar_tpwcsCustomerName - Buffer for the customer's name.
 int iMaxLength             - Length of the buffer.

 

Return value

 

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

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowCustomerName()

{

 const int ciBufferLen = 256;

 wchar_t wcsCustomerName[ciBufferLen] = {0, };

 CIntelliProtector::GetCustomerNameW(wcsCustomerName, ciBufferLen);

 AfxMessageBox(wcsCustomerName);        

}

 

 

 





Copyright © 2015 IntelliProtector.com