JCL Help:StrPCopyW

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Copies a Pascal style string to a null terminated wide string.


Pascal

 function StrPCopyW(Dest: PWideChar; const Source: AnsiString): PWideChar;


Parameters

Parameters Description
Dest: PWideChar Pointer to a buffer which receives a copy of the source string.
const Source: AnsiString Source string to copy into Dest.


Return Value

Pointer to the destination string.


Description

StrPCopyW copies a Pascal style string to a null terminated wide string. The Dest buffer must have enough room to hold at least Length(Source) + 1 wide characters.


See Also

StrPLCopyW


About

Unit

JclWideStrings


Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page