
HRESULT IsTypeValid(
BSTRbstrType// in
BSTRbstrAcceptTypes// in
long *plResult// out
);
The IsTypeValid function determines whether a type is valid given the accepted types string. This function is used by the user interface to indicate which payment types are accepted at a merchant's site. Payment types that are not accepted at a merchant's site appear shaded.
This function returns one of the following values.
| Value | Meaning |
|---|---|
| E_FAIL | Failure. |
| E_INVALIDARG | One or more of the arguments is invalid. |
| S_OK | Success. |