問題如下:
error LNK2019: unresolved external symbol _DriverEntry@8 referenced in function _GsDriverEntry@8
解法如下:
extern "C" NTSTATUS DriverEntry(PDRIVER_OBJECT pMyDriver, PUNICODE_STRING pMyRegistry)