TransformBlock
Transforms a block of data based on a symmetric cryptography algorithm.
HRESULT
__stdcall TransformBlock(
__in PINFORMATIONCARD_CRYPTO_HANDLE hCrypto,
__in DWORD cbInData,
__in_bcount( cbInData ) PBYTE pInData,
__out DWORD* pcbOutData,
__out_bcount( *pcbOutData ) PBYTE* ppOutData );
Parameters
Parameter | Description |
---|---|
hCrypto |
Handle to the cryptography object returned from a call to GetCryptoTransform. |
cbInData |
The length, in bytes, of the input buffer. |
pInData |
The data to be transformed. |
pcbOutData |
The length of the transformed data. |
ppOutData |
Pointer to the buffer that contains the transformed data. Free the memory associated with this pointer using the GlobalFree function. |
Property Value/Return Value
HRESULT: If any of the parameters are NULL or contain 0, E_INVALIDARG is returned.
Requirements
Windows Vista
Header: Declared in infocard.h.
Library: Use infocardapi.lib.
See Also
Reference
Concepts
Copyright © 2007 by Microsoft Corporation. All rights reserved.