SysReAllocStringLen
pbstr, pch, cch)BSTR FAR* pbstr
OLECHAR FAR* pch
unsigned int cch Creates a new BSTR containing a specified number of characters from an old BSTR and frees the old BSTR. Parameter pbstr Pointer to a variable containing a BSTR. pch Pointer to cch characters to copy, or NULL to keep the string uninitialized. cch Number of characters to copy from pch*. A null character is placed afterwards, making a total of cch+1 characters allocated. Return Value Returns True if the string is successfully reallocated, or False if insufficient memory exists. Comments Allocates a new string, copies cch characters from the passed string into it, and then appends a null character. Frees the BSTR currently referenced by pbstr and resets pbstr to point to the new BSTR. If pch is NULL, a string of length cch is allocated, but not initialized. The string pch can contain embedded null characters and need not end with a null.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers - More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples - Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database