C language function:CryptEncrypt sample codes

Search sample code in the internet.It is the result.


TITLE : AES Encrypt/Decrypt of A File in WXP or Higher - Page 2 - Scripts and Functions - AutoHotkey Community
BOOL WINAPI CryptEncrypt( __in HCRYPTKEY hKey, __in HCRYPTHASH hHash, __in BOOL Final, __in DWORD dwFlags, __inout BYTE *pbData, __inout DWORD *pdwDataLen, __in DWORD dwBufLen);.......
http://autohotkey.com/board/topic/21913-aes-encryptdecrypt-of-a-file-in-wxp-or-higher/page-2


TITLE : encryption - Why, or when, to use an Initialization Vector? - Cryptography Stack Exchange
encryptedLength = CryptEncrypt(hKey, null, true, 0, plaintextData, plainLength);.......
http://crypto.stackexchange.com/questions/5185/why-or-when-to-use-an-initialization-vector
search Google

https://www.google.com/#q=CryptEncrypt