IEnroll4::binaryBlobToString method (xenroll.h)

[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(
  [in]  LONG             Flags,
  [in]  PCRYPT_DATA_BLOB pblobBinary,
  [out] LPWSTR           *ppwszString


[in] Flags

Value passed to the dwFlags parameter of the CryptBinaryToString function. For a description of possible values, see CryptBinaryToString.

[in] pblobBinary

A pointer to a CRYPT_DATA_BLOB that represents the binary BLOB to convert to a string.

[out] ppwszString

A pointer to a LPWSTR that receives the encoded data.

Return value

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]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll

See also