Differences
This shows you the differences between two versions of the page.
| en:ibm:prcp:vio:getcp [2016/02/04 09:58] – created valerius | en:ibm:prcp:vio:getcp [2016/09/15 05:00] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== VioGetCp ==== | ==== VioGetCp ==== | ||
| - | **Bindings**: | + | **Bindings**: |
| This call allows a process to query the code page currently used to display text data. | This call allows a process to query the code page currently used to display text data. | ||
| Line 32: | Line 32: | ||
| If ERROR_VIO_USER_FONT is returned, it indicates a user font that was previously loaded with [[en: | If ERROR_VIO_USER_FONT is returned, it indicates a user font that was previously loaded with [[en: | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | #define INCL_VIO | ||
| + | |||
| + | USHORT | ||
| + | |||
| + | USHORT | ||
| + | PUSHORT | ||
| + | HVIO | ||
| + | |||
| + | USHORT | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | EXTRN VioGetCp: | ||
| + | INCL_VIO | ||
| + | |||
| + | PUSH | ||
| + | PUSH@ WORD CodePageID | ||
| + | PUSH | ||
| + | CALL | ||
| + | |||
| + | Returns WORD | ||
| + | </ | ||




