The IDriverEntry interface exposes the user-mode driver's main entry and exit points.
The IDriverEntry interface inherits from the IUnknown interface. IDriverEntry also has these types of members:
The IDriverEntry interface has these methods.
The OnDeinitialize method performs any operations that are necessary before a system unloads a driver.
The OnDeviceAdd method adds a new device to a system.
The OnInitialize method performs any operations that are necessary to initialize a driver.