[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]
The binaryBlobToString method converts a binary data BLOB to a string. This method uses the CryptBinaryToString function to perform the conversion. This method was first defined in the IEnroll4 interface.
HRESULT binaryBlobToString( LONG Flags, PCRYPT_DATA_BLOB pblobBinary, LPWSTR *ppwszString );
A pointer to a CRYPT_DATA_BLOB that represents the binary BLOB to convert to a string.
A pointer to a LPWSTR that receives the encoded data.
If the method succeeds, the method returns S_OK.
If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|