update readme

This commit is contained in:
Akash Mozumdar 2018-05-26 06:48:14 -04:00
parent 0fb2c3a9c1
commit f8cb81ec59
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# ITHVNR # NextHooker
@ -12,7 +12,7 @@ Basically, GUI text hooker based on [Stomp](http://www.hongfire.com/forum/showth
See my [Example Extension project](https://github.com/Artikash/ExampleExtension) to see how to build an extension. See my [Example Extension project](https://github.com/Artikash/ExampleExtension) to see how to build an extension.
To use an extension, simply rename the extension dll file to ```{NUMBER}_nextvnr_extension.dll``` and copy into the NextVNR folder. To use an extension, simply rename the extension dll file to ```{NUMBER}_nexthooker_extension.dll``` and copy into the NextVNR folder.
Extensions are called in order by the number they are prefixed with. Extensions are called in order by the number they are prefixed with.

View File

@ -21,7 +21,7 @@ void LoadExtensions()
} }
else else
{ {
if (wcsstr(fileData.cFileName, L"_nextvnr_extension.dll")) if (wcsstr(fileData.cFileName, L"_nexthooker_extension.dll"))
{ {
extensionFunctions[wcstoul(fileData.cFileName, nullptr, 10)] = (ExtensionFunction)GetProcAddress(LoadLibraryW(fileData.cFileName), "OnSentence"); extensionFunctions[wcstoul(fileData.cFileName, nullptr, 10)] = (ExtensionFunction)GetProcAddress(LoadLibraryW(fileData.cFileName), "OnSentence");
} }