It took me a few months to find and understand everything I needed to get this far so don't feel too bad about that.
A lot of the code is from the Windows 2000 Driver Development Kit sample drivers, the AC97 and Sound Blaster 16 WDM audio examples. So the first thing you will need to do is find that and install it in a Windows 98se VM. (Yes that is the official Microsoft solution, the WDM audio examples were removed from the 98 DDK because they are very buggy on 98 First Edition and I didn't want to write a VxD for a couple of reasons.) The samples are in C:\NTDDK\src\wdm\audio after you install the DDK. There are readme.htm files in each folder of sample code and a lot of documentation is installed as well, see the Driver Writer's Guide d_dwguid.chm and the Kernel Streaming guide d_kernel.chm in the C:\ntddk\help folder. Most of the code I have added and edited is in the common.cpp file.
I am also using some init code and the codec node parser adapted from a hobbyist OS "BleskOS" which you can find information about on osdev.org wiki and forums. Besides that, you will need to read the Intel HD Audio Specification a lot to understand what is going on.
Maybe I can walk whoever is interested through the process of getting a dev environment set up over Discord or something.