String Definitions

Strings can be declared using the LPSTR data type, which indicates a zero-terminated string, and with the BSTR data type, which indicates a length-prefixed string (as defined in Dispatch Interface and API Functions). In 32-bit type libraries, Unicode strings can be defined with the LPWSTR data type.