Previous in Contents Next in Contents

ICreditCardEncryption2::Delete

Syntax

STDMETHOD Delete(
HWND
hWnd// in
CREDITCARDINFO *pCCInfo// in
BYTE ** ppBlob// out
long *cLen// in, out
);

Description

If the user confirms the deletion of a credit card, the Wallet calls the Delete method to delete the payment instance.

Parameters

hWnd
Window handle to the parent window.
pCCInfo
Pointer to the credit-card information to delete.
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 dynamically allocate a new blob by calling CoTaskMemAlloc. The Credit Card CPC will later call CoTaskMemFree to free the memory allocated by this call.
cLen
Length of the blob.

© 1997-2000 Microsoft Corporation. All rights reserved.