windowskernelprogrammingbook2e icon indicating copy to clipboard operation
windowskernelprogrammingbook2e copied to clipboard

Samples for the book Windows Kernel Programming, 2nd edition

Results 13 windowskernelprogrammingbook2e issues
Sort by recently updated
recently updated
newest added

In [Chapter 12's sln file](https://github.com/zodiacon/windowskernelprogrammingbook2e/blob/master/Chapter12/Chapter12.sln#L30C67-L30C94) there is a reference to a BackupMon project, however that is not part of what is checked in. It looks like it got added as...

I think they were supposed to be bullets, there was some issue with the markdown formatting: ![image](https://github.com/zodiacon/windowskernelprogrammingbook2e/assets/261265/6c0f7d9c-35af-49ac-a012-ee742e39f209)

On page 70 and 71: ![image](https://user-images.githubusercontent.com/261265/235611062-0a8f9713-dbea-492e-af52-806d526995f4.png) Though in the code sample, you are using `sizeof(ThreadData)`: https://github.com/zodiacon/windowskernelprogrammingbook2e/blob/e23f9bb39c7dd6df8a408a6ace46e627211dcf5b/Chapter04/Booster/Booster.cpp#L91 As much as both are `8`, it could be misleading since the pointer size...

Missing: `typedef struct _FLT_IO_PARAMETER_BLOCK {` ![image](https://github.com/zodiacon/windowskernelprogrammingbook2e/assets/261265/74c61624-b1d2-48ce-802f-14ea237cb8ec)

![image](https://github.com/zodiacon/windowskernelprogrammingbook2e/assets/261265/9f4376b4-0656-4dfd-98e1-27be1322c726)

Pavel, I am reaching out to you because I am getting an error with the following code: Main.cpp #include "pch.h" #include "DriverMain.h" #include "MiniFilter.h" NTSTATUS OnCreateClose(PDEVICE_OBJECT, PIRP Irp); void UnloadFunc(PDRIVER_OBJECT...

I think this should just be "and desktop"? ![image](https://github.com/zodiacon/windowskernelprogrammingbook2e/assets/261265/7f48f1f0-a449-47e3-82d2-6df41877bc80)

![image](https://github.com/zodiacon/windowskernelprogrammingbook2e/assets/261265/821533e6-fc74-4ba4-8a9a-57cdbae1d515)

![image](https://user-images.githubusercontent.com/261265/234240077-f1faf903-f627-4b88-abe5-6c156ef7c07f.png) 1) `UNREFERENCED_PARAMETER` not needed since `DriverObject` is referenced? 2) Did we need to cast `RegistryPath` since it was already PUNICODE_STRING from the `DriverEntry` function definition? 3) Lastly I get...

Error MSB8040: Spectre-mitigated libraries are required for this project. I think I know what to do but haven't resolved it yet. Sharing in case I don't resolve and if I...