Suppose I need to use a string in a an apish function that accepts one of the parameters (and more) of a variable of type
LPWSTR/LPCWSTR/LPCSTR . These are all aliases of the same type. Here is what I do in this case:
As you can see, the last parameter is passed "in pure form" without using variables. I use the predicate "L". Is it possible to somehow do without the predicate by making any preliminary transformations?