Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
601 B

  1. interface IWbemEncryptionHelp
  2. {
  3. HRESULT QueryAlgorithm(
  4. [out] LPWSTR *pAlgorithmName,
  5. [out] DWORD *pdwFlags
  6. );
  7. HRESULT IssueNewKey(
  8. [in] DWORD dwBitStrength,
  9. [out] DWORD *
  10. [out] LPBYTE *p
  11. );
  12. HRESULT Encrypt(
  13. [in] DWORD dwInTextSize,
  14. [in] LPBYTE pInText,
  15. [out] DWORD *pdwOutTextSize,
  16. [out] LPBYTE *pOutText
  17. );
  18. HRESULT Decrypt(
  19. [in] DWORD dwInTextSize,
  20. [in] LPBYTE pInText,
  21. [out] DWORD *pdwOutTextSize,
  22. [out] LPBYTE *pOutText
  23. );
  24. };