HRESULT Create(
IWalletCallback *piCB// in
);
The Create function is the initialization member function, and must be called before any other function is called. All other functions will fail if called before Create.
This function returns one of the following values.
Value | Meaning |
---|---|
S_OK | Success |
E_FAIL | Failure |
E_OUTOFMEMORY | Out of memory |
During add and modify operations, the IWalletCallback::Exists function must be called to verify that no instance with the same friendly name exists across Payment Selector components.