private static int modopt(CallConvStdcall) *(void**, void*) SetThreadToken = 0;
private static int modopt(CallConvStdcall) *(void*, uint modopt(IsLong), int, void**) OpenThreadToken = 0;