diff options
author | midipix <writeonce@midipix.org> | 2016-06-30 16:02:01 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-30 16:02:01 -0400 |
commit | 208f4349371bcaa8f3ec47374ccaba11744266df (patch) | |
tree | 6e1934559e7bd74fe73b4c77603632ffc1ac699f | |
parent | e9b18baaf93b3e8f11538614f0cb67d4ece4b23d (diff) | |
download | ntapi-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.c | 2 |
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; }; |