IEnroll4::binaryBlobToString method

[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.

Syntax

HRESULT binaryBlobToString(
  LONG             Flags,
  PCRYPT_DATA_BLOB pblobBinary,
  LPWSTR           *ppwszString
);

Parameters

Flags

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

pblobBinary

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

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.

Requirements

   
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

IEnroll4