Fixed callback calling convention for 32-bit Windows.