OLESTR

OLESTR macro

Transforms string literals into Unicode strings.

Syntax


LPWSTR OLESTR(
   LPSTR str
);

Parameters

str

A string literal.

Return value

A Unicode string.

Remarks

This macro is defined as follows:

#define OLESTR(str) L##str

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

WTypes.h

See also

Error Handling

 

 

Community Additions

ADD
Show:
© 2016 Microsoft