Lisp_Object Qw32_charset_unicode;
#endif
+/* The ANSI codepage. */
+Lisp_Object Vw32_ansi_code_page;
+
/* Prefix for system colors. */
#define SYSTEM_COLOR_PREFIX "System"
#define SYSTEM_COLOR_PREFIX_LEN (sizeof (SYSTEM_COLOR_PREFIX) - 1)
/* ditto for GetClipboardSequenceNumber. */
clipboard_sequence_fn = (ClipboardSequence_Proc)
GetProcAddress (user32_lib, "GetClipboardSequenceNumber");
+
+ DEFVAR_INT ("w32-ansi-code-page",
+ &Vw32_ansi_code_page,
+ doc: /* The ANSI code page used by the system. */);
+ XSETINT (Vw32_ansi_code_page, GetACP ());
}
#undef abort