function

winapi.L

Signature

function winapi.L(
  str: string
) -> userdata

Returns a memory address representing the given UTF-8 Lua string as a 16-bit Unicode string.

This is the inverse of the wstrtoastr function.