André Hentschel nerv@dawncrow.de writes:
@@ -670,7 +670,7 @@ static const DWORD table_c0000001[411] = 0, /* c0000116 (STATUS_ABIOS_INVALID_SELECTOR) */ ERROR_INVALID_THREAD_ID, /* c0000117 (STATUS_NO_LDT) */ 0, /* c0000118 (STATUS_INVALID_LDT_SIZE) */
- 0, /* c0000119 (STATUS_INVALID_LDT_OFFSET) */
- ERROR_INVALID_LDT_OFFSET, /* c0000119 (STATUS_INVALID_LDT_OFFSET) */ 0, /* c000011a (STATUS_INVALID_LDT_DESCRIPTOR) */ ERROR_BAD_EXE_FORMAT, /* c000011b (STATUS_INVALID_IMAGE_NE_FORMAT) */ ERROR_RXACT_INVALID_STATE, /* c000011c (STATUS_RXACT_INVALID_STATE) */
You should add the other LDT ones while you are at it.