I'm doing research on creating a user mode virtual hid device. I went through windows-drivers-rs repo but did not understand in detail. Can anyone help me in understanding how to create usermode virtual hid device? or does rust support to meet this requirement?
Rust can do everything that C (which most windows APIs are written in) can do. So this is not a question of language capabilities, that's a moot point – this is a matter of stitching together the appropriate windows APIs.
No, I don't think you'll find the documentation of that particularly helpful. You should probably consult a general Windows programming documentation/guides (hopefully, there are relevant details somewhere in Microsoft's official docs) before using winapi.
Also you may want to prefer the windows or windows-sys crates over winapi. They have a much bigger api coverage and unlike winapi they are still maintained (by microsoft themself in fact).