Edoardo Luppi
07/26/2022, 9:27 AMplatform.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.
lpServiceName = "MyString".wcstr.ptr