Obtaining method and system for virtual input equipment on driver layer

The invention discloses an obtaining method and system for virtual input equipment on a driver layer. The method includes the steps that a system application programming interface is called to create the virtual input equipment, and the virtual input equipment is mounted on the driver layer; the function address of system input equipment is recorded into an equipment expanding structural body of the virtual input equipment so that the driver layer can automatically obtain the function address of the system input equipment; an input data structural body sent to the virtual input equipment by an application layer is obtained; the driver layer uses the obtained input data structural body for controlling the behavior of the virtual input equipment according to the equipment expanding structural body recorded in the virtual input equipment. Through the obtaining method and system, the effect that the virtual input equipment is controlled under the condition that software shields messages of the virtual input equipment is achieved.