共用方式為


ScBinFromHexBounded

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Converts the specified portion of a string representation of a hexadecimal number into a binary number.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers

SCODE ScBinFromHexBounded(
  LPSTR sz,
  LPBYTE pb,
  ULONG cb
);

Parameters

  • sz
    [in] Pointer to the null-terminated string to be converted. Valid characters include the hexadecimal characters 0 through 9 and both uppercase and lowercase characters a through f.

  • pb
    [out] Pointer to the returned binary number.

  • cb
    [in] Size, in bytes, of the pb parameter.

Return Value

  • S_OK
    Conversion was successful.

  • MAPI_E_CALL_FAILED
    Invalid characters were encountered.

See Also

Reference

FBinFromHex