Platform SDK: TAPI

ITConnection::SetEncryptionKey

Sets the encryption key needed to decrypt the session or an indication to a mechanism to obtain a usable key by external means.

HRESULT SetEncryptionKey(
 BSTR pKeyType,
 BSTR *ppKeyData
);

Parameters

pKeyType
[in] Pointer to a BSTR containing the encryption key type.
ppKeyData
[in] Pointer to a BSTR containing encryption key information.

Return Values

Value Meaning
S_OK Method succeeded.

Remarks

The application must use SysAllocString to allocate memory for the pKeyType and ppKeyData parameters. The application must use SysFreeString to free the memory when the variables are no longer needed.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Sdpblb.h.
  Library: Use Sdpblbid.lib.

See Also

ITConnection