Exemplo n.º 1
0
 public static extern int MultiByteToWideChar(
     uint CodePage, USE_CP dwFlags, [In] [MarshalAs(UnmanagedType.LPStr)] string lpMultiByteStr, int cbMultiByte,
     [Out] [MarshalAs(UnmanagedType.LPWStr)] StringBuilder lpWideCharStr, int cchWideChar);
Exemplo n.º 2
0
 public static extern bool GetCPInfoEx(uint CodePage, USE_CP dwFlags, [Out] out CPINFOEX lpCPInfoEx);
Exemplo n.º 3
0
 public static extern int WideCharToMultiByte(
     uint CodePage, USE_CP dwFlags, [In] [MarshalAs(UnmanagedType.LPWStr)] string lpWideCharStr, int cchWideChar, IntPtr lpMultiByteStr, int cbMultiByte,
     [In] [MarshalAs(UnmanagedType.LPStr)] string lpDefaultChar, IntPtr lpUsedDefaultChar);