ICreditCardEncryption2::Add
Syntax
STDMETHOD Add(
HWND hWnd// in
CREDITCARDINFO *pCCInfo// in
BYTE ** ppBlob// in, out
long *cLen// in, out
);
Description
The Wallet calls the Add method when a new payment instance is being added. The Wallet's call to this method allows the plug-in protocol to query information from the user, which is then stored for later use by the Credit Card CPC.
Parameters
- hWnd
- Window handle to the parent window.
- pCCInfo
- Pointer to the credit-card information.
- ppBlob
- Address where this function returns a pointer to a blob that will be stored by the Credit Card CPC and given to the protocol when a payment instruction is generated. The ppBlob value should be NULL if the protocol does not need to store any information. If the protocol does store a value, it must be returned in dynamically allocated memory, using CoTaskMemAlloc, and this memory will be freed by the Credit Card CPC.
- cLen
- The address to which this method returns the length of the blob.
© 1997-2000 Microsoft Corporation. All rights reserved.