Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been debugging this for a while now. I cannot seem to make it work. out value of ref hContext should be -855572480. But every time I run my program the value is always 0.

How do I established resource manager context? As said here in this link for phContext. SCardEstablishContext (Windows CE 5.0)[^]
C#
//Establish Context
retCode = ModWinsCard.SCardEstablishContext(ModWinsCard.SCARD_SCOPE_USER, 0, 0, ref hContext);

if (retCode != ModWinsCard.SCARD_S_SUCCESS)
{
  return;
}

Thank you for the help.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900