IPaymentProviderInstall::SetTypeActivity
Syntax
HRESULT SetTypeActivity(
BSTRbstrType// in
longlActive// in
longfPersist// in
);
Description
Call the SetTypeActivity function to set the activity status of a payment type within a CPC.
Parameters
- bstrType
- Payment type to set to active status.
- lActive
- Status of the payment type. A value of one (1) indicates that the payment type is turned on; zero (0) indicates that it is turned off. If a payment type is turned off (inactive) by the user, the payment type bitmap disappears from the Payment Selector user interface until the payment type is turned on (active) again.
- fPersist
- Flag that indicates whether or not the status change should be persistent.
Return Value
This function returns one of the following values.
Value |
Meaning |
S_OK |
Success |
E_FAIL |
Failure |
© 1997-2000 Microsoft Corporation. All rights reserved.