windows-nt/Source/XPSP1/NT/admin/wmi/wbem/common/idl/encrypt.idl
2020-09-26 16:20:57 +08:00

32 lines
601 B
Plaintext

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
);
};