Expand Minimize

FBinFromHex

Last modified: April 05, 2010

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Converts a string representation of a hexadecimal number to binary data.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers

BOOL FBinFromHex(
  LPSTR sz,
  LPBYTE pb
);

sz

[in] Pointer to the null-terminated ASCII string to be converted. It is not a Unicode string. Valid characters include the hexadecimal characters zero through nine and both uppercase and lowercase characters A through F.

pb

[out] Pointer to the returned binary number.

TRUE

The string was successfully converted into a binary number.

FALSE

The input string contains invalid ASCII hexadecimal characters.

Show:
© 2015 Microsoft