MACRO
OMNI_WSTR - Widens an input string (defined as L##v)
SYNOPSIS top
Not to be confused with
Not to be confused with
OMNI_STRW, this macro always expands the value passed to the macro so that it prefix a capital L (ell) to the macro parameter.
DESCRIPTION top
OMNI_STRW and OMNI_STR_WIDEN will differ based on compilation flags. If OMNI_UNICODE is defined then those macros will expand to prefix a capital L to the input while if OMNI_UNICODE is not defined, it simply expands the value to itself (e.g. OMNI_STRW("hello") will expand to L"hello" if OMNI_UNICODE is defined and just "hello" if it is not).OMNI_WSTR will ALWAYS prefix the capital L to whatever is passed in regardless of the OMNI_UNICODE flag.