Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Twapi CryptProtectData

Status
Not open for further replies.

vinniyo

Programmer
Mar 3, 2014
1
Hello! I'm trying to make a raw twapi::CryptProtectData. I've read the documentation several times but I fail to understand what Context and Handlers are. I'm looking to make a call like the following:
CryptProtectData ( 0x0810efbc, "", NULL, NULL, NULL, 0, 0x0810efb4 )

I understand that all I need are 2 blocks of memory for DataIN and DataOUT. Most of the documentation has quite a bit of server/client cert stuff.

Thank you for any help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top