summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-30 16:02:01 -0400
committermidipix <writeonce@midipix.org>2016-06-30 16:02:01 -0400
commit208f4349371bcaa8f3ec47374ccaba11744266df (patch)
tree6e1934559e7bd74fe73b4c77603632ffc1ac699f
parente9b18baaf93b3e8f11538614f0cb67d4ece4b23d (diff)
downloadntapi-208f4349371bcaa8f3ec47374ccaba11744266df.tar.bz2
ntapi-208f4349371bcaa8f3ec47374ccaba11744266df.tar.xz
__ntapi_init_completed: as in __ntapi_init_once, return address of shadow vtbl.
-rw-r--r--src/internal/ntapi.c2
1 files changed, 1 insertions, 1 deletions
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;
};