| description |
Learn more about: _getmbcp |
| title |
_getmbcp |
| ms.date |
4/2/2020 |
| api_name |
|
| api_location |
msvcrt.dll |
msvcr80.dll |
msvcr90.dll |
msvcr100.dll |
msvcr100_clr0400.dll |
msvcr110.dll |
msvcr110_clr0400.dll |
msvcr120.dll |
msvcr120_clr0400.dll |
ucrtbase.dll |
api-ms-win-crt-locale-l1-1-0.dll |
|
| api_type |
|
| topic_type |
|
| f1_keywords |
|
| helpviewer_keywords |
code pages, determining current |
_getmbcp function |
getmbcp function |
|
| ms.assetid |
2db202d4-5c3d-4871-a0b8-ceb0b79ee7bb |
Retrieves the current code page.
Returns the current multibyte code page. A return value of 0 indicates that a single byte code page is in use.
Remarks
By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.
| Routine |
Required header |
_getmbcp |
<mbctype.h> |
For more compatibility information, see Compatibility.
_setmbcp