IEnroll4::stringToBinaryBlob method (xenroll.h)

[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]

The stringToBinaryBlob method converts an encoded string to a binary data BLOB.

The stringToBinaryBlob method calls the CryptStringToBinary function. This method was first defined in the IEnroll4 interface.

Syntax

HRESULT stringToBinaryBlob(
  [in]  LONG             Flags,
  [in]  LPCWSTR          pwszString,
  [out] PCRYPT_DATA_BLOB pblobBinary,
  [out] LONG             *pdwSkip,
  [out] LONG             *pdwFlags
);

Parameters

[in] Flags

Value passed to the dwFlags parameter of the CryptStringToBinary function. For valid values, see CryptStringToBinary .

[in] pwszString

Encoded string to be converted to a binary data BLOB.

[out] pblobBinary

A pointer to a CRYPT_DATA_BLOB structure that receives the binary data.

[out] pdwSkip

A pointer to LONG that receives the number of characters in any skipped strings up to the beginning of actual base64 or hexadecimal strings.

[out] pdwFlags

A pointer to LONG that receives the actual format used in the conversion

Return value

None

Requirements

Requirement Value
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