Previous in Contents Next in Contents

IClientPaymentProvider::Exists

Syntax

HRESULT Exists(
BSTRbstrFriendName// in
long *plExists// out
);

Description

The Exists function determines whether an instance with the same friendly name as the one being created already exists in the CPC. This function ensures the uniqueness of friendly names (regardless of case) within the CPC.

Parameters

bstrFriendName
Friendly name to compare to other names of instances to determine its uniqueness within the CPC.
plExists
Non-zero if the specified friendly name is already in use.

Return Value

This function returns one of the following values.

Value Meaning
E_FAIL Failure
S_OK Success

Remarks

The IWalletCallback::Exists function determines the uniqueness of a friendly name across all CPCs.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.