Roman
03/01/2019, 8:03 AMSystemTimeToFileTime
return 0, I messed up with types?
For the structure, should I do alloc
or` allocArray`?
val systemTime = alloc<_SYSTEMTIME>()
systemTime.wDay=1u
systemTime.wHour=11u
systemTime.wMinute=11u
systemTime.wSecond=11u
systemTime.wMonth=11u
systemTime.wYear=11u
val fileTime = alloc<_FILETIME>()
println(SystemTimeToFileTime(systemTime.ptr, fileTime.ptr))
svyatoslav.scherbina
03/01/2019, 8:28 AMRoman
03/03/2019, 8:36 PMsvyatoslav.scherbina
03/04/2019, 7:16 AMSystemTimeToFileTime
. Reading the documentation might have helped to find this out.
And this issue has nothing to do with Kotlin/Native.