_mbbtombc
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_mbbtombc

Converts a single-byte multibyte character to a corresponding double-byte multibyte character.

unsigned int _mbbtombc(
   unsigned int c 
);

Parameter

c
Single-byte character to convert.

Return Value

If _mbbtombc successfully converts c, it returns a multibyte character; otherwise it returns c.

Remarks

The _mbbtombc function converts a given single-byte multibyte character to a corresponding double-byte multibyte character. Characters must be within the range 0x20 – 0x7E or 0xA1 – 0xDF to be converted.

In earlier versions, _mbbtombc was called hantozen. For new code, use _mbbtombc instead.

Requirements

Routine Required header Compatibility
_mbbtombc <mbstring.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.

Libraries

All versions of the C run-time libraries.

See Also

Data Conversion Routines | _mbctombb | Run-Time Routines and .NET Framework Equivalents

Show:
© 2016 Microsoft