This enum is used with the dllimport and structlayout attributes.
public enum CharSet { None = 1; // User didn't specify how to marshal strings. Ansi = 2; // Strings should be marshaled as ANSI 1 byte chars. Unicode = 3;// Strings should be marshaled as Unicode 2 byte chars. Auto = 4; // Marshal Strings in the right way for the target system. }