Windows Driver Kit: Kernel-Mode Driver Architecture
Calling Convention Process for x64 64-Bit
The following topics describe the process that one function (caller) performs to call into another function (callee). For prototyped functions, all arguments are converted to the expected callee types before passing.