Previous in Contents Next in Contents

ICreditCardEncryption2::Modify

Syntax

STDMETHOD Modify(
HWND
hWnd// in
CREDITCARDINFO *pOldCCInfo// in
CREDITCARDINFO *pNewCCInfo// in
BYTE ** ppBlob// out
long *cLen// out
);

Description

The Wallet calls the Payment Builder's implementation of the Modify method to modify the payment instance.

Parameters

hWnd
Window handle to the parent window.
pOldCCInfo
Pointer to the original credit-card information.
pNewCCInfo
Pointer to the changed credit-card information.
ppBlob
Address where this function returns a pointer to a blob that will be stored by the Credit Card component and given to the protocol when a payment instruction is generated. The ppBlob value should be NULL if the protocol does not need any information to be stored. **ppBlob is the blob originally stored when the card was added or last modified. If the blob is changed, the protocol must call CoTaskMemFree to free the original blob and call CoTaskMemAlloc to dynamically allocate a new blob. This memory will be freed by the Credit Card CPC.
cLen
Length of the blob.

© 1997-2000 Microsoft Corporation. All rights reserved.