This documentation is archived and is not being maintained.


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.

Routine Required header Compatibility



Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

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.