swapped unpacking order of to and from and caller parameters removed null terminator adding at end changed call from stdcall to cdecl