OLESTR macro (wtypesbase.h)

Transforms string literals into Unicode strings.

Syntax

void OLESTR(
   str
);

Parameters

str

A string literal.

Return value

None

Remarks

This macro is defined as follows:

#define OLESTR(str) L##str

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wtypesbase.h (include WTypes.h)

See also

Error Handling