GetCustomerEMailA

Top  Previous  Next

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

 

static void GetCustomerEMailA(OUT char* pchCustomerEMail, IN int iMaxLength);

 

Parameters

 

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

 

Return value

 

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

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowEMailAddress()

{

 const int ciBufferLen = 256;

 char chBuffer[ciBufferLen] = {0, };

 CIntelliProtector::GetCustomerEMailA(chBuffer, ciBufferLen);

 AfxMessageBox(chBuffer);        

}

 

 

 





Copyright © 2015 IntelliProtector.com