Partager via


2.2.50.2 Globalization

The OLE Automation Protocol interfaces MUST use the WideCharToMultiByte method (as specified in [MS-UCODEREF] section 2) to preprocess strings before they are compared or stored.

Automation string preprocessing MUST conform to the behavior of the WideCharToMultiByte method with the following parameter values:

  • CodePage: CP_ACP (zero – the current system Windows ANSI code page)

  • dwFlags: zero or NULL

  • lpDefaultChar: zero or NULL

  • lpUsedDefaultChar: zero or NULL