If you make a DDK Wizard...

Hi

If you make a DDK Wizard, how will you organize the files for you template project?

This is my design:

//Header Files:

  • Stddcls.h

  • Version.h

  • Guids.h
    For device interface

  • Driver.h
    All structures(like extensions), global functions, I/O request handlers

-IoCtls.h
for CTL_CODEs

//Source Files

  • DriverEntry.cpp
    DriverEntry, AddDevice, Unload…

-Dispatch.cpp
Create, Read, Write, Close…

-Controls.cpp
IOCTL

-Pnp.cpp
IRP_MJ_PNP, startdevice, stopdevice…

-Power.cpp
Power Handlers

-Wmi.cpp

I am looking for your suggestions…