| Previous | Next |
| CRYPT_E_RECIPIENT_NOT_FOUND | CRYPT_E_ISSUER_SERIALNUMBER |
CRYPT_E_CONTROL_TYPE
The caller passed an unsupported or inappropriate control type to a cryptographic-message operation.
What to check for CRYPT_E_CONTROL_TYPE
- Log the selected CryptMsgControl command and the current message type.
- Confirm that the control is valid for the message state and that its control-parameter structure matches the command.
- Use the documented control only for the CMS message form it supports.
Microsoft: CryptMsgOpenToDecode
Diagnostic discriminator: Check the control type supplied to the message operation against the message state and API contract. This result means that control type is unsupported or inappropriate in this context.
Looking for a different code? Search another status or error code.