次の方法で共有


FBinFromHex

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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(
  LPTSTR sz,
  LPBYTE pb
);

Parameters

  • sz
    [in] Pointer to the null-terminated string to be converted. 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.

Return Value

  • TRUE
    The string was successfully converted into a binary number.

  • FALSE
    The input string contains invalid ASCII hexadecimal characters.

See Also

Reference

ScBinFromHexBounded