MimeOleSMimeCapsFull function
Do not use. Builds a list of encryption capabilities (if all encryption algorithms are to be supported) from the passed-in cookie, or defaults to 40-bit RC2. Similarly, if all signature algorithms are to be supported, builds a list of signing capabilities from the cookie, or defaults to SHA-1. The results are used to encode an Secure/Multipurpose Internet Mail Extensions (S/MIME) capabilities array object of the specified size.
Syntax
HRESULT MimeOleSMimeCapsFull(
_In_ LPVOID pv,
_In_ BOOL fFullEncryption,
_In_ BOOL fFullSigning,
_Inout_ LPBYTE pbSymCaps,
_Inout_ DWORD *pcbSymCaps
);
Parameters
-
pv [in]
-
Type: LPVOID
Specifies cookie containing capabilities.
-
fFullEncryption [in]
-
Type: BOOL
Specifies whether all encryption algorithms are to be supported.
-
fFullSigning [in]
-
Type: BOOL
Specifies whether all signature algorithms are to be supported.
-
pbSymCaps [in, out]
-
Type: LPBYTE
Specifies pointer to the S/MIME capabilities array.
-
pcbSymCaps [in, out]
-
Type: DWORD*
Returns array length.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates encryption capabilities list set. |
|
Indicates capabilities list not set. |
Remarks
This function call is memory-intensive, and the results are always the same during a session. (They can only change with software upgrade.) Cache the results for better performance.
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
Library |
|
DLL |
|