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.

15 lines
434 B

  1. #pragma once
  2. #include <TChar.h>
  3. #include <Windows.h>
  4. #include <WinCrypt.h>
  5. #include <ComDef.h>
  6. HCRYPTPROV __stdcall AdmtAcquireContext();
  7. void __stdcall AdmtReleaseContext(HCRYPTPROV hProvider);
  8. HCRYPTKEY __stdcall AdmtImportSessionKey(HCRYPTPROV hProvider, const _variant_t& vntEncryptedSessionBytes);
  9. _bstr_t __stdcall AdmtDecrypt(HCRYPTKEY hKey, const _variant_t& vntEncrypted);
  10. void __stdcall AdmtDestroyKey(HCRYPTKEY hKey);