共用方式為


_getmbcp

int_getmbcp(void);

Routine Required Header Compatibility
_getmbcp <mbctype.h> Win 95, Win NT

For additional compatibility information, see Compatibility in the Introduction.

Libraries

LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

Return Value

_getmbcp returns the current multibyte code page. A return value of 0 indicates that a single byte code page is in use.

See Also   _setmbcp