GetCustomerEMailW

Top  Previous  Next

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

 

static void GetCustomerEMailW(OUT wchar_t* pwcsCustomerEMail, IN int iMaxLength);

 

Parameters

 

 wchar_tpwcsCustomerEMail - Buffer for the customer's e-mail address.
 int iMaxLength              - Length of the buffer.

 

Return value

 

 Returns nothing. The output parameter (pwcsCustomerEMail) will get e-mail address.

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowEMailAddress()

{

 const int ciBufferLen = 256;

 wchar_t wcsCustomerEMail[ciBufferLen] = {0, };

 CIntelliProtector::GetCustomerEMailW(wcsCustomerEMail, ciBufferLen);

 AfxMessageBox(wcsCustomerEMail);        

}

 

 

 





Copyright © 2015 IntelliProtector.com