windows-nt/Source/XPSP1/NT/admin/wmi/wbem/common/idl/encrypt.idl

32 lines
601 B
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
interface IWbemEncryptionHelp
{
HRESULT QueryAlgorithm(
[out] LPWSTR *pAlgorithmName,
[out] DWORD *pdwFlags
);
HRESULT IssueNewKey(
[in] DWORD dwBitStrength,
[out] DWORD *
[out] LPBYTE *p
);
HRESULT Encrypt(
[in] DWORD dwInTextSize,
[in] LPBYTE pInText,
[out] DWORD *pdwOutTextSize,
[out] LPBYTE *pOutText
);
HRESULT Decrypt(
[in] DWORD dwInTextSize,
[in] LPBYTE pInText,
[out] DWORD *pdwOutTextSize,
[out] LPBYTE *pOutText
);
};