Simulating not specifying a dispatch routine

I have a dispatch routine that I want to simply return because it isn’t handled. I want to “NOT” handle it in order to get the same effect as I would if I simply hadn’t specified it in pDriverObject->MajorFunction[IRP_MJ_XXX] = DispatchXxx;

Should I just complete with IoStatus = STATUS_INVALID_DEVICE_REQUEST, and return STATUS_INVALID_DEVICE_REQUEST?

The reason I am doing this is because I have to handle multiple devices but they don’t all need the same dispatch routines.
Thanks, Chris