Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
BCryptRemoveContextFunction function (bcrypt.h)
[BCryptRemoveContextFunction is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
The BCryptRemoveContextFunction function removes a cryptographic function from the list of functions that are supported by an existing CNG context.
Syntax
NTSTATUS BCryptRemoveContextFunction(
[in] ULONG dwTable,
[in] LPCWSTR pszContext,
[in] ULONG dwInterface,
[in] LPCWSTR pszFunction
);
Parameters
[in] dwTable
Identifies the configuration table that the context exists in. This can be one of the following values.
| Value | Meaning |
|---|---|
|
The context exists in the local-machine configuration table. |
|
This value is not available for use. |
[in] pszContext
A pointer to a null-terminated Unicode string that contains the identifier of the context to remove the function from.
[in] dwInterface
Identifies the cryptographic interface to remove the function from. This can be one of the following values.
| Value | Meaning |
|---|---|
|
Remove the function from the list of asymmetric encryption functions. |
|
Remove the function from the list of cipher functions. |
|
Remove the function from the list of hash functions. |
|
Remove the function from the list of random number generator functions. |
|
Remove the function from the list of secret agreement functions. |
|
Remove the function from the list of signature functions. |
|
Remove the function from the list of key storage functions. |
|
Remove the function from the list of Schannel functions. |
|
Remove the function from the list of signature suites that Schannel accepts for TLS 1.2.
Windows Vista and Windows Server 2008: This value is not supported. |
[in] pszFunction
A pointer to a null-terminated Unicode string that contains the identifier of the cryptographic function to remove.
Return value
Returns a status code that indicates the success or failure of the function.
Possible return codes include, but are not limited to, the following.
| Return code | Description |
|---|---|
|
The function was successful. |
|
One or more parameters are not valid. |
|
The specified context or function could not be found. |
Remarks
BCryptRemoveContextFunction can be called only in user mode.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | bcrypt.h |
| Library | Bcrypt.lib |
| DLL | Bcrypt.dll |
See also
Feedback
Was this page helpful?
