_getmbcp

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Retrieves the current code page.

int _getmbcp( void );  

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

RoutineRequired header
_getmbcp<mbctype.h>

For more compatibility information, see Compatibility in the Introduction.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

_setmbcp

Show: