I'm trying to use ```platform.windows.LPWSTR? /* =...
# kotlin-native
e
I'm trying to use
Copy code
platform.windows.LPWSTR? /* = kotlinx.cinterop.CPointer<platform.windows.WCHARVar /* = kotlinx.cinterop.UShortVarOf<kotlin.UShort> */>
for creating a https://docs.microsoft.com/en-us/windows/win32/api/winsvc/ns-winsvc-service_table_entrya struct. I'm stuck on the
lpServiceName
member, no idea how to obtain a value for it. Edit: maybe I got it.
Copy code
lpServiceName = "MyString".wcstr.ptr