From 208f4349371bcaa8f3ec47374ccaba11744266df Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 30 Jun 2016 16:02:01 -0400 Subject: __ntapi_init_completed: as in __ntapi_init_once, return address of shadow vtbl. --- src/internal/ntapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal') diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c index 390931f..70a9de5 100644 --- a/src/internal/ntapi.c +++ b/src/internal/ntapi.c @@ -416,7 +416,7 @@ static int32_t __fastcall __ntapi_init_pending(ntapi_vtbl ** pvtbl) static int32_t __fastcall __ntapi_init_completed(ntapi_vtbl ** pvtbl) { - *pvtbl = __ntapi; + *pvtbl = &___ntapi_shadow; return NT_STATUS_SUCCESS; }; -- cgit v1.2.3