mirror of https://github.com/tongzx/nt5src
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
15 lines
434 B
#pragma once
|
|
|
|
#include <TChar.h>
|
|
#include <Windows.h>
|
|
#include <WinCrypt.h>
|
|
#include <ComDef.h>
|
|
|
|
|
|
HCRYPTPROV __stdcall AdmtAcquireContext();
|
|
void __stdcall AdmtReleaseContext(HCRYPTPROV hProvider);
|
|
|
|
HCRYPTKEY __stdcall AdmtImportSessionKey(HCRYPTPROV hProvider, const _variant_t& vntEncryptedSessionBytes);
|
|
|
|
_bstr_t __stdcall AdmtDecrypt(HCRYPTKEY hKey, const _variant_t& vntEncrypted);
|
|
void __stdcall AdmtDestroyKey(HCRYPTKEY hKey);
|