src: dotnet: check dll version during assembly load

This commit is contained in:
Bill Zissimopoulos
2017-04-12 15:37:19 -07:00
parent 5d8384a508
commit 197ce7c30a
2 changed files with 15 additions and 0 deletions

View File

@ -175,6 +175,8 @@ FSP_API NTSTATUS FspVersion(PUINT32 PVersion)
* Two threads competing to read the version will read
* the same value from the Version resource.
*/
*PVersion = 0;
extern HINSTANCE DllInstance;
WCHAR ModuleFileName[MAX_PATH];
PVOID VersionInfo;