Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6ERR P6CCALL P6R::p6AllocComStringLen ( P6WCHAR *  pszSource,
P6SIZE  nSize,
P6COMSTR *  ppNewString 
)

Allocates a new COM String of the sepcified size and optionally containing a copy of pszSource.

Parameters
pszSource[ in ] A pointer to the characters to copy into the newly allocated string or NULL to leave the string uninitialized.
nSize[ in ] The number of characters to copy from pszSource. A NULL terminator is appended making the total size nSize + 1 characters long.
ppNewString
Returns