Previous in Contents Next in Contents

ICreditCardEncryption2::CreateProtocol

Syntax

HRESULT CreateProtocol(
ICreditCardEncryption2_Callback *
pCallBack// in
);

Description

The Wallet calls the CreateProtocol method to pass an instance of the ICreditCardEncryption2_Callback interface to the Payment Builder's implementation of ICreditCardEncryption2.

The ICreditCardEncrypt2_Callback interface implements methods that support setting and retrieving information about the Credit Card, including its current property values. Typically, the Payment Builder's ICreditCardEncryption2 stores the ICreditCardEncryption2_Callback interface pointer, so that the callback interface's methods can be called by ICreditCardEncryption2 interface methods.

This is the first method called when a protocol is instantiated.

Parameters

pCallBack
A valid ICreditCardEncryption2_Callback interface pointer. This interface pointer is initialized by the Wallet.

© 1997-2000 Microsoft Corporation. All rights reserved.