IDriverEntry interface

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The IDriverEntry interface exposes the user-mode driver's main entry and exit points.

Members

The IDriverEntry interface inherits from the IUnknown interface. IDriverEntry also has these types of members:

Methods

The IDriverEntry interface has these methods.

MethodDescription
IDriverEntry::OnDeinitialize

The OnDeinitialize method performs any operations that are necessary before a system unloads a driver.

IDriverEntry::OnDeviceAdd

The OnDeviceAdd method adds a new device to a system.

IDriverEntry::OnInitialize

The OnInitialize method performs any operations that are necessary to initialize a driver.

 

Requirements

Header

Wudfddi.h

 

 

Send comments about this topic to Microsoft

Show: