typedef PENCLAVE_ROUTINE = ffi.Pointer<ffi.NativeFunction<LPVOID Function(LPVOID lpThreadParameter)>>;