Skip to content

TMarshal.AllocStringAsAnsi

Declaration

Source position: objpash.inc line 835

public 
class function AllocStringAsAnsi(const Str: UnicodeString) : TPtrWrapper
                                ;  static;

class function AllocStringAsAnsi(const Str: UnicodeString; 
                                CodePage: Word) : TPtrWrapper;  static;

class function AllocStringAsAnsi(S: PUnicodeChar) : TPtrWrapper;  static;

class function AllocStringAsAnsi(S: PUnicodeChar; CodePage: Word)
                                 : TPtrWrapper;  static;

class function AllocStringAsAnsi(S: PUnicodeChar; Len: SizeInt; 
                                CodePage: Word) : TPtrWrapper;  static;