Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than advapi32, prefix the name with the module name and a period.
Declare Function CryptEncrypt Lib "advapi32.dll" (ByVal hkey As IntPtr, _
ByVal hHash As IntPtr, <MarshalAs(UnmanagedType.Bool)> ByVal final As Boolean, ByVal flags As Integer, _
ByVal data As Byte(), ByRef dataLen As Integer, ByVal bufferlen As Integer) _
As <MarshalAs(UnmanagedType.Bool)> Boolean
Declare Function CryptEncrypt Lib "advapi32.dll" (TODO) As TODO
Encrypts the data in pbData using the encryption key pointed to by hKey which contains the encryption algorithm that is used.
4/10/2007 8:13:06 AM - Hannibal-74.92.133.141
Generates a random cryptographic key and returns a handle to that key by the reference parameter phKey.
5/8/2012 2:50:40 AM - bhmahler-71.255.114.26
TODO - a short description
10/31/2013 12:53:51 AM - -130.214.17.32
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).