<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Miscellaneous Functions > WLBufferDecrypt |
The WLBufferDecrypt function decrypts a buffer with a given password.
void WLBufferDecrypt( void* pBuffer, int BufferLength, char* pPassword ); |
procedure WLBufferDecrypt( pBuffer:Pointer; BufferLength:Integer; pPassword:PAnsiChar ); stdcall; |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern void WLBufferDecrypt(IntPtr Buffer, int BufferSize, string password);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Sub WLBufferDecrypt(Buffer As IntPtr, BufferSize As Integer, Password As String) End Sub |
Parameters
pBuffer
[in] Pointer to a buffer to decrypt.
BufferLength
[in] Size of buffer to decrypt.
pPassword
[in] Pointer to a null terminated string with the decryption password.
Return Values
This function has no return values.
See Also