Home > Back-end >  CryptAcquireContext () function returns a 288 error
CryptAcquireContext () function returns a 288 error

Time:10-17

The context is too long, don't put up,
The inside of the errors is the function of WinCrypt, for CSP handle,
if(! CryptAcquireContext (
& HCertCryptProv,
ContainerName,
ProvName,
ProvType,
0))
{
M_error=GetLastError ();
}
From the GetLastError () value is 288,
Checked, CryptAcquireContext () it doesn't seem to have the error 288 returns, the beginning is 0 x8000 error values,
Common mistakes and GetLastError (), 288, "said trying to release is not calling have more user terminal to run the program, look at and don't like this function,
In other places, there is no definition of 288 error values, and before this function, GetLastError () a value of 2;
Ever encountered this kind of situation?
  • Related