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);.......

TITLE : encryption - Why, or when, to use an Initialization Vector? - Cryptography Stack Exchange
encryptedLength = CryptEncrypt(hKey, null, true, 0, plaintextData, plainLength);.......
search Google