CtoBStr(31.0) ARP Programmers Manual CtoBStr(31.0) NAME CtoBStr - Copy a C null terminated string to a BSTR SYNOPSIS Count = CtoBStr("CString", BSTR, MaxLength) d0 A0 D0 D1 FUNCTION This function copies a null terminated string into a BCPL string. The BCPL string is passed as an unconverted icky pointer. INPUTS CString - pointer to the string to convert. BSTR - BPTR to the destination string. This must be MaxLength+1 Bytes in size. MaxLength - Number of characters available in BSTR (not including initial count byte.) RESULT Count - actual number of characters transferred. BUGS None known. AUTHOR CDH Page 1 (printed 2/22/88)